Navigation
Card blur tabs
Card blur tabs: Tabs framed in a bordered card whose content briefly blurs and crossfades when you switch panels, with a sliding pill behind the active tab label.
Using Card blur tabs
Card blur tabs uses the card 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.
| Control | Type | Default | Preview limits |
|---|---|---|---|
tabOneLabel | text | Account | Up to 20 characters |
tabTwoLabel | text | Password | Up to 20 characters |
accent | color | #FF6A1F | No additional limit in the metadata. |
Which frameworks are available for Card blur tabs?
Card blur tabs 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 Card blur tabs depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.
What accessibility details are visible in Card blur tabs?
The React source for Card blur tabs includes: native elements (button, input, label); attributes and handlers (aria-controls, aria-hidden, aria-label, aria-labelledby, aria-orientation, aria-selected, onKeyDown, tabIndex); explicit roles (tab, tablist, tabpanel); key comparisons (ArrowLeft, ArrowRight). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Card blur tabs handle reduced motion?
Card blur tabs reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: heightEase: reduced ? { duration: 0 } : { duration: 0.3, ease: PANEL_EASE }; panelEase: reduced ? { duration: 0 } : { duration: 0.22, ease: PANEL_EASE }; pillSpring: reduced ? { duration: 0 } : { type: "spring", stiffness: 420, damping: 32, mass: 0.9 }. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.