Text
Pure CSS
Backdrop
A pure-CSS decorative backdrop in seven moods — from aurora to signal stripes — dropped first inside any positioned section with your content on top.
Real scenarios
The component as it is used in a product — not a specimen grid.
aurora
The launch hero
One decorative div and the section is dressed — no image, no gradient CSS of your own.
Important props
| Prop | Type | Default | What it does |
|---|---|---|---|
| variant | string | 'aurora' | aurora · grid · stars · beams · dots · mesh · stripes — all in theme tokens, so light and dark both work. |
Snippet
<section style="position: relative; isolation: isolate; overflow: clip; display: grid; place-content: center; text-align: center; min-block-size: 22rem">
<x-nx::backdrop variant="grid" />
<h2>داشبورد خالیات منتظر است</h2>
<x-nx::button variant="primary" shape="pill">ساخت نخستین پروژه</x-nx::button>
</section>