Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Accelerating the Agent Economy

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    spences10

    svelte-components

    spences10/svelte-components
    Design
    153
    2 installs

    About

    SKILL.md

    Install

    Install via Skills CLI

    or add to your agent
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    ├─
    ├─
    └─

    About

    Svelte component patterns. Use for web components, component libraries (Bits UI, Ark UI, Melt UI), form patterns, or third-party integration.

    SKILL.md

    Svelte Components

    Quick Start

    Component libraries: Bits UI (headless) | Ark UI | Melt UI (primitives)

    Form trick: Use form attribute when form can't wrap inputs:

    <form id="my-form" action="/submit"><!-- outside table --></form>
    <table>
    	<tr>
    		<td><input form="my-form" name="email" /></td>
    		<td><button form="my-form">Submit</button></td>
    	</tr>
    </table>
    

    Web Components

    // svelte.config.js
    export default {
    	compilerOptions: {
    		customElement: true,
    	},
    };
    
    <!-- MyButton.svelte -->
    <svelte:options customElement="my-button" />
    
    <button><slot /></button>
    

    Reference Files

    • component-libraries.md - Bits UI, Ark UI setup
    • web-components.md - Building custom elements
    • form-patterns.md - Advanced form handling

    Notes

    • Bits UI 1.0: flexible, unstyled, accessible components for Svelte
    • Form defaultValue attribute enables easy form resets
    • Use snippets to wrap rich HTML in custom select options
    • Last verified: 2025-01-14
    Recommended Servers
    Vercel Grep
    Vercel Grep
    Repository
    spences10/svelte-claude-skills
    Files