Skip to content

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

Free

Empty with Link Action Empty State for React

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

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 React, Base UI does not open the guide.

Preview

Preview width

Installation

Sign in to get your install command
Free with an account. It carries your token, so the CLI installs everything in one go.
Use email insteadNo credit card

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 nativeButton={false} render={<a href="#" />} variant="link">
      Read the documentation
      <ExternalLinkIcon aria-hidden="true" data-icon="inline-end" />
    </Button>
  </EmptyContent>
</Empty>

FAQ

API Reference

Empty

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