Dev Design Library

Textarea

Multi-line text that grows smoothly with what you write between a minimum and maximum number of rows, with counters, validation and a submit shortcut.

Textarea preview
Library
HextaUI
Framework
React
Type
ui
License
MIT
Dependencies
@base-ui/react@^1.8.0, cn
Install
npx shadcn@latest add https://hextaui.com/r/textarea.json
Files
  • components/ui/textarea.tsx
  • components/ui/input.tsx
  • hooks/use-autosize.ts
  • hooks/use-composed-ref.ts
  • hooks/use-invalid-shake.ts
  • lib/motion.ts
  • hooks/use-merged-ref.ts
  • components/ui/number-flow.tsx
Source
https://github.com/preetsuthar17/hextaui

Categories

More from HextaUI