Reusable UI component displayed when a list or page has no data.
Supports an optional icon/illustration and an optional primary action
(navigation via href or callback via onClick).
Example
Withnavigationaction <EmptyState title="No videos yet" description="Upload your first video to get started." action={{ label: "Upload video", href: "/upload" }} />
Example
Withcallbackaction <EmptyState title="Something went wrong" description="We couldn't load the list." action={{ label: "Try again", onClick: () =>refetch() }} />
EmptyState Component
Reusable UI component displayed when a list or page has no data. Supports an optional icon/illustration and an optional primary action (navigation via href or callback via onClick).
Example
Example
Example