oks-ui

Forms

FormFieldSet type="radio" -- single-select radio group.

Preview

Plan
Choose one.

Type options

Options are a fixed showcase list (Free/Pro/Enterprise) -- the common controls below still apply.

Content

Set to make the field show its invalid state.

Appearance

filled = borderless neutral fill at rest (text types); others fall back to bordered.

Layout & positioning

Behavior & states

Props

options

Array<{ label: ReactNode; value: string; disabled?; key? }>

Default:

Items in the group.

value / defaultValue

string

Default:

Controlled / uncontrolled selection.

label

ReactNode

Default:

Field label.

description

ReactNode

Default:

Helper text below the control.

error

ReactNode | boolean

Default:

Error message, or true for an invalid state with no message.