Newsletter

Email signup section with input field and submit button.

Preview

Stay in the loop.

Get @trents/ui updates, new blocks, and bold UI tips.

Installation

terminal
$
Other package managers
bunx --bun shadcn@latest add https://trents.tech/r/newsletter.json

Usage

newsletter-demo.tsx
import Newsletter from "@/components/blocks/newsletter"

export default function NewsletterDemo() {
  return (
    <Newsletter
      // Customize the copy and call-to-action text.
      title="Stay in the loop."
      description="Get @trents/ui updates, new blocks, and bold UI tips."
      placeholder="you@brand.com"
      buttonLabel="Join the list"
    />
  )
}
0