1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. sunui
  3. Sliding Tabs

Sliding Tabs

block

One choice control in five shapes: underline tabs with content panels, a segmented control, filter chips and browser-style folder tabs where the active tab is a raised surface joined to the panel below, and an icon-only dock where the selected tab grows to show its label, all with an indicator that slides between options. Chips switch to multi select with a check that grows in. Arrow keys, Home and End move focus, roles change to tablist, radiogroup or toggle buttons to match, and counts can sit beside each label, as plain numbers or as small badges with countStyle="badge" (the default for folder).

pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/sliding-tabs.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • framer-motion
  • utils
components/sliding-tabs.tsx