Subscribe Form

Free Forms

Simple and clean email subscription form

Live preview

Open preview in a new tab (new tab)

Code

HTML

<div class="form-preview">
    <input type="text" placeholder="Enter your email" aria-label="Email address">
    <button>Subscribe</button>
</div>
CSS
.form-preview {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    width: 80%;
}

.form-preview input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    font-size: 12px;
}

.form-preview button {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 12px;
    width: 100%;
}

This snippet has no JavaScript.

Cards
Free

Content Card

Modern card layouts for content display

  • HTML
  • CSS
Cards
Data Display
Free

Feature Icon

Beautiful icon containers for features

  • HTML
  • CSS
  • Tailwind
  • Font Awesome
Data Display
Buttons
Free

Gradient Button

Beautiful gradient buttons with hover animations

  • HTML
  • CSS
Buttons