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

EmptyState

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

Minimal

Nothing here

import { EmptyState } from '@mihcm/ui/EmptyState';
 
<EmptyState title="Nothing here" />

With description

No results found

Try adjusting your search or filters to find what you are looking for.

import { EmptyState } from '@mihcm/ui/EmptyState';
 
<EmptyState
  title="No results found"
  description="Try adjusting your search or filters to find what you are looking for."
/>

With icon and action

No projects yet

Create your first project to get started.

import { EmptyState } from '@mihcm/ui/EmptyState';
import { Button } from '@mihcm/ui/Button';
import { Plus } from '@mihcm/icons';
 
<EmptyState
  icon={<Plus />}
  title="No projects yet"
  description="Create your first project to get started."
  action={<Button>Create project</Button>}
/>

Inside a Card

No team members

Invite people to join your team.

import { Card, CardContent } from '@mihcm/ui/Card';
import { EmptyState } from '@mihcm/ui/EmptyState';
 
<Card>
  <CardContent>
    <EmptyState
      title="No team members"
      description="Invite people to join your team."
    />
  </CardContent>
</Card>