Skip to content

Modals components in Tailwind CSS

Modals that trap focus, close with Escape and return focus to the right place.4 free components to copy in Tailwind CSS, accessible and responsive, with a live preview.

The 4 components

  • A legal-age check window for a wine shop or brewery, accessible, remembered for the session and with the French Evin law notices.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A search covering the page, with popular suggestions, opened from the navigation bar.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A short form in a window to request a call from an advisor.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A small window asking to confirm an action before running it.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component