--- id: inertia-rails/skills/shadcn-svelte-inertia version: "3cbcbe23" license: MIT install: manual updated: 2026-02-13 --- # shadcn-svelte-inertia — Adapt shadcn-svelte (bits-ui) components for Inertia.js + Rails + Svelte apps by replacing SvelteKit patterns with Inertia equivalents. Wire inputs to Inertia Form via name attributes, manage dialogs and tables with Inertia router, and configure flash-based toasts with Rails initializers. Publisher: inertia-rails · Stars: 64 · Updated: 2026-02-13 Install (manual): `git clone https://github.com/inertia-rails/skills` ## SKILL.md # shadcn-svelte for Inertia Rails shadcn-svelte (bits-ui) patterns adapted for Inertia.js + Rails + Svelte. NOT SvelteKit. **Before using a shadcn-svelte example, ask:** - **Does it use SvelteKit-specific APIs?** (`goto`, `$app/navigation`, `load` functions, `+page.svelte`) → Replace with Inertia `router`, server props, page components - **Does it use `sveltekit-superforms` + `zod`?** → Replace with Inertia `