Textarea
A multi-line text input for longer content.
<script lang="ts">
import { Textarea } from "coss-svelte";
</script>
<Textarea placeholder="Type your message here" />
Installation
Install the component package, shared coss-svelte theme, and Bits UI peer.
npm install coss-svelte @coss-svelte/theme bits-uiUsage
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