OPUS/UI

Navigation

Empty

Empty state with drawn illustrations (inbox, search, error, folder), title, description and actions.

2 files · 63 locdeps: clsx, tailwind-merge

No projects yet

Create your first project to start deploying.

No results for “fluxx”

Try a different spelling or clear the filters.

Installation

With the shadcn CLI, pointing at this platform’s registry:

npx shadcn@latest add https://opusui.131199999.xyz/r/empty.json

Or offline, straight from your opus55 checkout (copies every file it needs):

node ../tailwind_component/opus55/scripts/add.mjs empty

Usage

import { Empty } from "@/components/opus/ui/empty";

<Empty title="No projects yet" action={<Button>New project</Button>} />

API

PropTypeDefaultDescription
illustration"inbox" | "search" | "error" | "folder" | ReactNode"inbox"Picture.
title / description / actionReactNode—Content.
borderedbooleantrueDashed frame.

Command palette