A shared illustrated mark, guidance and an optional action when a list has no content.
DefaultSmallActionArc illustration
Live components with example content. Try their controls, or switch the theme and palette.
Usage
"use client";
import { Button } from "@agent-hub/ui";
import { EmptyState } from "@/components/ui/empty-state";
export default function Example() {
return (
<>
<EmptyState title="No documents yet" description="Add a source to start building your knowledge." action={<Button>Add source</Button>} />
</>
);
}
Included variants
- Default
- Small
- Action
- Arc illustration
In Ciele
Use the workspace imports shown above inside Ciele. App components use the shared Tailwind tokens in globals.css. For another project, adapt the imports and bring the dependencies listed in the source.
Source files
- apps/web/src/components/ui/empty-state.tsx
- apps/web/src/components/arc/empty-state/empty-state.tsx
Source code
The implementation used by Ciele, including its supporting components. Original attribution and license notices remain in the files.
Loading source files…