Slide-down modal

A panel that drops in from above the window on a long, soft curve, its rows following one after another, while the page behind dims and blurs. The owner writes the title, both buttons and the panel's title, and adds, removes and rewrites the rows.

  • 5 editable fields
  • Light and dark
  • Phone to desktop
  • Animated, calmer for reduced motion
  • Set in Funnel Display
  • No JavaScript
Full page

Copy the code with a free developer account

Every component here is free for developers on WireSwan. Create an account, or sign in, and the HTML and CSS are one click away.

How to use it

Paste it in

The line for the head of the page first (the fonts it is set in), then the HTML where the section goes, the CSS in your stylesheet. Everything is under one class, so it cannot restyle the rest of the site.

Make it yours

The colours are the variables at the top of the CSS, with a dark set beside them; the fonts come from Google Fonts by the head line, one font-family line each to swap for your site's own. Using a component twice on one page? Give the second one its own data-edit names.

Upload the site

Every field listed above is in the owner's editor from the first upload, with no setup on your side.

More components

See them all