saturation/uisaturation/ui
DocsComponentsBlocksPages
GitHub

Sections

IntroductionComponentsInstallationMCPTheming

Components

ComponentsAccordionAI Chat InputAlertAnimated GroupAnimated NumberAvatarBadgeBeamBlur FadeBorder TrailBreadcrumbButtonButton GroupCalendar PickerCardChartCheckboxCollapsibleComboboxCommandComparison SliderContext MenuCredit CardData TableDate PickerDialogDropdown MenuEmoji PickerEmptyFieldFiltersFull CalendarGlow EffectInputInput GroupInput OTPItemKanbanKbdMenubarNavigation MenuNovel EditorPaginationParallaxProgressProgressive BlurRadio GroupRippleSelectSeparatorSheetSkeletonSliderSonnerSpinnerSpotlightSwitchTableTabsText EffectText ShimmerTextareaToggleToggle GroupTreeTypography
Docs/Components/Empty

Empty

Displays an empty state with optional icon and action.

Loading...

Installation

pnpm dlx shadcn@latest add https://ui.saturation.io/r/empty.json

Tailwind v4 — Source Scanning

Saturation UI copies component source into your project via the shadcn registry (no npm package). If Tailwind v4 isn't scanning your components directory, add this to your CSS entry file:

@source "../components";

This ensures all utility classes in CVA variants and data attribute selectors are included in your build.

Usage

import { Empty } from "@/components/ui/empty"
<Empty
  icon={<InboxIcon />}
  title="No items"
  description="Get started by creating a new item."
/>

Examples

Outline

Loading...
Empty state with border outline.

Background

Loading...
Empty state with gradient background.

Avatar

Loading...
Empty state with avatar.

API Reference

PropTypeDefaultDescription
iconReact.ReactNode—Icon to display.
titlestring—Empty state title.
descriptionstring—Empty state description.
actionReact.ReactNode—Action button or link.
PreviousEmoji PickerNextField

On This Page

  • Installation
  • Usage
  • Examples
  • Outline
  • Background
  • Avatar
  • API Reference
No projects yet
Get started by creating your first project. You can add files, invite collaborators, and start building.
No files uploaded
Your cloud storage is empty. Upload files to get started and keep your documents synced across all your devices.
No notifications
You're all caught up. New notifications about your account activity and updates will appear here.
User is offline
This user is currently unavailable. You can leave a message or check back later when they come online.