export const title = "Empty state components" export const description = "Powerful and customizable React empty state components built for modern applications and websites. These empty states are built using React Aria and styled with Tailwind CSS." export const links = { github: "https://github.com/untitleduico/react/tree/main/components/application/empty-state", rac: "https://react-spectrum.adobe.com/react-aria/RadioGroup.html" } import * as Demos from "@/components/application/empty-state/empty-state.demo.tsx"; ## Installation You can add this empty states component using our CLI or manually: ```bash npx untitledui@latest add empty-state ``` Copy the files below into your project: Great! Now you can start using the empty states components in your project by just copy/pasting our examples below. ## Empty states examples Below are examples and variations of this empty states component: ### Featured icon {{ tocOnly:true }} ### Illustration {{ tocOnly:true }} ### File icon {{ tocOnly:true }} ### Avatar radius {{ tocOnly:true }} ### Avatar row {{ tocOnly:true }} ### Avatar grid {{ tocOnly:true }} ## API reference ` and `EmptyState.Content` renders a `
`, which suits a full-page empty state but duplicates both inside a page that already has them. Both spread your props onto the element, so `` demotes the heading and `` drops the landmark. The avatar decorations are `aria-hidden`, so keep the meaningful copy in the title and description.", }, { question: "Does the animated avatar grid respect reduced motion?", answer: "Yes. The marquee rows in `EmptyState.AvatarGrid` are marked `motion-reduce:animate-none`, so the animation stops for users who have the reduced-motion preference enabled while the layout stays intact.", }, ]} />