svelte-core

Community

Embed Svelte 5 in Phoenix LiveView.

Authorhwatkins
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Svelte components can be embedded inside Phoenix LiveView, enabling end-to-end reactivity and SSR while leveraging Svelte's UI capabilities.

Core Features & Use Cases

  • Embed Svelte components in LiveView templates and pass reactive props from server assigns.
  • Leverage SSR by rendering Svelte components on the server with hydration on the client.
  • Use the LiveSvelte APIs (live.pushEvent, component macros, and slot support) to synchronize state with LiveView.

Quick Start

Render a Svelte component in your LiveView by using the svelte wrapper and pass an initial props map.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: svelte-core
Download link: https://github.com/hwatkins/my-skills/archive/main.zip#svelte-core

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.