Question: *How do I dim the page behind a modal?*

Answer#

A fixed inset-0 layer with translucent black (a scrim). undefined

Markup#

html
<div class="fixed inset-0 z-50 bg-black/50 grid place-items-center">modal…</div>

Where to go deeper#

Cookbook · Layout patterns · Utilities reference

Tip. This answer targets Nakshora 1.0. The same question is answered version-appropriately in every other release — use the version switcher.