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"