DryUI Components

Zero-dependency Svelte 5 primitives built on native browser APIs.

Strong variant

Use variant="strong" for more prominent visual separation.

v0.0.1 Stable MIT

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

<Separator />

Import options

Root package

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

Per-component subpath

ts
import { Separator } from '@dryui/ui/separator'

API

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

Prop Type Description Default Required Bindable
orientation
horizontalvertical
Horizontal or vertical layout direction. 'horizontal'
variant
weakstrong
Visual style preset for the component. 'weak'
decorative
boolean
true