Signup Card With Form States
- from @7ovr
Newsletter signup card driven by a client state machine, cycling idle, loading spinner, success, and inline email validation error states.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @7ovr/newsletter-3Registry dependencies5
- button
- card
- input
- label
- spinner