CarouselDots
Dots for a carousel, static or on autoplay.
Installation
Install CarouselDots from the Fluid Effect UI registry.
Static
Inbox
Autoplay
Inbox
API Reference
Types come from the public API. A dash indicates no default is documented here.
CarouselDots props
Public source| Prop | Type | Default | Description |
|---|---|---|---|
key | KeepAliveKey<K, Ends> | undefined | '' | The child's identity among its parent's children of one component, or a kept child's among its author's. The empty string by default. |
onEmit | Show type((events: { readonly _tag: "ChangeRequested"; readonly index: number; readonly reason: "manual" | "autoplay"; }) => NoInfer<Msg> | undefined) | { readonly ChangeRequested: (event: { readonly _tag: "ChangeRequested"; readonly index: number; readonly reason: "manual" | "autoplay"; }) => NoInfer<Msg> | undefined; } | undefined | — | Handle the child's events with a callback, or supply one handler per tag for tagged events. Return a parent message to dispatch it, or `undefined` to ignore the event. |
props.id | string | Required | |
props.value | number | Required | |
props.count | number | Required | |
props.label | string | 'Slide navigation' | |
props.progress | number | Varies
| |
props.disabled | boolean | false | |
props.reducedMotion | boolean | motion.matches | |
props.className | string | '' | |
props.shape | "rounded" | "pill" | "sharp" | — | |
props.autoplay | boolean | { readonly duration?: number; readonly paused?: boolean; readonly loop?: boolean; } | — | |
props.labels | readonly string[] | — |