ComponentsFeedback
Empty
Empty state placeholder with optional action
The Empty component displays a placeholder when there's no content to show.
Basic Usage
Basic Empty State
With Icon
With Icon
With Action
With Action Button
Schema
import type { SchemaNode } from '@object-ui/types';
interface EmptySchema {
type: 'empty';
icon?: string; // Lucide icon name
title?: string; // Main message
description?: string; // Supporting text
action?: SchemaNode; // Call to action button (any node; a bare string renders as text)
className?: string;
}