Segmented control and input components for React

The small controls that carry a lot of the interaction in a dense product. A segmented control that animates between options, an amount field with half and max presets so the maths is not left to the user, a currency toggle, and a preferences card. Small parts, and the ones people touch most.

6 components, installable with the shadcn CLI.

Questions

Is the segmented control accessible with a keyboard?
Yes. It is a real radio group under the styling, so arrow keys move between options and focus is visible.
Does the amount input handle decimals safely?
Yes. It formats as you type, keeps a fixed decimal treatment and offers half and max presets so people do not calculate fees by hand.

Browse by type

Install one in a minute

Every component here installs with the shadcn CLI and lands in your project as source you own.

Read the install guide