Home

The Empty Root component serves as a foundational wrapper for presenting empty states, placeholders, or informational blocks when no data is available.

Installation

npm
npx phpxui add EmptyRoot

Usage

use Lib\PHPXUI\{
  Empty,
  EmptyContent,
  EmptyDescription,
  EmptyHeader,
  EmptyMedia,
  EmptyTitle,
}
<Empty>
  <EmptyHeader>
    <EmptyMedia variant="icon">
      <Icon />
    </EmptyMedia>
    <EmptyTitle>No data</EmptyTitle>
    <EmptyDescription>
      No data found
    </EmptyDescription>
  </EmptyHeader>
  <EmptyContent>
    <Button>Add data</Button>
  </EmptyContent>
</Empty>

Examples

Outline

Cloud Storage Empty
Upload files to your cloud storage to access them anywhere.

Background

No Notifications
You're all caught up. New notifications will appear here.

Avatar

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

Avatar Group

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

Input Group

404 - Not Found
The page you're looking for doesn't exist. Try searching for what you need below.
/
Need help? Contact support