Back to components

Cards

Empty State Panel

A friendly empty state with a primary action for variant, file, or project creation.

emptystatecta

Installation

Copy and paste the code into your project.

Accessibility notes

Keep the empty-state message and action visible as text.

+

No variants yet

Create the first prompt variant to compare quality, cost, and latency.

Preview accent

TypeScript
export function EmptyStatePanel() {
  return (
    <section className="grid w-full max-w-sm place-items-center rounded-lg border border-dashed border-[#40E0D0]/30 bg-[#40E0D0]/8 p-8 text-center">
      <span className="grid h-12 w-12 place-items-center rounded-full bg-[#40E0D0]/14 text-sm font-black text-[#d8fffb]">+</span>
      <h3 className="mt-4 text-base font-bold text-white">No variants yet</h3>
      <p className="mt-2 max-w-xs text-sm leading-6 text-slate-400">Create the first prompt variant to compare quality, cost, and latency.</p>
      <button className="mt-5 rounded-full bg-[#40E0D0] px-4 py-2 text-sm font-bold text-[#0b0f14]" type="button">
        Add variant
      </button>
    </section>
  );
}
Usage
<EmptyStatePanel />

Related components

Buttons

Neon Gradient Button

Beginner

A compact call-to-action with a glowing gradient edge and dark inner surface.

ctagradientglow
View component

Command palette

⌘K
Generate dashboard layout

3 actions ready · 1 agent online

Cards

Glass Command Card

Beginner

A glassmorphism command card for product shortcuts, palettes, and agent actions.

glasscommandshortcut
View component
component.tsx
<Button glow>
  Ship it
</Button>

Cards

Copy Code Card

Beginner

A compact code surface for snippets, component recipes, and copy actions.

codecopysnippet
View component