A component used to represent a state when there is no data to display, such as a 404 page, an empty search result, or a missing collection.
Live Preview
Installation
npx kinetic-ui-cli@latest add empty-stateUsage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { EmptyState } from "@/components/ui/empty-state";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { EmptyState } from "@/components/ui/empty-state";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<EmptyState
icon{/* value */}
title="example"
description="example"
/>
</div>
);
}