Home
Docs
Themes
InfinityFX
©Copyright2016-2026 InfinityFX. All rights reserved.
InfinityFX®
Fluid UI
v2.1.3
Getting started
Installation
Configuration
Theming
Components
Display
ActionMenu
Combobox
Annotation
Badge
Code
Empty
Gradient
Key
Swatch
Table
Ticker
Timeline
Toast
Tooltip
Feedback
CircularProgress
Indicator
Interactable
ProgressBar
Skeleton
Spinner
Input
Autocomplete
Button
Calendar
Checkbox
Chip
ColorField
ColorPicker
DateField
Dial
DropZone
Field
FileField
Hamburger
NumberField
PasswordField
Pincode
Radio
Segmented
Select
Slider
Switch
Textarea
ThemeToggle
TimeField
Toggle
Layout
Accordion
Card
Popover
Sidebar
Collapsible
Cull
Divider
Drawer
Group
Modal
Overlay
Panel
Scrollarea
Navigation
NavigationMenu
Pagination
Stepper
Tabs
Hooks
useFluid
Links
Changelog
Create Fluid App
Skills
llms.txt

Segmented

An input with multiple options of which only 1 can be selected at a time.

Importing

1
import { Segmented } from '@infinityfx/fluid';

Usage

With tooltips

API reference

Segmented Props

round?
boolean
false
size?
'sml' | 'med' | 'lrg'
'med'
variant?
'default' | 'neutral' | 'minimal'
'default'
options
{ label: React.ReactNode; value: string | number; disabled?: boolean; tooltip?: string; }[]
Required
The list of options to display.
uniform?
boolean
false
Makes all entries equal size regardless of their content.
vertical?
boolean
false
Stacks the options vertically.
value?
string | number
Controlled selected value.
defaultValue?
string | number
Default selected value for uncontrolled usage.
onChange?
(value: string | number) => void
error?
any
Marks the segmented control as invalid when truthy.
size
variant
uniform
vertical
round
error