Skip to main content

Installation

npx shadcn-svelte@next add textarea

Usage

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

Examples

Default

Basic textarea implementation.

Disabled

Disabled state for the textarea.

With Label

Textarea with an associated label.

With Text

Textarea with helper text.

With Button

Textarea combined with a button.

Build docs developers (and LLMs) love