Skip to contentKino
Skip to Content

Textarea

A textarea in the same box as Input, which grows with its text and then scrolls.

npx shadcn add https://kinoui.com/r/textarea.json
Share on

Examples

It grows as you write, then scrolls.

Default

It starts at three lines, grows with its text and then scrolls.

Tell us in a few words, so we can do better.

Invalid

Its mark sits in the top corner. For a counter, use InputGroupTextarea in an Input group.

Installation

npx shadcn@latest add https://kinoui.com/r/textarea.json
Files
lib/refs.tslib/reduce-motion.tscomponents/kino/input.tsxcomponents/kino/textarea.tsx
Packages
@base-ui/react

New to Kino? Installation covers what your project needs first and the @kino namespace.

API reference

Accessibility

  • In a Field, the label names it and the description and the error describe it.
  • It scrolls with a thin scrollbar once it reaches its tallest.
  • Its corner follows the shape, but never becomes a pill.