Textarea

A multi-line text input that shares the Input styling.

Installation

Copy the command below and run it in your terminal.

bunx @sivir-ui/svelte add textarea

Usage

Import Textarea and bind its value. Add autoresize for message composers that grow with their content.

import { Textarea } from '$lib/sivir/components/textarea';

<Textarea bind:value autoresize label="Message" />

Examples

Textarea in different configurations.

Basic

With label and description

Disabled

Anatomy

Textarea - Accepts a multi-line value.