apps/design-system/content/docs/fragments/empty-state-presentational.mdx
Expects a title, description, and optional action buttons or other children.
All text should be written using active language. The title should prompt the user to take an action, and the description should clearly explain the value of doing so.
Supports both Lucide icons and custom icons via the icons package. If neither are passed, Empty State Presentational falls back to Lucide’s SquarePlus.
See also Empty States.
It’s okay to repeat buttons inside of Empty State Presentational that are also available outside of it. The alternative is to conditionally determine button placement whilst polling for list length (to determine whether to show an empty state or not). This is problematic for two reasons:
When repeating buttons, set the type to default so the original primary, button remains the only primary action on display.