Empty

Playground

Properties

Size
Icon
Title
Description
Action

Content

Title
Description
Button

Usage

Header, Title, Description과 Content의 다음 동작을 조합합니다. 오류와 실제 빈 상태를 구분합니다.

'use client';
import { Empty, EmptyHeader, EmptyTitle, EmptyDescription } from '@mbsw/ui';

export default function Example() {
  return (
    <Empty size="md">
      <EmptyHeader>
        <EmptyTitle>{"프로젝트를 추가해 보세요."}</EmptyTitle>
        <EmptyDescription>{"모든 작업을 한눈에 확인하고 빠르게 정리할 수 있습니다."}</EmptyDescription>
      </EmptyHeader>
    </Empty>
  );
}

Playground의 Code 탭에서 현재 설정과 동작이 포함된 예제 전체를 복사할 수 있습니다. 공통 CSS 설치는 설치하기를 확인하세요.

Composition