Dev Design Library

Segmented Control

A SegmentedControl is a mutually exclusive group of buttons used for view switching.

Segmented Control preview
Library
React Spectrum
Framework
React
Type
component
License
Apache-2.0
Files
  • packages/@react-spectrum/s2/src/SegmentedControl.tsx
  • packages/@react-spectrum/s2/style/index.ts
  • packages/@react-spectrum/s2/src/CenterBaseline.tsx
  • packages/@react-spectrum/s2/src/style-utils.ts
  • packages/@react-spectrum/s2/src/Icon.tsx
  • packages/@react-spectrum/s2/src/pressScale.ts
  • packages/react-aria-components/src/Text.tsx
  • packages/react-aria-components/src/SelectionIndicator.tsx
Source
https://github.com/adobe/react-spectrum

Categories

More from React Spectrum