Repository navigation
First public release of SV Layer, six headless overlay primitives for Svelte 5.
- Tooltip and Hovercard for hints and interactive previews.
- Popover, Dropdown, and Context Menu for anchored panels and menus.
- Modal for dialogs with focus trapping, focus restoration, and stacking.
- Native browser top-layer support, optional CSS themes, TypeScript declarations, and editor documentation.
Quick start
npm install @sv-layer/tooltipThe six attachment packages require Svelte 5.29+ and a browser with the native Popover API. The shared @sv-layer/core package supports Svelte 5.0+ and is installed automatically.
Documentation and live demos · Installation · Packages on npm