Skip to main content

LockedOverlay

Veils real (blurred) content behind a lock veil, with a title, description and unlock actions — for a gated feature the user could unlock (e.g. upgrade).

Signature
Density
Viewport
Theme and light/dark are set in the top bar
Live demo
Open ↗

When to use​

Veils real (blurred) content behind a lock veil, with a title, description and unlock actions — for a gated feature the user could unlock (e.g.

Accessibility​

Explains why access is limited in text, not colour alone, and offers the next action (request access). Banners use role="status".

Install and import​

npx shadcn@latest add @prism/locked-overlay
import { LockedOverlay } from '@/components/prism/LockedOverlay';

In a no-build prototype, read it from the bundle instead: const { LockedOverlay } = window.PrismDesignSystem_39d121;

Props​

PropTypeRequiredDescription
titleReact.ReactNode—
descriptionReact.ReactNode—
actionsReact.ReactNode—
iconReact.ReactNode—
childrenReact.ReactNode—The real (blurred) content shown beneath the lock veil.