Feedback
Empty
A centred placeholder for a view with nothing in it: icon, title, description and one action.
Group: Feedback. Exports: EmptyState, Empty. shadcn/ui equivalent: Empty (matches).
Usage
import { EmptyState } from "./halaska-kit";
EmptyState props
iconReactNode: Icon shown before the content.titlestring: Heading text.descriptionstring: Supporting text.actionReactNode:
Accessibility
- The title renders as a div, not a heading element.
- The action slot keeps the keyboard behaviour of whatever you pass, usually a Button.
- The icon is decorative text and may be read aloud if it is a symbol.
Halaska UI · Components · Patterns · Screens · Install