Subject under 72 characters. Body wraps at 80. Footer for trailers.

Styled quick start

Copy this entrypoint first. It includes the imports required to get the component on screen.

svelte
<script lang="ts">
  import '@dryui/ui/themes/default.css';
  import '@dryui/ui/themes/dark.css';
  import { Textarea, Field, Label } from '@dryui/ui';
</script>

<Field.Root>
  <Label>Message</Label>
  <Textarea bind:value={message} placeholder="Write a message…" />
</Field.Root>

Import options

Root package

ts
import { Textarea } from '@dryui/ui'

Per-component subpath

ts
import { Textarea } from '@dryui/ui/textarea'

API

Props, CSS variables, and the public data attributes you can target when styling.

Prop Type Description Default Required Bindable
size
smmdlg
Size preset affecting density, spacing, or typography. 'md' — —
value
string
Current controlled or bindable value. '' — ✓
disabled
boolean
Prevents interaction and applies disabled styling. false — —