Visually highlights selected items by sliding a background into view when hovered over or clicked.
npx shadcn-vue@latest add https://raya-ui.com/registry/animated-background.jsonOr manually:
npm install motion-v clsx tailwind-mergeA grid of cards with a spring hover effect, using a custom layout and transition.
Enhances modal presentations.
For small interactive overlays.
Collapsible sections for more content.
Collapsible sections for more content.
Reorder items with drag and drop.
Delete items with swipe gestures.
| Prop | Type | Default | Description |
|---|---|---|---|
| items | any[] | [] | Array of items to render. Each item should have a unique id or value. |
| v-model | string | number | undefined | The active item identifier. |
| enableHover | boolean | false | If true, changes selection on mouse enter instead of click. |
| layoutId | string | random | Unique ID for the layout animation group. |
| transition | Transition | spring | Custom motion transition settings. |
Source content adapted from Motion Primitives.