Skip to content
Menu

Buttons

Slide out tabs button

Slide out tabs button: A download button with two dark caption tabs stacked behind it that slide out above and below on hover and pull halfway back when it is held.

Using Slide out tabs button

Slide out tabs button uses the inline preview frame with a light/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
labeltextDownloadUp to 20 characters
topCaptiontextLatest buildUp to 28 characters
bottomCaptiontext1.2 MB zipUp to 28 characters
accentcolor#38BDF8No additional limit in the metadata.
travelnumber30From 10 to 60; step 2
Which frameworks are available for Slide out tabs button?

Slide out tabs button 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 Slide out tabs button depend on?

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

What accessibility details are visible in Slide out tabs button?

The React source for Slide out tabs button includes: attributes and handlers (aria-describedby). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Slide out tabs button handle reduced motion?

Slide out tabs button reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: transition: reduceMotion ? { duration: 0.01 } : { duration: 0.5, ease: [0.22, 0.9, 0.3, 1] as const }. 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