0.35.0
24 Apr 2026
Drag-and-drop groups
Move items across multiple lists from one shared context. The kanban scenario becomes five lines of props.
- Group onMove handler
- Per-list bind:items
- Zero new dependencies
Scrollable content carousel with slide navigation
24 Apr 2026
Drag-and-drop groups
Move items across multiple lists from one shared context. The kanban scenario becomes five lines of props.
Copy this entrypoint first. It includes the imports required to get the component on screen.
<script lang="ts">
import '@dryui/ui/themes/default.css';
import '@dryui/ui/themes/dark.css';
import { Carousel } from '@dryui/ui';
</script>
<Carousel.Root>
<Carousel.Viewport>...</Carousel.Viewport>
<Carousel.Slide>...</Carousel.Slide>
<Carousel.Prev>...</Carousel.Prev>
<Carousel.Next>...</Carousel.Next>
<Carousel.Dots>...</Carousel.Dots>
<Carousel.Thumbnails>...</Carousel.Thumbnails>
</Carousel.Root> Root package
import { Carousel } from '@dryui/ui' Per-component subpath
import { Carousel } from '@dryui/ui/carousel' Props, CSS variables, and the public data attributes you can target when styling.
| Prop | Type | Description | Default | Required | Bindable |
|---|---|---|---|---|---|
Carousel.Root | |||||
| orientation | horizontalvertical | Horizontal or vertical layout direction. | 'horizontal' | — | — |
| loop | boolean | — | false | — | — |
| autoplay | false | — | false | — | — |
| children | Snippet | Content rendered inside the component. | — | ✓ | — |
Carousel.Viewport | |||||
| children | Snippet | Content rendered inside the component. | — | ✓ | — |
Carousel.Slide | |||||
| children | Snippet | Content rendered inside the component. | — | ✓ | — |
Carousel.Prev | |||||
| children | Snippet | Content rendered inside the component. | — | — | — |
Carousel.Next | |||||
| children | Snippet | Content rendered inside the component. | — | — | — |
Carousel.Dots | |||||
Carousel.Thumbnails | |||||
| position | bottomleftright | — | — | — | — |
| children | Snippet<[{ index: number; isActive: boolean; scrollTo: (index: number) => void }]> | Content rendered inside the component. | — | ✓ | — |