Inputs and selection
Textarea
function TextareaDemo() { return <Textarea placeholder="Type your message here." className="w-full" />;}API
<Textarea placeholder numberOfLines? />Get it
Already in every copy of the native kit:
import { Textarea } from '@/components/ui/textarea';Details
- Exports
Textarea- Installs with
- @halftone-native/lib-component-classes, @halftone-native/lib-palette-context, @halftone-native/lib-theme, @halftone-native/lib-utils, @halftone-native/text
- Also searched as
- multiline, message
- Registry JSON
- /r/native/textarea.json
<div className="grid w-full max-w-sm gap-2"> <Label htmlFor="demo-notes">Notes</Label> <Textarea id="demo-notes" placeholder="Anything the team should know" /></div>API
<Textarea id placeholder rows? />Get it
Already in every copy of the web kit:
import { Textarea } from '@/components/ui/textarea';Details
- Exports
Textarea- Packages
- cn@^0.5.2
- Registry JSON
- /r/web/textarea.json
Agents: the whole registry is at /llms.txt.