modal
UI primitives The shapes a component cannot be, because they wrap a body only the caller knows: cards, data grids, menus and the shells' own chrome.
A modal is its own URL, not client state: the page underneath, marked inert, with the panel over it and a plain link to close.
Each example is live, but its links go nowhere. HTML shows the markup to copy.
<div rst-backdrop inert >
<div rst-page >
<h1 >Settings</h1 >
</div >
</div >
<div rst-modal-overlay >
<dialog rst-modal-panel open aria-labelledby ="modal-title" >
<nav >
<a href ="/settings/profile" aria-current ="page" >Profile</a >
<a href ="/settings/billing" >Billing</a >
<a href ="/settings/notifications" >Notifications</a >
</nav >
<section >
<a rst-modal-close href ="/settings" aria-label ="Close settings" >✕</a >
<h2 id ="modal-title" >Profile</h2 >
<p >Update the name and photo shown across the account.</p >
</section >
</dialog >
</div >
In an app this would reach /settings, /settings/billing, /settings/notifications, /settings/profile. Here its links and forms go nowhere.