Textarea

A multi-line text input for longer content.

Installation

Install the component package, shared coss-svelte theme, and Bits UI peer.

npm install coss-svelte @coss-svelte/theme bits-ui

Usage

Import the Svelte component exports directly from the package.

import { Textarea } from "coss-svelte";

Anatomy

Textarea exposes a single component export for the current implementation.

API Reference

Textarea

A multi-line text input for longer content.

children : Snippet<[]>

Inherits from Svelte <textarea> attributes.

Implementation Details

Status
Stable
Foundation
native
Category
Selection & Input
Particles
15