mail Send a message
Min 20 characters

States


Min 20 characters
Message too short
Looks good!


Svelte
<script lang="ts">
    let message: string = $state("");
</script>

<Textarea
    bind:value={message}
    label="Message"
    rows={5}
    placeholder="Write something…"
/>

API


PropTypeDefault
valuestring""
placeholderstring""
labelstring—
hintstring—
errorstring—
successstring—
size"sm" | "md" | "lg""md"
rowsnumber3
disabledbooleanfalse
readonlybooleanfalse
requiredbooleanfalse
namestring—
idstring—
Prop value
Type string
Default ""
Prop placeholder
Type string
Default ""
Prop label
Type string
Default —
Prop hint
Type string
Default —
Prop error
Type string
Default —
Prop success
Type string
Default —
Prop size
Type "sm" | "md" | "lg"
Default "md"
Prop rows
Type number
Default 3
Prop disabled
Type boolean
Default false
Prop readonly
Type boolean
Default false
Prop required
Type boolean
Default false
Prop name
Type string
Default —
Prop id
Type string
Default —