SYS:ONLINE● ACTIVE
THEME
GITHUBv0.1.0

TEXTAREA

Multi-line text field with optional label and inline error message. Non-resizable by default. Minimum height 80px. Green caret, amber error states.

PREVIEW

Message exceeds 512 byte limit.

INSTALLATION

BASH
npx shadcn@latest add @scificn/textarea

USAGE

TSX
import { Textarea } from '@/ui/textarea'

export function Example() {
  return (
    <Textarea
      label="ENCODED MESSAGE"
      placeholder="PASTE CIPHER TEXT HERE..."
      rows={6}
      onChange={(e) => console.log(e.target.value)}
    />
  )
}

STATES

DEFAULT
Coordinate format invalid.
ERROR
DISABLED

PROPS

PROPTYPEDEFAULTDESCRIPTION
labelstringLabel text above the textarea. Auto-generates the id/htmlFor binding.
errorstringInline error message below. Turns border and label amber.
rowsnumberNumber of visible text rows (HTML rows attribute).
disabledbooleanfalseDisables the textarea and reduces opacity.
idstringOverride the auto-generated id.