svelte-components

Develop Svelte 5 UI components using runes and shadcn-svelte.

2.5k|507|Updated Feb 7, 2014
One-click install
npx skills add https://github.com/exceptionless/Exceptionless --skill svelte-components-exceptionless
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: svelte-components
Source: https://github.com/exceptionless/Exceptionless/tree/main/.agents/skills/svelte-components
Command: npx skills add https://github.com/exceptionless/Exceptionless --skill svelte-components-exceptionless

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill streamlines the creation and management of Svelte 5 components, ensuring adherence to modern best practices and efficient development workflows.

Core Features & Use Cases

  • Svelte 5 Runes: Utilizes $state, $derived, and $effect for reactive UI updates.
  • Component Composition: Leverages snippets ({@render}) for flexible content projection.
  • UI Integration: Employs shadcn-svelte for consistent and accessible UI elements.
  • Use Case: Develop a new user profile card component in Svelte 5, using $state for user data, $derived for a computed display name, and shadcn-svelte's Card component for structure.

Quick Start

Create a new Svelte 5 component named user-profile-card.svelte using shadcn-svelte components and Svelte 5 runes.

Frequently Asked Questions about svelte-components

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build Svelte 5 UI components with runes and snippets?

Build Svelte 5 UI components by using runes like `$state`, `$derived`, and `$effect` for reactivity, and leverage snippets with `{@render}` for flexible content projection and composition.

What is the best way to integrate shadcn-svelte into a Svelte 5 frontend application?

Integrate shadcn-svelte into your Svelte 5 frontend application to provide accessible, consistent UI elements, following specific file organization and naming conventions for modern development patterns.

Can I use Svelte 5 runes like $state and $derived for reactive UI updates?

Yes, you can use Svelte 5 runes like `$state`, `$derived`, and `$effect` to manage reactive UI updates, replacing older reactivity patterns with modern, fine-grained state management.

How do I create a user profile card component using Svelte 5 and shadcn-svelte?

Create a `user-profile-card.svelte` file using `$state` for user data, `$derived` for a computed display name, and shadcn-svelte's `Card` component for the UI structure.

Does Svelte 5 development require specific file organization and naming conventions?

Svelte 5 development requires adherence to modern patterns, including specific file organization and naming conventions to streamline component creation and management workflows efficiently.