Styling
The package is headless. Its stylesheet provides structural positioning, viewport bounds, overflow handling, and stacking, but no modal surface, backdrop color, padding, shadow, or typography.
Add application defaults
Style the component surface
Recommended ownership
- Use
backdropfor dimming and overlay visuals. - Use
bodyfor viewport spacing and container constraints. - Put the actual surface, typography, and controls in the modal component.
The body wrapper scrolls vertically when content exceeds the viewport and hides horizontal overflow caused by off-screen motion.
