Docs
Textarea

Textarea

Displays a form textarea or a component that looks like a textarea.

Loading...

Installation

	npx shadcn-svelte@latest add textarea

Usage

	<script lang="ts">
  import { Textarea } from "$lib/components/ui/textarea";
</script>
	<Textarea />

Examples

Default

Loading...

Disabled

Loading...

With Label

Loading...

With Text

Loading...

With Button

Loading...

Form

When using the textarea in a form, you'll want to use the <Form.Textarea /> component, which is a wrapper around your existing <Textarea /> with some additional functionality for seamless form integration.

Loading...