Empty/empty-standard-

PreviousNext

A empty/empty-standard- example

Docs
shadcnblocksblock

Preview

Loading preview…
code/example/empty/empty-standard-5.tsx
"use client";

import { Calendar } from "lucide-react";

import {
  Empty,
  EmptyDescription,
  EmptyHeader,
  EmptyMedia,
  EmptyTitle,
} from "@/components/ui/empty";

export const title = "Empty with Multiple Paragraphs";

const Example = () => (
  <Empty>
    <EmptyHeader>
      <EmptyMedia variant="icon">
        <Calendar />
      </EmptyMedia>
      <EmptyTitle>No upcoming events</EmptyTitle>
      <EmptyDescription>
        You don't have any events scheduled for the next 7 days.
        <br />
        <br />
        Create a new event to get started with your calendar.
      </EmptyDescription>
    </EmptyHeader>
  </Empty>
);

export default Example;

Installation

npx shadcn@latest add @shadcnblocks/empty-empty-standard-5

Usage

import { EmptyEmptyStandard5 } from "@/components/empty-empty-standard-5"
<EmptyEmptyStandard5 />