Priority Flag Contact Form

This contact form allows users to flag urgency directly, enabling faster triage without additional fields or steps.

HTML

<form class="contact-priority">
  <input type="email" placeholder="Email" />
  <label class="contact-priority__flag">
    <input type="checkbox" />
    <span>High priority</span>
  </label>
  <button type="submit">Submit</button>
</form>

CSS

.contact-priority {
  width: 200px;
  padding: 0.8rem;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(0,0,0,0.14);
  display: grid;
  gap: 0.45rem;
  text-align: center;
}

.contact-priority input[type="email"] {
  padding: 0.45rem;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 12px;
}

.contact-priority__flag {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  font-size: 11px;
  color: #374151;
}

.contact-priority button {
  padding: 0.45rem;
  border-radius: 999px;
  border: none;
  background: #ef4444;
  color: #ffffff;
  font-size: 12px;
  cursor: pointer;
}

@media (prefers-color-scheme: dark) {
  .contact-priority {
    background: #020617;
  }

  .contact-priority input[type="email"] {
    background: #020617;
    border-color: #374151;
    color: #e5e7eb;
  }

  .contact-priority__flag {
    color: #d1d5db;
  }
}

Notes

  • Built-in urgency signaling
  • Minimal cognitive overhead
  • Useful for support escalation

Preview styles shown. Production customization recommended.

Browse More UI Components

Explore hundreds of reusable HTML & CSS UI components built for modern web projects.
Discover buttons, cards, loaders, animations, layouts, and more all with live previews and clean, copy-paste code.

Leave a Reply

Your email address will not be published. Required fields are marked *