/svelte-smooth-popover

A robust, unstyled popover component for Svelte with a customizable smooth/sharp caret

Primary LanguageSvelteMIT LicenseMIT

Version License

A robust, unstyled popover component for Svelte with a customizable smooth/sharp caret.

Docs/playground

https://svelte-smooth-popover.jrmy.dev

Installation

npm i svelte-smooth-popover

Usage

<script>
	import { Popover } from 'svelte-smooth-popover';
</script>

<button>
	Example
	<Popover>
		<div class="shadow-sm bg-white">Popover content</div>
	</Popover>
</button>