Theme

Start Here

Start from the smallest working snippet, then move to interactive examples and the full API contract below.

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 { TypingIndicator } from '@dryui/ui';
</script>

<TypingIndicator aria-label="Assistant is typing" />

Import options

Root package

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

Per-component subpath

ts
import { TypingIndicator } from '@dryui/ui/typing-indicator'

Customize

Use the interactive examples to see common variants, states, and composition patterns before building your own.

Default

svelte
<TypingIndicator />

Custom Accessible Label

svelte
<TypingIndicator aria-label="Alex is typing" />

Inline with Text

Alex is typing

svelte
<p>Alex is typing <TypingIndicator /></p>

Compose

The full API contract lives here: props, CSS variables, and the public data attributes you can target when styling.

Prop Type Default Required Bindable

Forwards <div> attributes via rest props. Common examples: id, style, role.