Back to Components
Cards
Newsletter Signup
An email capture card with heading, subtext, and optional consent checkbox.
Get product updates
Monthly insights on launches, conversion, and messaging.
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/newsletter-signup.tsx
Installation
Using shadcn CLI
npx shadcn add newsletter-signup --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge