Elements

Search

Search components and documentation

Sliding tab pill

Segmented control where the pill measures and slides to the selection

npx shadcn@latest add https://ethankd.com/r/tab-pill.json

Playground

<TabPillBar
  tabs={[
    { id: "temperature", label: "Temperature" },
    { id: "exceptions", label: "Exceptions" },
    { id: "tracking", label: "Tracking" },
  ]}
/>