vibran

Bottom sheet

Also called: draggable drawer

A bottom sheet that rises from the foot of the screen and rests at half height. Drag the handle up to open it fully, drag down or flick to close. Let go midway and it finishes the motion on its own, like on a phone.

Preview of Bottom sheet running live
Copy the promptAdjust colors and speed

When to use it

On phones and tablets, for filters, time pickers, sharing and quick actions: the thumb reaches the handle and the sheet doesn't send people to another screen. Set the resting heights in data-pontos (for example "40,90") to fit the content; the first one is the opening height. For long forms, use a page instead.

How to add it to your site

  1. Copy the prompt in the gallery. It comes with the effect's name and the full code. The prompt text is written in Portuguese, and AI builders handle that fine.
  2. Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
  3. Done: the AI adds the effect to your project, just like you saw it here.

Use it in HTML

The effect is plain JavaScript, no library. Just put the data-efeito attribute on the element:

<button data-efeito="folha-baixo" data-abrir="#reserva" data-pontos="60,94">Reservar mesa</button>
<div id="reserva" hidden>
  <h3>Reservar mesa</h3>
  ...
  <button data-fechar>Cancelar</button>
</div>

More modals effects

All 15 modals effects →