Skip to content

Promo code callout

A dashed callout highlighting an offer and its code, with the end date.

  • Tailwind
  • React
  • CSS
  • WordPress
Open in a new tab

Description

The code is shown in a monospaced font to avoid confusing characters (O and 0, I and l). The end date is stated plainly, a disclosure requirement for temporary discounts.

Code

Loading the code…

The code of this component in

Archive contents

alerte-code-promo-html-tailwind.zip3 files · 3 Ko

  • index.html2 Ko
  • README.md2 Ko
  • LICENSE.md1 Ko

Tags

Updated on December 3, 2026.

Reviews

No reviews yet.

In the same spirit

  • A banner that warns visitors when they lose the network and announces when it is back, using browser events, with no request.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A bell with an unread badge that opens a notification panel: icons by type, read and unread items told apart, and a "Mark all as read" button.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Short notifications that appear at the bottom of the screen after an action, then disappear.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • The four classic interface messages: information, success, warning and error.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component