- Android
- iOS
- Web
Input
Collect a single line of text.
Engine API NInputnayan-ui/components
Example.tsx
| Name | Type | Default | Details |
|---|---|---|---|
| id | string | Optional | |
| label | string | Optional | Visible label above the input. |
| labelClassName | string | Optional | |
| className | string | Optional | Supported Tailwind-style utilities, resolved entirely in Rust. See the engine README. |
| containerClassName | string | Optional | Classes for the field container. |
| error | string | Optional | An error message shown below the field. |
| helperText | string | Optional | A hint shown below the field. |
| onChange | ((value: ComponentTextChange) => void) | Optional | |
| onChangeText | ((value: string) => void) | Optional | |
| value | string | Optional | |
| defaultValue | string | Optional | |
| placeholder | string | Optional | |
| disabled | boolean | Optional | |
| type | string | Optional |
React Native API
| Name | Type | Default | Details |
|---|---|---|---|
| id | string | Optional | |
| label | string | Optional | Visible label above the input. |
| labelClassName | string | Optional | |
| className | string | Optional | Supported Tailwind-style utilities, resolved entirely in Rust. See the engine README. |
| containerClassName | string | Optional | Classes for the field container. |
| error | string | Optional | An error message shown below the field. |
| helperText | string | Optional | A hint shown below the field. |
| onChange | ((value: string) => void) | Optional | |
| onChangeText | ((value: string) => void) | Optional | |
| value | string | Optional | |
| defaultValue | string | Optional | |
| placeholder | string | Optional | |
| disabled | boolean | Optional | |
| type | string | Optional |
- Input
- Forms
- React Input
- Input Component for React
- React Text Input
- React Number Input
- React Password Input
- React Textarea
- Controlled Input in React
- Uncontrolled Input in React
- Input Validation in React
- Styling Input Component in React
- Custom Input in React
- Input with Hooks in React
- Input Label Component for React
- React Search Input
- React Autocomplete Input
- React Input Group
- Input Placeholder in React
- Responsive Input Component in React
- Input Component Accessibility in React
- Example Input Component in React
- Input UI Component
- Form Input React
- React Input Tutorial
- Input Design System
- React Input TypeScript
- Mobile Input React
- Input Best Practices
- React Input Performance
- Input UI Library
- Text Field React
- Input Field Component
- Form Control React
- Input Validation React
- Custom Input Component
- React Native Input
- React Native TextInput
- React Native Form Input
- Mobile Input React Native
- React Native Input Component
- React Native Input Field
- React Native Text Field
- React Native Input Validation
- React Native Form Field
- React Native Input Mask
- React Native Password Input
- React Native Search Input
- React Native Numeric Input
- React Native Email Input
- Mobile Text Input
- Cross Platform Input
- Expo Input Component
- React Native Input Tutorial
- React Native Input TypeScript
- React Native Input UI