shipped a small but useful update to svelte-drawer!
v1.0.5 adds an autoHeight prop: drawer resizes to fit its content without any fixed heights. handy if youβre putting AI responses or multi-step forms inside a drawer.
svelte-drawer now works natively with AI coding tools
You can now install svelte-drawer as an agent skill. Claude Code, Cursor, Copilot, Windsurf, and 10+ other tools will know every drawer component, direction, snap point, and animation pattern without pasting docs into chat.
npx skills add AbhiVarde/svelte-drawer
The skill covers bottom, top, left, right drawers, snap points (0β1 fractions), portal rendering, nested drawers, persistent state with localStorage, auto-height mode, and Svelte 5 runes pattern.
If you already use svelte-drawer, this update makes it work much better with how most developers build today.
This is really great, I love this @abhivarde! I need to try Svelte more, I havenβt used it much.
Is the animation customizable? I wish it felt a bit smoother, like Vaul: