Empty

The Empty component displays a placeholder when no data is available, commonly used in tables, lists, or search results.

PreviousNext
No Projects Yet
You haven't created any projects yet. Get started by creating your first project.

Installation

1

Run the CLI

Use the CLI to add the component to your project.

Loading...

Examples

default

No Projects Yet
You haven't created any projects yet. Get started by creating your first project.

custom image

Empty
User Offline
This user is currently offline. You can leave a message to notify them or try again later.

advanced

No Team members
Invite your team to collaborate on this project.

API

[z-empty] Component

z-empty component displays a placeholder when no data is available, commonly used in tables, lists, or search results.

To customize the empty, pass the following props to the component.

Property Description Type Default
zIcon Icon to display ZardIcon -
zImage Image URL or custom template string | TemplateRef<void> -
zDescription Description text or custom template string | TemplateRef<void> -
zTitle Title text or custom template string | TemplateRef<void> -
zActions Array of action templates TemplateRef<void>[] []
class Custom CSS classes ClassValue ''