primitives/@mihcm/ui·v0.21.0·stable
RadioCardGroup
Card-style single-selection control built on RadioGroup semantics for plans, permissions, and setup choices.
Live preview
Adjust the controls on the right; the preview and code update in real time.
example.tsxtsx
import { RadioCardGroup } from '@mihcm/ui/RadioCardGroup';
export function Example() {
return (
<RadioCardGroup
orientation="horizontal"
columns="3"
tone="primary"
></RadioCardGroup>
);
}Install
Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.
npx @mihcm/cli add RadioCardGroupCopies the source into
components/ds/RadioCardGroup.tsx. You own the file. Use --out to override the directory or --force to overwrite.