Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

Best drawer, carousel and gesture libraries

· updated

Written from the tastebase registry, so it changes when an entry does.

These are the drawer, carousel and gesture libraries we would reach for, in that order. Each one is in tastebase because it does one job well; the table says which job.

Vaul leads: unstyled drawer for React that replaces dialogs on mobile: drag to dismiss, snap points, scaled background. If it doesn't fit, Embla Carousel is the next pick: small, dependency-free carousel engine with great swipe physics; you bring all the markup and styles.

8 picks

  1. Vaul

    Unstyled drawer for React that replaces dialogs on mobile: drag to dismiss, snap points, scaled background.

  2. Embla Carousel

    Small, dependency-free carousel engine with great swipe physics; you bring all the markup and styles.

  3. Swiper

    Batteries-included touch slider with effects, virtual slides, thumbs and a11y modules.

  4. @use-gesture

    Hooks that turn pointer, wheel, pinch and scroll events into clean gesture state (offset, velocity, direction).

  5. dnd-kit

    Accessible drag-and-drop toolkit for React: sortable lists, kanban boards, keyboard dragging.

  6. Pragmatic drag and drop

    Atlassian's tiny, framework-agnostic drag-and-drop built on the native HTML5 DnD API (powers Trello and Jira).

  7. FormKit Drag and Drop

    Data-first sortable lists in about 4 KB: your array is the source of truth and reorders as you drag.

  8. Bencho

    Tactile React interaction blocks (sliders, toggles, card stacks, a dock) and 24 synthesised UI sounds, copied in as folders.

Compared

LibraryPricingOpen sourceBest forSite
VaulFreeYes (MIT)a mobile bottom sheet for filters, share options or a cartvaul.emilkowal.skiAlternatives
Embla CarouselFreeYes (MIT)a product image gallery with thumbnailsembla-carousel.com–
SwiperFree, from $8/mo for moreYes (MIT)a carousel that needs coverflow, cards, cube or fade effects without custom codeswiperjs.com–
@use-gestureFreeYes (MIT)a draggable, throwable card stack driven by react-springuse-gesture.netlify.app–
dnd-kitFreeYes (MIT)drag to reorder list items or cards with keyboard and screen-reader supportdndkit.comAlternatives
Pragmatic drag and dropFreeYes (Apache-2.0)a Trello-style board with many columns and hundreds of cardsatlassian.designAlternatives
FormKit Drag and DropFreeYes (MIT)a sortable list or playlist with almost no setupdrag-and-drop.formkit.comAlternatives
BenchoFree, €99/yr, or a one-time lifetime plan for moreYes (MIT (free set); Pro under the Bencho Pro licence)interface sounds for clicks, toggles, payments and notifications without shipping audio files (sounds.ts, Web Audio)bencho.devAlternatives

Questions

What is the best interaction library?

Vaul: unstyled drawer for React that replaces dialogs on mobile: drag to dismiss, snap points, scaled background. Reach for it for a mobile bottom sheet for filters, share options or a cart.

Which of these are completely free?

Vaul, Embla Carousel, @use-gesture, dnd-kit, Pragmatic drag and drop and FormKit Drag and Drop. The rest are free to start with a paid tier.

Which work outside React?

Embla Carousel, Swiper, @use-gesture, dnd-kit, Pragmatic drag and drop and FormKit Drag and Drop also ship for Vue, Svelte, Solid and plain JavaScript. The rest are React only.