Dev Design Library

Segmented

Base UI-powered Segmented control — toggle-group semantics with a sliding active indicator. Drops antd dependency in favor of @base-ui/react/toggle-group.

Segmented preview
Library
Lobe UI
Framework
React
Type
component
License
MIT
Install
pnpm add @lobehub/ui
Files
  • src/Segmented/atoms.tsx
  • src/Segmented/index.ts
  • src/Segmented/marker.stylex.ts
  • src/Segmented/Segmented.tsx
  • src/Segmented/stable.ts
  • src/Segmented/style.css
  • src/Segmented/style.ts
  • src/Segmented/type.ts
Source
https://github.com/lobehub/lobe-ui

Categories

More from Lobe UI