Forms

PolicyLock

Explains why a setting is policy-managed, identifies its source, and exposes the policy scope as a badge.

import { PolicyLock } from '@lostgradient/cinder/policy-lock';
formpolicy
01

Overview

PolicyLock explains why a setting is managed, names the policy source when available, and displays the policy scope as a Badge. Use it with SettingRow when a setting is visible but not locally editable.

Live preview
Managed by your organization Source: Security policy.
02

When to use

Use when
  • A control is unavailable because an administrator or policy source owns its value.
Avoid when
  • A control is unavailable for a temporary or non-policy reason.
03

Examples

Managed setting

Explain why a setting is controlled by policy.

04

Props

Props for policy-lock
NameTypeDefaultDescription
id required text
reason required text
source text
scope text