svelte-ui-design

105
13
Source

ALWAYS use this skill for ANY Svelte component styling, design, or UI work. Svelte 5 UI design system using Tailwind CSS 4, Skeleton Labs design tokens/presets/Tailwind Components, and Bits UI headless components. Covers class composition, color systems, interactive components, forms, overlays, and all visual design.

Install

mkdir -p .claude/skills/svelte-ui-design && curl -L -o skill.zip "https://mcp.directory/api/skills/download/121" && unzip -o skill.zip -d .claude/skills/svelte-ui-design && rm skill.zip

Installs to .claude/skills/svelte-ui-design

About this skill

Svelte UI Design System

Svelte 5 + Tailwind CSS 4 + Skeleton Labs + Bits UI 통합 디자인 시스템

When to Use This Skill

자동 활성화:

  • ANY Svelte component creation or modification
  • ALL styling, design, and UI work in Svelte projects
  • Component props, layouts, colors, spacing, typography
  • Forms, buttons, cards, chips, badges, tables, dialogs, overlays
  • Animations, transitions, hover effects, responsive design
  • Dark mode, themes, conditional styling, dynamic values

Core Principles

  1. 컴포넌트: Bits UI headless 컴포넌트만 사용
  2. 스타일링:
    • Skeleton Labs 토큰/프리셋 (preset-filled, preset-tonal 등)
    • Skeleton Labs Tailwind Components (card, chip, badge, placeholder 등 - 클래스 조합)
    • Tailwind CSS 유틸리티
  3. Skeleton 색상/프리셋: 반드시 공식 문서 참고, 직접 shade 조합 만들지 말 것
  4. Progressive disclosure: 필요한 문서만 참조
  5. 1-level deep 참조: SKILL.md → reference 파일만

Available References

Get Started

Design System

Tailwind CSS 4

Svelte 5

Tailwind Components (Skeleton Labs 클래스 조합)

클래스로 디자인을 뭉쳐놓은 기본 요소. card, chip, badge, placeholder 등.

Bits UI - Headless Components

Guides

Migration

Bits UI - Headless Components (42개)

완전히 커스터마이징 가능한 unstyled 컴포넌트. Skeleton Labs 토큰/프리셋으로 스타일링.

주요 카테고리:

  • Layout: Accordion, Collapsible, Tabs, Separator
  • Overlays: Dialog, Popover, Tooltip, Context Menu, Drawer
  • Forms: Checkbox, Radio Group, Switch, Slider, Select, Combobox
  • Date/Time: Calendar, Date Picker, Date Range Picker, Time Field
  • Navigation: Dropdown Menu, Menubar, Navigation Menu, Pagination
  • Display: Avatar, Progress, Meter, Badge
  • Interactive: Button, Toggle, Link Preview

Quick Reference

Skeleton Labs 중요 규칙

Color Pairings (반드시 colors-design.md 참고):

  • 패턴: {property}-{color}-{lightShade}-{darkShade}
  • 허용 조합: 50-950, 100-900, 200-800, 300-700, 400-600, 500, 600-400, 700-300, 800-200, 900-100, 950-50
  • 규칙: 두 shade의 합이 1000 또는 500 단독
  • 예: bg-surface-50-950, text-primary-200-800

Presets (반드시 presets-design.md 참고):

  • Filled: preset-filled-{color}-{lightShade}-{darkShade} 또는 preset-filled-{color}-500
  • Tonal: preset-tonal-{color}
  • Outlined: preset-outlined-{color}-{lightShade}-{darkShade}

Svelte 5 Class Composition

<!-- Array form -->
<div class={['base', condition && 'extra']}>

<!-- Object form -->
<div class={{ 'active': isActive, 'disabled': !enabled }}>

<!-- Style directive for dynamic values -->
<div
  class="bg-(--brand-color)"
  style:--brand-color={dynamicValue}>

Usage Pattern

<script lang="ts">
  import { Dialog } from "bits-ui";
</script>

<Dialog.Root>
  <Dialog.Trigger class="btn preset-filled-primary-500">
    Open
  </Dialog.Trigger>
  <Dialog.Content class={[
    'card preset-filled-surface-50-950',
    'p-8 rounded-xl shadow-xl'
  ]}>
    <Dialog.Title class="h3 text-primary-600-400">
      Title
    </Dialog.Title>
  </Dialog.Content>
</Dialog.Root>

Best Practices

  1. 컴포넌트: Bits UI headless 컴포넌트만 사용
  2. 스타일링: Skeleton Labs 토큰/프리셋 + Tailwind Components (card, chip, badge 등) + Tailwind 유틸리티
  3. Skeleton 색상/프리셋: 반드시 공식 문서(colors-design.md, presets-design.md)에서 확인
  4. Class 조합 순서: Tailwind Components → 프리셋 → 레이아웃 → 간격 → 조건부 → variant
  5. 접근성: WCAG 대비 비율, focus-visible 상태
  6. 성능: Svelte class 배열/객체 사용, Skeleton 프리셋 활용
  7. 일관성: 동일한 용어 사용, 3인칭 작성

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

282789

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

205415

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

199280

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

210231

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

169197

rust-coding-skill

UtakataKyosui

Guides Claude in writing idiomatic, efficient, well-structured Rust code using proper data modeling, traits, impl organization, macros, and build-speed best practices.

165173

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.