Component

Newsletter Card

Vibrant newsletter subscription card with email input, gradient background, and trust badges.

  • Component
  • Tailwind
  • HTML
  • MIT

What it does

Capabilities

  • Gradient background
  • Email input
  • Subscribe button
  • Trust badges
  • Frosted elements

Preview

Live component

Interactive preview
Open preview
9:41 100%
devsnips.site/library/tailwind/components/cards/newsletter-card/
fluid · no fixed width 100%
No dependencies Production-ready

Install

Add to your project

terminal
npx devsnips add Tailwind/Components/Cards/newsletter-card
registry path: Tailwind/Components/Cards/newsletter-card

Source

Implementation

code.html
<div class="relative bg-gradient-to-br from-violet-600 via-purple-600 to-indigo-700 rounded-2xl p-6 overflow-hidden">
  <div class="absolute inset-0">
    <div class="absolute top-10 right-10 w-32 h-32 bg-white/10 rounded-full blur-2xl"></div>
    <div class="absolute bottom-10 left-10 w-24 h-24 bg-pink-500/20 rounded-full blur-2xl"></div>
  </div>
  
  <div class="relative">
    <div class="w-14 h-14 bg-white/20 backdrop-blur rounded-2xl flex items-center justify-center mb-5">
      <svg class="w-7 h-7 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"/>
      </svg>
    </div>
    
    <h3 class="text-xl font-bold text-white mb-2">Stay in the Loop</h3>
    <p class="text-white/80 text-sm mb-5">Get weekly updates on new components, design trends, and exclusive content. No spam, unsubscribe anytime.</p>
    
    <form class="space-y-3">
      <input type="email" placeholder="Enter your email" class="w-full px-4 py-3 bg-white/10 backdrop-blur border border-white/20 rounded-xl text-white placeholder-white/60 focus:outline-none focus:ring-2 focus:ring-white/50">
      <button type="submit" class="w-full py-3 bg-white text-purple-700 font-semibold rounded-xl hover:bg-white/90 transition-colors">
        Subscribe Now
      </button>
    </form>
    
    <div class="flex items-center justify-center gap-6 mt-5 text-xs text-white/60">
      <span class="flex items-center gap-1">
        <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
        </svg>
        Free forever
      </span>
      <span class="flex items-center gap-1">
        <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
        </svg>
        Weekly updates
      </span>
      <span class="flex items-center gap-1">
        <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
        </svg>
        12k+ subscribers
      </span>
    </div>
  </div>
</div>
45 lines UTF-8 · LF · Spaces: 2
DevSnips AI ready Claude · Cursor · Windsurf

Agent skill & Model Context Protocol

Pass this component straight into your AI workflow. DevSnips exposes each resource as a structured, addressable registry entry, so your agent installs the real files instead of approximating them.

devsnips://components/cards/newsletter-card
Prompt instruction
I want to use this DevSnips resource in production:

Page:
https://devsnips.site/library/tailwind/components/cards/newsletter-card/

Install: npx devsnips add
Tailwind/Components/Cards/newsletter-card

This is the Newsletter Card — Vibrant newsletter subscription card with email input, gradient background, and trust badges.

Use this DevSnips resource as the starting point for my project.
Adapt it to my project's stack and conventions, fix any issues,
and make it production-ready while preserving its intended design
and behavior.

Paste into ChatGPT, Claude or your agent — it already carries the page URL and the exact install path.

Resource URI
devsnips://components/cards/newsletter-card