Field
Field with accessible presentation and local state.
Profile information
This form validates locally without sending information.
Name
The name displayed on your profile.
Contact
E-mail
Use an address containing @.
Responsive checkbox
Checkbox preference
Responsive switch
Switch preference
Responsive radio
Radio preference
Responsive slider
Slider preference
Volume
50
Installation
Install the shared package once in your Exact app. This version is a beta.
bun add --exact @rightui/ui@0.4.0-beta.4
The Exact compiler requires Bun 1.4.2, regardless of which package manager installs the package.
Complete the font, app metadata and root provider setup (required for both installation methods).
Import
use Field, FieldSet, FieldLegend, FieldGroup, FieldFrame, FieldContent, FieldLabel, FieldTitle, FieldDescription, FieldError, FieldSeparator from "@rightui/ui"
Usage
Import Field, FieldSet from @rightui/ui. Store its value in state and update it through the provided action callback.
API Reference
Properties from the component source. State lives in your component; actions receive the updated value.
FieldSet.id
string
FieldSet.legendId
string
FieldSet.descriptionId
string
FieldSet.disabled
bool
FieldLegend.id
string
FieldLegend.label
string
FieldLegend.variant
string
FieldGroup.id
string
FieldGroup.nested
bool
FieldFrame.id
string
FieldFrame.labelId
string
FieldFrame.descriptionId
string
FieldFrame.invalid
bool
FieldFrame.orientation
string
FieldContent.id
string
FieldLabel.id
string
FieldLabel.label
string
FieldLabel.controlId
string
FieldLabel.disabled
bool
FieldTitle.id
string
FieldTitle.title
string
FieldTitle.disabled
bool
FieldDescription.id
string
FieldDescription.description
string
FieldError.id
string
FieldError.messages
string[]
FieldSeparator.id
string
FieldSeparator.label
string
Field.id
string
Field.description
string
Field.error
string