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

EmptyState

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

Props

The full prop API for EmptyState. Same surface in web and React Native — bundlers pick the right variant via the react-native export condition.

PropTypeDefaultDescriptionSince
titlestring—Primary heading text. Required.0.5.0
descriptionstring—Optional muted description below the title.0.5.0
iconReactNode—Optional icon or illustration rendered above the title.0.5.0
actionReactNode—Optional action slot (typically a Button).0.5.0
classNamestring—Additional Tailwind classes.0.5.0

Import

import { EmptyState } from '@mihcm/ui/EmptyState';