Skip to content

shadcn.io is an independent project built on shadcn/ui

Free

Empty with Link Action Empty State for Solid

An empty getting-started state with a book icon and a Read the documentation link under the text.

UI library: Ark UI

A book icon, the title Get started with our guide, and a line about setting up a project. The action reads Read the documentation, with an external-link icon.

Use it when the next step is reading, not creating. If they can start immediately, use a Button that creates the project. In Solid, Ark UI does not open the guide.

Preview

Preview width

Installation

MCP · Pro
Make your AI a shadcn expert
Your agent installs components, builds pages and restyles your app from one prompt, in Claude Code, Cursor or VS Code.
Part of Pro

Anatomy

Empty anatomy: root, header, media, title, description, content

Usage

<Empty>
    <EmptyHeader>
      <EmptyMedia variant="icon">
        <BookOpenIcon aria-hidden="true" />
      </EmptyMedia>
      <EmptyTitle>Get started with our guide</EmptyTitle>
      <EmptyDescription>
        Learn how to set up your first project and start building.
      </EmptyDescription>
    </EmptyHeader>
    <EmptyContent>
      <Button asChild={props => <a {...props()} href="#">
          Read the documentation
          <ExternalLinkIcon aria-hidden="true" data-icon="inline-end" />
        </a>} variant="link" />
    </EmptyContent>
  </Empty>

FAQ

API Reference

Empty

Sets variant="icon". The rest is on the Empty page.

Button

Sets asChild and props. The rest is on the Button page.