On this page
Forms
Accessible native and Radix-powered form components - inputs, selects, checkboxes, sliders, file uploads, and form infrastructure.
import { Input, Textarea, Checkbox } from "@ninna-ui/forms";pnpm add @ninna-ui/forms@latest@ninna-ui/core. CSS setup required.View source Package features
- 20 form components and utilities
- Native Checkbox plus Radix-powered Radio, Select, and Slider controls
- Built-in form validation integration
- Controlled and uncontrolled modes
- Full keyboard navigation
- ARIA-compliant with screen reader support
- FormControl context for custom components
- 8 color variants for focus states
Components
15 components with shared tokens, typed APIs, and light and dark mode support.
Input
Text input with variants, sizes, colors, and addon support.
Textarea
Multi-line text input with auto-resize option.
Checkbox
Native checkbox with indeterminate state and group support.
CheckboxGroup
Group of checkboxes with shared state and select-all support.
Switch
Toggle switch with on/off states and label positioning.
RadioGroup
Radix-powered radio buttons with card variant for rich selection.
Select
Radix-powered dropdown select with search, groups, and custom items.
Slider
Range slider with marks, tooltips, and multi-thumb support.
NumberInput
Numeric input with increment/decrement buttons and min/max.
PinInput
One-time code input with auto-focus and paste support.
FileUpload
Drag-and-drop file upload with preview and validation.
Field
Form field wrapper with label, help text, and error message.
FormControl
Low-level form control context for custom form components.
FormGroup
Semantic fieldset grouping for related form fields with legend, description, and direction.
InputGroup
Input with left/right addons for icons, text, or buttons.
Quick start
import { Input, Textarea, Checkbox } from "@ninna-ui/forms";