Empty

表示するデータ、アイテム、または結果がないことを伝えるコンポーネント。

いつ使用するか

データが提供されていない場合、フレンドリーなヒントとして表示します。

使用例

No projects found

Get started by creating a new project or importing an existing one.

カスタムアイコン付き

No results

We couldn't find anything matching your search query. Try different keywords.

サイズ

Small Empty State

Useful for smaller containers.

Large Empty State

A highly visible empty state for main page areas.

API リファレンス

プロパティ
説明
タイプ
デフォルト

variant

The visual style variant of the empty state. 'default' | 'bordered' 'default'

size

The padding size of the container. 'sm' | 'md' | 'lg' 'md'

icon

The Lucide icon name to display. IconName 'Inbox'

title

The main heading text. string 'No Data'

description

The descriptive text below the title. string 'There is currently no data to display.'

class

Additional CSS classes to apply. string -