# Segmented control

Switch between a small set of related views.

- ID: `segmented-control`
- Import: `animui/segmented-control`
- Category: Inputs
- Runtime exports: `default`
- Declaration: `types/free/components/segmented-control.d.ts`
- Type provenance: emitted-original-typescript
- Related: tabs, radio-group, switch, liquid-tab-bar

```tsx
import { undefined } from 'animui/segmented-control';
```

This import example is not a complete render recipe: read the declaration below and its local references for required props, data, callbacks and provider context. Use `animui info segmented-control` to resolve the local declaration graph. Global setup is in `llms.txt`.

```ts
export { default } from '../registry/components/segmented-control/segmented-control.js';
export type { Segment, SegmentedControlProps } from '../registry/components/segmented-control/segmented-control.js';
```
