# Components

> Free, open-source animated React components built with Motion and Tailwind CSS, available as copy-paste source through the shadcn registry.

Install any page with `npx shadcn@latest add @beui/<install-slug>`. Every page's full docs in one file: https://beui.dev/llms/motion.txt

- [Bookshelf](https://beui.dev/components/motion/bookshelf.md): A shelf of book spines. Click one and it slides out and turns in 3D to show its cover while the others make room. Arrow keys browse, Escape puts it back, and reduced motion swaps the turn for a fade. Install: `bookshelf`
- [Dropdown Menu](https://beui.dev/components/motion/dropdown-menu.md): Composable dropdown menu that opens from its trigger, with a gliding highlight, submenus that stay open on a diagonal path, checkbox and radio items, shortcuts and full keyboard support. Install: `dropdown-menu`
- [Before After Slider](https://beui.dev/components/motion/before-after-slider.md): Compare two images with a draggable divider. Drag or click anywhere on the frame, use the arrow keys, and keep vertical page scroll on touch. Install: `before-after-slider`
- [Timeline](https://beui.dev/components/motion/timeline.md): A draggable timeline of dated events around a focused card. Install: `timeline`
- [Animated Alert](https://beui.dev/components/motion/alert.md): Composable feedback with smooth transitions. Install: `alert`
- [Animated Collapsible](https://beui.dev/components/motion/collapsible.md): Expandable content with a smooth reveal. Install: `collapsible`
- [Aspect Ratio](https://beui.dev/components/motion/aspect-ratio.md): Responsive media with smooth aspect ratio transitions. Install: `aspect-ratio`
- [Arc Picker](https://beui.dev/components/motion/arc-picker.md): Radial text picker with top, bottom, left or right curves, smooth wheel movement and live selection on each scroll step. One persistent bracket frame grows and squeezes around each label. Supports drag momentum, keyboard input, disabled choices, controlled or uncontrolled values, forms and reduced motion. Install: `arc-picker`
- [Sortable List](https://beui.dev/components/motion/sortable-stack.md): Composable sortable list with group, item, drag handle, content and undo parts, plus a shared state hook. Spring layout, keyboard reordering, accessible position announcements, and controlled or uncontrolled items. Install: `sortable-stack`
- [Image Viewer](https://beui.dev/components/motion/image-viewer.md): A composable React image viewer for galleries and attachment previews, with animated lightbox variants, custom thumbnails and controls, swipe and keyboard navigation, zoom and pan, accessible focus management, and controlled or uncontrolled selection. Install: `morphing-lightbox`
- [Date Range Picker](https://beui.dev/components/motion/date-range-picker.md): Composable date range picker with opt-in single-date selection, root, trigger, popover content, calendar, header, grid, summary, footer, clear and preset parts, plus a shared state hook. Compact inline and dropdown compositions, direct month and year selection, and full keyboard navigation. Install: `date-range-picker`
- [Card](https://beui.dev/components/motion/card.md): Composable card with header, title, description, action, content and footer parts. Outlined or muted surfaces, standard or compact spacing, and an opt-in selectable state with press feedback that composes with Checkbox, Radio and Button. Install: `card`
- [Color Picker](https://beui.dev/components/motion/color-picker.md): Composable color picker whose trigger chip morphs into the saturation and brightness area. A loupe lifts off each thumb while you drag. Includes hue and opacity sliders, hex, RGB and HSL fields, an eye dropper, presets, full keyboard control, and a controlled or uncontrolled value. Install: `color-picker`
- [Animated Color Selector](https://beui.dev/components/motion/color-selector.md): Composable color swatches with a spring-gliding selection ring, press feedback, native radio keyboard navigation, and controlled or uncontrolled state. Install: `color-selector`
- [Animated Pagination](https://beui.dev/components/motion/pagination.md): Page navigation with a gliding current-page pill, page numbers that slide as the window moves, and ellipses that jump several pages. Install: `pagination`
- [Animated Avatar Group](https://beui.dev/components/motion/avatar-group.md): Overlapping avatars that fan apart on hover, lift with a name tooltip, and expand from a +N count to show everyone. Install: `avatar-group`
- [Animated Breadcrumb](https://beui.dev/components/motion/breadcrumb.md): Composable breadcrumb navigation with soft path transitions, a hoverable overflow dropdown for long trails, custom separators, and router-link support. Install: `breadcrumb`
- [Tilt Card](https://beui.dev/components/motion/tilt-card.md): 3D perspective tilt on hover with cursor-tracked glare. Install: `tilt-card`
- [Button](https://beui.dev/components/motion/button.md): Spring-pressed Button plus StatefulButton, MagneticButton, and MetallicButton variants. Install: `button-metallic`, `button-base`, `button-stateful`, `button-magnetic`
  - [Metallic Button](https://beui.dev/components/motion/button/metallic.md): A button framed by a chrome rim with a reflection that sweeps across. Install: `button-metallic`
  - [Base Button](https://beui.dev/components/motion/button/base.md): A button with a subtle spring press, ripple, variants and sizes. Install: `button-base`
  - [Stateful Button](https://beui.dev/components/motion/button/stateful.md): A button that moves from loading to success or error as its width morphs. Install: `button-stateful`
  - [Magnetic Button](https://beui.dev/components/motion/button/magnetic.md): A button that leans toward the cursor and springs back when it leaves. Install: `button-magnetic`
- [Animated CTA Buttons](https://beui.dev/components/motion/expanding-arrow-button.md): Expressive call-to-action buttons with expanding, hold, and slide interactions. Install: `expanding-arrow-button`, `hold-action-button`, `slide-action-button`
  - [Expanding Arrow Button](https://beui.dev/components/motion/expanding-arrow-button/expanding-arrow.md): A call to action whose arrow tile stretches into a dotted trail on hover. Install: `expanding-arrow-button`
  - [Hold Action Button](https://beui.dev/components/motion/expanding-arrow-button/hold-action.md): Hold to confirm while a liquid fill rises, or let go early to cancel. Install: `hold-action-button`
  - [Slide Action Button](https://beui.dev/components/motion/expanding-arrow-button/slide-action.md): Drag the thumb to the end to confirm, or let go early and it springs back. Install: `slide-action-button`
- [Expandable Control](https://beui.dev/components/motion/expandable-control.md): Click-to-expand button and chip controls that reveal a label or trailing action through spring layout continuity. Install: `expandable-control`
- [Adaptive Stepper](https://beui.dev/components/motion/adaptive-stepper.md): Composable numeric stepper whose fixed footprint adapts at its minimum and maximum while the value rolls between steps. Install: `adaptive-stepper`
- [Marquee](https://beui.dev/components/motion/marquee.md): Infinite horizontal or vertical scroll with pause-on-hover. Install: `marquee`
- [Tabs](https://beui.dev/components/motion/tabs.md): Pill, segment or underline tabs with a spring layoutId indicator and optional icons. Install: `tabs`
- [Switch](https://beui.dev/components/motion/switch.md): Toggle with a spring-driven thumb and press feedback. Install: `switch`
- [Input](https://beui.dev/components/motion/input.md): Text input with label, left/right icons, optional stable error row, error shake and success check draw. Install: `input`
- [Select](https://beui.dev/components/motion/select.md): Composable select primitives whose panel unfolds out of the trigger on one spring and pulls away into its own pill, plus a Morph variant where the trigger grows into the panel via shared layout. Install: `select`, `select-morph`
  - [Select](https://beui.dev/components/motion/select/default.md): A dropdown whose panel pinches off the trigger and reveals its options. Install: `select`
  - [Morph Select](https://beui.dev/components/motion/select/morph.md): A dropdown where the trigger grows into the list as one surface. Install: `select-morph`
- [Combobox](https://beui.dev/components/motion/combobox.md): Searchable combobox with a morphing portal, grouped filtering, keyboard navigation, and controlled or uncontrolled state. Install: `combobox`
- [Multi Select](https://beui.dev/components/motion/multi-select.md): Composable multi-select primitives with searchable options, removable animated tokens, and a morphing collision-aware panel. Install: `multi-select`
- [Checkbox](https://beui.dev/components/motion/checkbox.md): Form choice control with a draw-on checkmark, spring press feedback and indeterminate state support. Install: `checkbox`
- [Radio Group](https://beui.dev/components/motion/radio.md): Single-select choice control with a gliding layoutId indicator dot and spring press feedback. Install: `radio`
- [Bottom Sheet](https://beui.dev/components/motion/bottom-sheet.md): Vaul-inspired draggable bottom sheet with snap points, inertia and glass surface. Install: `bottom-sheet`
- [Pull to Refresh](https://beui.dev/components/motion/pull-to-refresh.md): Native-feeling pull-to-refresh container with drag resistance, threshold feedback and async refresh handling. Install: `pull-to-refresh`
- [Shared Layout Background](https://beui.dev/components/motion/shared-layout-bg.md): A pill that glides between hovered items via motion's shared layout, with blur enter/exit. Install: `shared-layout-bg`
- [Bounce Sidebar](https://beui.dev/components/motion/bounce-sidebar.md): A vertical sidebar whose active dot jumps between destinations on a curved, spring-loaded path. Install: `bounce-sidebar`
- [Animated Sidebar](https://beui.dev/components/motion/animated-sidebar.md): A composable application sidebar with morphing nested navigation that folds into an animated icon rail on desktop and becomes a focus-managed sheet on mobile. Install: `animated-sidebar`
- [File Tree](https://beui.dev/components/motion/file-tree.md): Composable file and folder primitives with springing branches, a gliding selection, and complete keyboard navigation. Install: `file-tree`
- [Preview Rail](https://beui.dev/components/motion/preview-rail.md): Codex app-inspired navigation rail with compact ticks that form a hover pyramid and reveal a floating destination preview. Install: `preview-rail`
- [Dock](https://beui.dev/components/motion/dock.md): macOS-style dock with grouped actions and a gliding active pill. Install: `dock`
- [Tooltip](https://beui.dev/components/motion/tooltip.md): Composable hover, focus and tap tooltip with a subtle scale and fade, collision-aware side and alignment, an optional arrow, a pointer corridor onto hoverable content, one label at a time, keyboard-only focus reveal and optional cursor tracking. Install: `tooltip`
- [Animated Context Menu](https://beui.dev/components/motion/context-menu.md): Composable context-menu primitives with a pointer-origin clip morph, a gliding active row, checkbox and radio choices, keyboard navigation, typeahead, and long-press support. Install: `context-menu`
- [Popover](https://beui.dev/components/motion/popover.md): Gooey popover whose panel oozes out of the trigger through an SVG goo filter with a liquid neck that stretches and pinches, then crisp content fades in on top. The Morph variant reveals its full-size panel from the corner nearest the trigger on one synchronized spring clip. Click or hover trigger, controlled or uncontrolled. Install: `popover`, `popover-morph`
  - [Gooey Popover](https://beui.dev/components/motion/popover/gooey.md): A panel that oozes out of its trigger like liquid, with crisp content. Install: `popover`
  - [Morph Popover](https://beui.dev/components/motion/popover/morph.md): A panel that unfolds from the corner nearest its trigger on a spring. Install: `popover-morph`
- [Morphing Modal](https://beui.dev/components/motion/morphing-modal.md): Family-app-style modal. A single panel that morphs its height as you navigate between inner views, with blur cross-fade on content. Install: `morphing-modal`
- [Center Morph Modal](https://beui.dev/components/motion/center-morph-modal.md): A composable modal whose full-size surface unfolds from its exact center toward every edge, then folds back the same way with an inset close control. Install: `center-morph-modal`
- [Text Animation](https://beui.dev/components/motion/text-animation.md): Animated text primitives for spring reveals, chromatic sweeps, shimmer loading states, letter-cascade swaps and character scrambles. Install: `text-scramble`, `chromatic-text-reveal`, `text-reveal`, `text-shimmer`, `text-cascade`
  - [Text Scramble](https://beui.dev/components/motion/text-animation/text-scramble.md): Changed characters cycle through random glyphs before they settle. Install: `text-scramble`
  - [Dia Text Animation](https://beui.dev/components/motion/text-animation/chromatic-reveal.md): A fixed sentence whose last word cycles in behind a colorful sweep. Install: `chromatic-text-reveal`
  - [Text Reveal](https://beui.dev/components/motion/text-animation/reveal.md): Words or letters slide up into place with a spring and soft blur. Install: `text-reveal`
  - [Text Shimmer](https://beui.dev/components/motion/text-animation/shimmer.md): A gradient that sweeps across text for loading labels or emphasis. Install: `text-shimmer`
  - [Text Cascade](https://beui.dev/components/motion/text-animation/cascade.md): Old letters drop away as new ones roll in, one at a time from the left. Install: `text-cascade`
- [Number Animation](https://beui.dev/components/motion/number.md): Animated number primitives for count-up values, rolling tickers, and fixed-slot digit swaps. Install: `digit-swap`, `number-ticker`, `animated-number`
  - [Digit Swap](https://beui.dev/components/motion/number/digit-swap.md): Fixed-slot digits that roll on change, with direction and stagger control. Install: `digit-swap`
  - [Number Ticker](https://beui.dev/components/motion/number/ticker.md): Digits that roll into place like slot machine reels, one after another. Install: `number-ticker`
  - [Animated Number](https://beui.dev/components/motion/number/animated.md): A number that counts up to its value when it scrolls into view. Install: `animated-number`
- [Animated Badge](https://beui.dev/components/motion/animated-badge.md): Status badge with animated state icons, pulse feedback and compact size variants. Install: `animated-badge`
- [Action Swap](https://beui.dev/components/motion/action-swap.md): CTA button and slot primitives for swapping text and icons with blur motion. Install: `action-swap-cascade`, `action-swap-blur`, `action-swap-roll`
  - [Cascade Action Swap](https://beui.dev/components/motion/action-swap/cascade.md): Button labels that change letter by letter, old ones dropping as new land. Install: `action-swap-cascade`
  - [Blur Action Swap](https://beui.dev/components/motion/action-swap/blur.md): Labels and icons that blur out and back in, like Copy turning to Copied. Install: `action-swap-blur`
  - [Roll Action Swap](https://beui.dev/components/motion/action-swap/roll.md): The next label or icon rolls up from below as the old one leaves. Install: `action-swap-roll`
- [Animated Toast Stack](https://beui.dev/components/motion/animated-toast-stack.md): Toasts in one morphing island: a pill that springs into a card, opens into a list on hover, and swipes away. Install: `animated-toast-stack`
- [Theme Toggle](https://beui.dev/components/motion/theme-toggle.md): Theme toggle button that repaints the whole page through the View Transition API: a rectangle or circle clip-path reveal, or slats that open across the screen like a shutter. Install: `theme-toggle`
- [Wave Reveal](https://beui.dev/components/motion/wave-reveal.md): Carries one screen into the next with a colourful wave: the card pulls toward the pressed button, a wave leaves from it and bends the screen as it passes, and its colour lingers on the edges. Vertical, horizontal or center. Install: `wave-reveal`
- [Bouncy Accordion](https://beui.dev/components/motion/bouncy-accordion.md): Single-open accordion with weighted spring layout, icon rows and reduced-motion-safe content reveals. Install: `bouncy-accordion`
- [Drawer](https://beui.dev/components/motion/drawer.md): Side panel that slides in from the left or right with a spring, backdrop blur, body scroll lock and esc-to-close. Install: `drawer`
- [Scroll Animation](https://beui.dev/components/motion/scroll-animation.md): Scroll-driven motion: a Lenis smooth-scroll provider and a reading-progress indicator that reads from it. Install: `smooth-scroll`, `scroll-progress`, `parallax`, `scroll-to`, `scroll-reveal`
  - [Smooth Scroll](https://beui.dev/components/motion/scroll-animation/smooth-scroll.md): Smooth page scrolling with a hook for offset, progress and velocity. Install: `smooth-scroll`
  - [Scroll Progress](https://beui.dev/components/motion/scroll-animation/scroll-progress.md): A reading progress bar or ring that follows how far the page has scrolled. Install: `scroll-progress`
  - [Parallax Scroll](https://beui.dev/components/motion/scroll-animation/parallax.md): Content that drifts at its own speed as it passes through the viewport. Install: `parallax`
  - [Scroll To Button](https://beui.dev/components/motion/scroll-animation/scroll-to.md): A button that glides the page to a section, offset or element. Install: `scroll-to`
  - [Scroll Reveal](https://beui.dev/components/motion/scroll-animation/scroll-reveal.md): Content that slides in with a soft blur as it enters the viewport. Install: `scroll-reveal`
- [Range Slider](https://beui.dev/components/motion/range-slider.md): Slider with tick dots and a vertical-bar thumb that bounces as it lands on each step. Drag or keyboard, reduced-motion safe. Install: `range-slider-inline`, `range-slider`, `range-slider-fluid`, `range-slider-wave`, `range-slider-bubble`, `range-slider-ruler`
  - [Inline Slider](https://beui.dev/components/motion/range-slider/inline.md): A slider with its label and value inside the track and a thumb that parts. Install: `range-slider-inline`
  - [Range Slider](https://beui.dev/components/motion/range-slider/stepped.md): A stepped slider whose thumb bounces as it lands on each tick. Install: `range-slider`
  - [Fluid Slider](https://beui.dev/components/motion/range-slider/fluid.md): A thumbless slider whose fill flips the label color as it slides under it. Install: `range-slider-fluid`
  - [Wave Slider](https://beui.dev/components/motion/range-slider/wave.md): Equalizer bars that peak around the handle and ripple down the track. Install: `range-slider-wave`
  - [Bubble Slider](https://beui.dev/components/motion/range-slider/bubble.md): A value bubble pops from the thumb and tilts with how fast you drag. Install: `range-slider-bubble`
  - [Ruler Slider](https://beui.dev/components/motion/range-slider/ruler.md): A fixed needle over a scale that scrolls and settles on the nearest tick. Install: `range-slider-ruler`
- [Wheel Picker](https://beui.dev/components/motion/wheel-picker.md): iOS-style picker wheel: a 3D drum on native momentum scroll that snaps to the nearest notch, with wheel, drag and keyboard control. Composes side by side for date and time pickers, reduced-motion safe. Install: `wheel-picker`
- [Table](https://beui.dev/components/motion/table.md): Virtualized data table that stays smooth at 10k+ rows, with sortable headers, row selection, column resize and reorder, and a sticky header. Minimal, reduced-motion-safe motion. Install: `table`, `table-editable`, `table-async`
- [Shader Background](https://beui.dev/components/motion/shader-background.md): Canvas shader backgrounds (mesh gradient, grain, warp, waves, voronoi, dot orbit and more) with a single typed variant prop. Reduced-motion freezes animated variants. Install: `shader-background`
- [Cylinder Carousel](https://beui.dev/components/motion/cylinder-carousel.md): A carousel whose items line the inside of a cylinder, receding into the center and growing toward the edges. Drag, scroll or arrow-key to roll it, with a springy glide and snap. Reduced-motion drops the glide. Install: `cylinder-carousel`
- [Loader](https://beui.dev/components/motion/loader.md): Loading indicator with seventeen variants: spinner, dots, bars, dot-matrix, dither, morph, comet, scramble, metaballs, newton, helix, percent, and five terminal-style ascii spinners. Scales from one size prop, uses currentColor, and reduced-motion swaps every transform for a calm opacity pulse. Install: `loader`
