shadcn-inertia
Installation
SKILL.md
shadcn/ui for Inertia Rails
shadcn/ui patterns adapted for Inertia.js + Rails + React. NOT Next.js.
Before using a shadcn example, ask:
- Does it use
react-hook-form+zod? → Replace with Inertia<Form>+nameattributes. Inertia handles CSRF, errors, redirects, processing state — react-hook-form would fight all of this. - Does it use
'use client'? → Remove it. Inertia has no RSC — all components are client components. - Does it use
next/link,next/head,useRouter()? → Replace with Inertia<Link>,<Head>,router.
Key Differences from Next.js Defaults
Related skills