Description
Add a composable Empty component for empty results, missing content, first-use states, and other no-data presentations.
The component should follow the current shadcn/ui composition model instead of requiring each application to rebuild the same centered icon, title, description, and action layout.
Proposed parts
Empty
EmptyHeader
EmptyMedia with default and icon variants
EmptyTitle
EmptyDescription
EmptyContent
Actions and custom content should remain composable children.
Previous work
PR #2314 attempted an Empty component. It was closed without merging after a request to follow the shadcn style and later became inactive. Its implementation and screenshot may still be useful reference material.
Reference
Acceptance criteria
Description
Add a composable
Emptycomponent for empty results, missing content, first-use states, and other no-data presentations.The component should follow the current shadcn/ui composition model instead of requiring each application to rebuild the same centered icon, title, description, and action layout.
Proposed parts
EmptyEmptyHeaderEmptyMediawith default and icon variantsEmptyTitleEmptyDescriptionEmptyContentActions and custom content should remain composable children.
Previous work
PR #2314 attempted an Empty component. It was closed without merging after a request to follow the shadcn style and later became inactive. Its implementation and screenshot may still be useful reference material.
Reference
Acceptance criteria
website/docs/components/website/zh-CN/docs/components/