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

<Link>Content</Link>

Import options

Root package

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

Per-component subpath

ts
import { Link } from '@dryui/ui/link'

Customize

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

Default

svelte
<Link href="/getting-started">Getting Started</Link>

External

svelte
<Link href="https://svelte.dev" external>Svelte Documentation</Link>

Disabled

svelte
<Link href="#" disabled>Disabled Link</Link>

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
external
boolean
false
disabled
boolean
false
underline
alwayshovernone
'hover'
children
Snippet

Forwards <a> attributes via rest props. Common examples: href, target, rel.