Textarea
Multi-line text input.
Installation
Once per app, set up Aedis UI. The CLI verifies the signed release before writing anything and pins every dependency:
npx @aedis/cli@0.1.0 initImport the theme once in your global CSS, after Tailwind:
app/globals.css
@import "tailwindcss";@import "./styles/aedis-theme.css";Then add the component:
npx @aedis/cli@0.1.0 add textarea# pnpm dlx @aedis/cli@0.1.0 add textarea · yarn dlx @aedis/cli@0.1.0 add textarea · bunx @aedis/cli@0.1.0 add textareaProps
| Prop | Type | Default | Description |
|---|---|---|---|
| maxLength | number | 4000 | Length limit; match it to the server's. |
| ...props | textarea props | — | Every prop of the native textarea. |
Security
- Limited to 4000 characters by default; set maxLength to the server's limit so people see it before submitting.