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

<WaveDivider shape="wave" color="var(--dry-color-primary)" height={48} />

Import options

Root package

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

Per-component subpath

ts
import { WaveDivider } from '@dryui/ui/wave-divider'

Customize

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

Default

svelte
<WaveDivider />

Shapes

svelte
<WaveDivider shape="wave" />
<WaveDivider shape="curve" />
<WaveDivider shape="angle" />
<WaveDivider shape="zigzag" />

Flipped with Custom Color

svelte
<WaveDivider shape="wave" flip color="var(--dry-blue-500)" />

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

Also accepts standard HTML attributes (class, style, id, etc.)