Data displayCardOverlay

Open in Create
Search
astronomic.dev

CardOverlay

Free

For a short title on a large picture, like a featured project or a place, with the text on the dimmed image.

File
CardOverlay.astro
Group
Data display
Kind
Static: no JavaScript
Examples
1
import CardOverlay from "@astronomic-dev/ui/components/CardOverlay.astro";

Examples

Drag the orange handle to set the width. Frames get real breakpoints.

  • Static
  • Interactive
  • Framed

Text on the image

The image fills the card, dimmed by --ui-scrim, a dark ink in both modes. The scrim is heavier at the foot, where the text sits.

Force state
main.astro
Minimal · Light

Waitlist

Be first in line

Join the waitlist and we'll email you the moment it's out.

You'll also get our newsletter: new themes, plugins and guides. Unsubscribe any time.