Textarea
A native, styled textarea element.
Props
Prop | Type | Default |
---|---|---|
color | base | brand | - |
size | sm | md | lg | - |
contrast | boolean | - |
label | string | - |
label | string | - |
placeholder | string | - |
text | string | - |
html | string | - |
HTML Attributes | Polymorphic<input> | - |
Examples
size
The size prop cascades: it is inherited from the parent and it is applied to all children.
---import { Textarea } from 'fulldev-ui'---
<Textarea size="sm" name="message" placeholder="name" /><Textarea size="md" name="message" placeholder="name" /><Textarea size="lg" name="message" placeholder="name" />