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 barWhen 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
| Prop | Type | Required | Description |
|---|---|---|---|
title | React.ReactNode | — | |
description | React.ReactNode | — | |
actions | React.ReactNode | — | |
icon | React.ReactNode | — | |
children | React.ReactNode | — | The real (blurred) content shown beneath the lock veil. |