svelte-components

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

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "svelte-components" with this command: npx skills add spences10/svelte-skills-kit/spences10-svelte-skills-kit-svelte-components

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

sveltekit-structure

No summary provided by upstream source.

Repository SourceNeeds Review
General

svelte-runes

No summary provided by upstream source.

Repository SourceNeeds Review
General

sveltekit-remote-functions

No summary provided by upstream source.

Repository SourceNeeds Review
General

sveltekit-data-flow

No summary provided by upstream source.

Repository SourceNeeds Review