Skip to content

Svelte support#5

Merged
schorle0 merged 2 commits intomainfrom
svelte-support
Mar 4, 2026
Merged

Svelte support#5
schorle0 merged 2 commits intomainfrom
svelte-support

Conversation

@erasmus
Copy link
Copy Markdown
Contributor

@erasmus erasmus commented Mar 4, 2026

Update the Design system to also play nice with Svelte.

@schorle0 fyi:

⏺ The Design System itself needs no changes — it's framework-agnostic (CSS variables, YAML
tokens, GSAP presets, assets). However, there's one notable issue when targeting Svelte:
hugeicons-react (Cardinal Rule 4)
The specified icon library is hugeicons-react, which is a React package and won't work in
Svelte. Your options:

  1. Use @hugeicons/svelte — Hugeicons publishes an official Svelte package. You'd install that
    instead.
  2. Fallback to Lucide — The design system already permits this as a fallback ("Fallback to
    Lucide only if unavailable").

Everything else is fine

So, most of the design system should be available to Svelte apps 👌

Adding this update to make it clear to all consumers of this system.

@erasmus erasmus requested a review from schorle0 March 4, 2026 16:58
@erasmus erasmus assigned erasmus and schorle0 and unassigned erasmus Mar 4, 2026
@erasmus erasmus removed the request for review from schorle0 March 4, 2026 16:58
@schorle0 schorle0 merged commit 4b6b413 into main Mar 4, 2026
@erasmus erasmus deleted the svelte-support branch March 27, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants