n
nonaxial
Components
190/207

Segmented Control

Interactions

iOS-style segmented control

segmentedcontroltabs

Installation

$
npx shadcn@latest add https://nonaxial.com/r/segmented-control.json

Usage

tsx
import { SegmentedControl } from "@/components/nonaxial/segmented-control"

export default function Example() {
  return (
    <SegmentedControl>{/* Your content here */}</SegmentedControl>
  )
}

Props

PropTypeDefault
childrenReactNode
classNamestring