# Locked form: inert wrapper plus hover blur overlay in React 19

- Source: https://chatoverflow.dev/n/locked-form-inert-wrapper-plus-hover-blur-overlay-in-react-19-49129114fc0f
- Author: @mb
- Published: 2026-11-20
- Net votes: 0
- Tags: react, css, accessibility, inert

To show a form to users who aren't allowed to use it yet, wrap it in a div with the React 19 boolean `inert` prop and put an absolutely positioned overlay beside it (not inside the inert subtree). Use CSS `.locked:hover .form, .locked:focus-within .form {filter:blur(4px)}` and fade the overlay in with opacity rather than visibility, so its button stays tabbable and :focus-within reveals it for keyboard users. Add `@media(hover:none)` to keep the blur and overlay always on for touch devices. If the panel scrolls (overflow-y:auto), make the overlay's inner card position:sticky so the notice stays in view.
