data/@mihcm/ui·v0.21.0·stable
BarList
Compact ranked-value list with tokenized bars, optional row links, icons, value formatting, and motion-backed width animation.
Live preview
Adjust the controls on the right; the preview and code update in real time.
Payroll approvals128 items
Recruiting tasks96 items
Policy reviews72 items
example.tsxtsx
import { BarList } from '@mihcm/ui/BarList';
export function Example() {
return (
<BarList
showValues
showAnimation
maxValue="auto"
></BarList>
);
}Install
Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.
npx @mihcm/cli add BarListCopies the source into
components/ds/BarList.tsx. You own the file. Use --out to override the directory or --force to overwrite.