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

EmptyState

Centered placeholder for empty sections — optional icon, title, description, and action button.

Live preview

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

No results found

Try adjusting your search or filters.

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

export function Example() {
  return (
    <EmptyState
  title="No results found"
  description="Try adjusting your search or filters."
    ></EmptyState>
  );
}

Install

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

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