Svelte Components
Svelte component patterns covering web components, headless component libraries, and form handling.
- CCM score
- 48 of 100
- skills.sh installs
- 583
- GitHub stars
- 96
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers Bits UI, Ark UI, and Melt UI as headless component primitives with setup guidance in a reference file
- Includes a Quick Start with a form attribute trick for submitting forms when inputs cannot be wrapped by a form element
- Provides a Web Components section showing
customElementcompiler configuration and a custommy-buttonelement with slots - Designed for Svelte developers building component libraries, advanced form handling, or third-party integrations
Install
$ npx -y skills add spences10/svelte-skills-kit --skill svelte-components -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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
defaultValueattribute enables easy form resets - Use snippets to wrap rich HTML in custom select options
- Last verified: 2025-01-14
Details
- Repository
- github.com/spences10/svelte-skills-kit
- Category
- Frontend & UI Code
- First seen
- Jun 3, 2026
Questions
What does the svelte-components skill cover?
It covers Svelte component patterns for web components, component libraries such as Bits UI, Ark UI and Melt UI, form patterns, and third-party integration. The skill includes a form attribute trick for forms that cannot wrap their inputs, plus guidance on building custom elements.
How do I install the svelte-components skill?
Run this command in a project: npx -y skills add spences10/svelte-skills-kit --skill svelte-components -y. Once installed, your agent can use Svelte component patterns when building components, forms or web components.
Which other skills sit in the same category?
The svelte-components skill is in the Frontend & UI Code category on Claude Marketplaces, alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. It focuses specifically on Svelte components rather than React or general design guidance.
More from spences10/svelte-skills-kit
All 7Similar to Svelte Components
More Frontend & UI Codeweb-component-designSkillwshobson/agents14.2K installsReusable UI component patterns across React, Vue, and Svelte, covering styling and API design.
svelte-runesSkillspences10/svelte-skills-kit1.1K installsSvelte 5 runes guidance that picks the right rune for state, props, effects, or Svelte 4 migration.
shadcn-svelteSkillhuntabyte/shadcn-svelte7.8K installsShadcn-svelte component reference and rules for building Svelte UI with the CLI-based workflow.
svelte-developmentSkillmanutej/luxor-claude-marketplace438 installsSvelte 5 skill covering runes, components, stores, lifecycle, and transitions with compile-time reactivity.
sveltekitSkillmindrally/skills773 installsExpert SvelteKit guidance covering routing, SSR/SSG, form actions, and Tailwind styling for TypeScript projects.
svelte-skillsPluginspences10/svelte-skills-kit96 starsSvelte 5 runes, SvelteKit data flow, routing, and structure patterns