Textarea
A simple and accessible textarea component that extends native HTML textarea functionality with consistent styling and focus management.
Install Dependencies
npx quickcode-ui add Textarea
Default Usage
Default Textarea
Props
Prop | Type | Default | Description |
---|---|---|---|
className | string | - | Additional CSS classes to apply to the textarea |
...props | React.TextareaHTMLAttributes<HTMLTextAreaElement> | - | All standard HTML textarea attributes |
Features
- Native HTML Support: All standard textarea attributes and events work seamlessly
- Accessible: Proper focus management and keyboard navigation
- Responsive Design: Adapts beautifully to different screen sizes
- Dark Mode Ready: Built-in support for light and dark themes
- TypeScript Ready: Full TypeScript support with proper typing
Last updated on