Design

/

Overlays

Last updated:

2025-08-27

Creght supports two types of overlays: Relative Overlay and Absolute Overlay.

Relative Overlay

A Relative Overlay floats around an element. It is commonly used for tooltips, dropdown menus, and similar UI patterns.

  • To add a relative overlay:
    1. Select any frame.

      image.png
    2. In the right panel, go to Overlay → Add → Relative.
  • By default, the overlay size is 200 × 200px, but you can resize it by dragging the edges.
  • An overlay works like a regular container, meaning you can add any child elements inside it just as you would on the main canvas.

     

    image.png

Example: A tooltip created with a relative overlay.
image.png

You can also find ready-to-use templates under Insert → Overlay.

image.png

Absolute Overlay

An Absolute Overlay covers the entire page. It is typically used for modals, video players, or detail views.

Example: A video modal with a close button.
image.png

  • To add an absolute overlay:
    1. Select any frame.
    2. In the right panel, go to Overlay → Add → Absolute.
  • An absolute overlay includes a fullscreen mask container by default.
    • The mask has fixed width and height (fullscreen) and cannot be resized.
    • However, you can customize its background color.

Relative vs. Absolute Overlay

FeatureRelative OverlayAbsolute Overlay
PositionFloats around an elementCovers the entire page
Typical Use CasesTooltip, dropdown menuModal, video player, data details
Default Size200 × 200px (resizable)Fullscreen (fixed)
Resizable✅ Yes (drag to adjust)❌ No (fixed fullscreen)
Background OverlayNot included✅ Includes fullscreen mask (color customizable)
How to AddRight panel → Overlay → Add → RelativeRight panel → Overlay → Add → Absolute

继续阅读

下一篇