Input
Input with accessible presentation and local state.
Folder name
Invalid input
This field is required.
Disabled input
Grouped inline fields and action
Folder
Edit a folder name.
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 Input, InputGroup, InputOTP from "@rightui/ui"
Usage
Import Input, InputGroup 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.
InputGroup.id
string
InputGroup.label
string
InputGroup.value
string
InputGroup.placeholder
string
InputGroup.prefix
string
InputGroup.suffix
string
InputGroup.buttonLabel
string
InputGroup.disabled
bool
InputGroup.edit
action
InputGroup.submit
action
InputOTP.id
string
InputOTP.label
string
InputOTP.value
string
InputOTP.length
number
InputOTP.disabled
bool
InputOTP.change
action
Input.id
string
Input.label
string
Input.value
string
Input.placeholder
string
Input.error
string
Input.disabled
bool
Input.edit
action