Skip to main content
BlocksEmpty StateDashed card for a new workspace

shadcn/ui Empty State block for React AriaDashed card for a new workspace

A centred shadcn/ui empty state inside a dashed-border Card: a muted icon tile, a short title and two-line explanation, then a primary "Create project" Button paired with a ghost "Import from CSV" action. Built with the shadcn/ui Card and Button components and sized by itself so it drops into any content area. Ideal for first-run screens where a list has no records yet.

Free@shadcnpro/aria/empty-state-01

Preview

Installation

npx shadcn@latest add @shadcnpro/aria/empty-state-01

First time? Add the @shadcnpro registry to components.json as shown in Installation. Free blocks install without a license key.

Let your AI editor install it

The shadcn/ui Pro MCP server lets Cursor, Claude Code and VS Code find and install blocks like Dashed card for a new workspace from one prompt. It is included in every Pro plan.

Add the shadcn/ui components

Dashed card for a new workspace uses Button and Card, from the React Aria components set up in your components.json.

npx shadcn@latest add button card

Install the npm packages

npm install lucide-react

Copy the code

Paste it into components/blocks/empty-state-01.tsx.

components/blocks/empty-state-01.tsx
'use client';

import { FolderPlusIcon, UploadIcon } from 'lucide-react';

import { Button } from '@/components/ui/button';
import { Card, CardContent } from '@/components/ui/card';

/**
 * Dashed-border card for a brand-new workspace with a primary and a secondary action.
 */
export default function EmptyState01() {
  return (
    <div className="w-full max-w-2xl px-4">
      <Card className="border-dashed py-0 shadow-none">
        <CardContent className="flex flex-col items-center px-6 py-14 text-center sm:py-16">
          <span className="flex size-12 items-center justify-center rounded-lg bg-muted text-muted-foreground">
            <FolderPlusIcon aria-hidden="true" className="size-6" />
          </span>
          <h2 className="mt-5 font-semibold text-foreground text-lg tracking-tight">
            No projects yet
          </h2>
          <p className="mt-2 max-w-sm text-pretty text-muted-foreground text-sm leading-6">
            Projects group your issues, sprints and roadmap in one place. Start
            one from scratch, or bring over existing work from another tool.
          </p>
          <div className="mt-6 flex flex-wrap items-center justify-center gap-3">
            <Button type="button">
              <FolderPlusIcon aria-hidden="true" />
              Create project
            </Button>
            <Button type="button" variant="ghost">
              <UploadIcon aria-hidden="true" />
              Import from CSV
            </Button>
          </div>
          <p className="mt-6 text-muted-foreground text-xs">
            Aurora Labs workspace · You can invite teammates once a project
            exists.
          </p>
        </CardContent>
      </Card>
    </div>
  );
}

Use it

Import it where you need it and update the import path to match your project.

Usage
import EmptyState01 from '@/components/blocks/empty-state-01';

export default function Page() {
  return <EmptyState01 />;
}

Overview

Dashed card for a new workspace is a free empty state block for shadcn/ui and React Aria. It is built from the Button and Card components with lucide-react, and installs as a single file you own and can edit.

It only uses semantic tokens such as bg-background, text-muted-foreground and border-border, so it follows your theme, radius and fonts and switches with dark mode. It is responsive from desktop to mobile; the width controls above the preview show each size. The same layout is in the shadcn/ui Pro Figma kit, so design and code start from one source.

Category
Empty State
Component library
React Aria (react-aria-components)
Also available for
Radix UI, Base UI
Built with
Button and Card
npm packages
lucide-react
Files
components/blocks/empty-state-01.tsx
Access
Free, installs without a license key

Frequently asked questions

Pricing, installation and React Aria details for Dashed card for a new workspace.