Skip to content
Menu

Navigation

Scaling dot carousel

Scaling dot carousel: A slide carousel whose active card sits at full scale while its neighbors shrink slightly, paired with dot indicators that widen into labeled pills.

Using Scaling dot carousel

Scaling dot carousel uses the wide preview frame with a dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
loopbooleantrueNo additional limit in the metadata.
accentColorcolor#38BDF8No additional limit in the metadata.
slideCountnumber6From 3 to 8; step 1
Which frameworks are available for Scaling dot carousel?

Scaling dot carousel is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Scaling dot carousel depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx.

What accessibility details are visible in Scaling dot carousel?

The React source for Scaling dot carousel includes: native elements (button); attributes and handlers (aria-current, aria-label). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Scaling dot carousel handle reduced motion?

Scaling dot carousel reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: delay: reduceMotion ? 0 : 0.08; springDot: reduceMotion ? { duration: 0 } : { type: "spring" as const, stiffness: 500, damping: 32 }; springScale: reduceMotion ? { duration: 0 } : { type: "spring" as const, stiffness: 320, damping: 28 }. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components