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

TabNavigation

Link-based tab navigation for routed sections. Use Tabs for local state and TabNavigation when each item is a URL.

Live preview

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

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

export function Example() {
  return (
    <TabNavigation
  variant="contained"
  size="md"
    ></TabNavigation>
  );
}

Install

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

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