layout/@mihcm/ui·v0.21.0·stable
SectionHeader
Two-line header (title + optional muted description) with an optional trailing action slot. Used inside cards and editors.
Live preview
Adjust the controls on the right; the preview and code update in real time.
Module accessSet the access level per module for this role.
example.tsxtsx
import { SectionHeader } from '@mihcm/ui/SectionHeader';
export function Example() {
return (
<SectionHeader
title="Module access"
description="Set the access level per module for this role."
/>
);
}Install
Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.
npx @mihcm/cli add SectionHeaderCopies the source into
components/ds/SectionHeader.tsx. You own the file. Use --out to override the directory or --force to overwrite.