API reference
Forms
Inputs, their validation surfaces and the form lifecycle around them.
24 documented entries in Forms under Components.
| Entry | Import | Exports |
|---|---|---|
| Input | @luc/ui/components/input | controlIconSizeClass, Input, inputAdornmentClass, inputElementClass, inputShellClass |
| Textarea | @luc/ui/components/textarea | Textarea |
| NativeSelect | @luc/ui | NativeSelect |
| Select | @luc/ui/components/select | Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectRoot, SelectSeparator, SelectTrigger, SelectValue |
| Combobox | @luc/ui/components/combobox | Combobox |
| Checkbox | @luc/ui | Checkbox |
| Radio | @luc/ui | Radio, RadioGroup |
| Switch | @luc/ui | Switch |
| RangeSlider | @luc/ui/slider | RangeSlider, Slider |
| SegmentedControl | @luc/ui | SegmentedControl, SegmentedItem |
| Rating | @luc/ui | Rating |
| SearchInput | @luc/ui | SearchInput |
| InputGroup | @luc/ui/forms | InputGroup, InputGroupAddon, InputGroupInput, InputGroupSeparator |
| FileUpload | @luc/ui | FileUpload |
| Form | @luc/ui/forms | Form, FormActions, FormErrorSummary, SubmitButton, useFieldIdPrefix, useLucForm |
| FieldArray | @luc/ui/forms | FieldArray, FormSection |
| NumberInput | @luc/ui/forms | CurrencyInput, NumberInput, PercentageInput |
| PasswordInput | @luc/ui/forms | PasswordInput |
| OtpInput | @luc/ui/forms | OtpInput |
| FileInput | @luc/ui/forms | DropZone, FileInput |
| TagInput | @luc/ui/forms | TagInput |
| ColorPicker | @luc/ui | ColorPicker |
| Field | @luc/ui/forms | Field, FieldGroup, Fieldset, useField |
| Label | @luc/ui | Label |