Skip to content

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

Free

Empty with Link Action Empty State for Svelte

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 Svelte, 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 variant="link">{#snippet asChild(props)}<a {...props(/* <a> attributes; Ark types these as <button>'s */ { href: "#" } as never)}>Read the documentation<ExternalLinkIcon aria-hidden="true" data-icon="inline-end" /></a>{/snippet}</Button></EmptyContent></Empty>

FAQ

API Reference

Empty

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

Button

Sets variant="link". The rest is on the Button page.