MiHCM
primitives/@mihcm/ui·v0.21.0·stable

AccessLevelGroup

4-state segmented button: None / View / Edit / Full Access. Each option has its own brand color when active.

Live preview

Adjust the controls on the right; the preview and code update in real time.

example.tsxtsx
import { AccessLevelGroup } from '@mihcm/ui/AccessLevelGroup';

export function Example() {
  return (
    <AccessLevelGroup    >
      none
    </AccessLevelGroup>
  );
}

Install

Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.

npx @mihcm/cli add AccessLevelGroup
Copies the source into components/ds/AccessLevelGroup.tsx. You own the file. Use --out to override the directory or --force to overwrite.