PHPackages                             mrshanebarron/empty-state - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mrshanebarron/empty-state

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mrshanebarron/empty-state
=========================

Empty state placeholder component for Laravel - supports Livewire and Vue

v1.0.4(6mo ago)013MITPHPPHP ^8.1

Since Dec 14Pushed 6mo agoCompare

[ Source](https://github.com/mrshanebarron/empty-state)[ Packagist](https://packagist.org/packages/mrshanebarron/empty-state)[ RSS](/packages/mrshanebarron-empty-state/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (1)Versions (6)Used By (0)

Empty State
===========

[](#empty-state)

An empty state placeholder component for Laravel applications. Displays friendly messages when content is missing. Works with Livewire and Vue 3.

Installation
------------

[](#installation)

```
composer require mrshanebarron/empty-state
```

Livewire Usage
--------------

[](#livewire-usage)

### Basic Usage

[](#basic-usage)

```

```

### With Icon

[](#with-icon)

```

```

### With Action Button

[](#with-action-button)

```

```

### Livewire Props

[](#livewire-props)

PropTypeDefaultDescription`title`string`'No items'`Main heading`description`string`null`Subtext description`icon`string`null`Icon name/type`action-text`string`null`Button text`action-url`string`null`Button linkVue 3 Usage
-----------

[](#vue-3-usage)

### Setup

[](#setup)

```
import { SbEmptyState } from './vendor/sb-empty-state';
app.component('SbEmptyState', SbEmptyState);
```

### Basic Usage

[](#basic-usage-1)

```

```

### With Icon

[](#with-icon-1)

```

```

### With Action

[](#with-action)

```

const openInviteModal = () => {
  // Handle action
};

```

### Conditional Rendering

[](#conditional-rendering)

```

```

### Custom Slot Content

[](#custom-slot-content)

```

        Need help? Read the docs

        Create
        Import

```

### Vue Props

[](#vue-props)

PropTypeDefaultDescription`title`String`'No items'`Heading text`description`String`null`Description text`icon`String`null`Icon identifier`actionText`String`null`Action button text`actionUrl`String`null`Action link URL### Events

[](#events)

EventDescription`action`Button clicked (when no actionUrl)### Slots

[](#slots)

SlotDescription`icon`Custom icon content`description`Custom description content`action`Custom action buttonsCommon Use Cases
----------------

[](#common-use-cases)

- Empty search results
- No data in tables
- Empty inbox/notifications
- New user onboarding
- Filtered results with no matches

Styling
-------

[](#styling)

Uses Tailwind CSS:

- Centered layout
- Gray icon
- Large title text
- Muted description
- Primary action button

Requirements
------------

[](#requirements)

- PHP 8.1+
- Laravel 10, 11, or 12
- Tailwind CSS 3.x

License
-------

[](#license)

MIT License

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance67

Regular maintenance activity

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

199d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/193358540?v=4)[Mr Shane Barron](/maintainers/mrshanebarron)[@mrshanebarron](https://github.com/mrshanebarron)

---

Tags

laravellivewireplaceholdervueempty-stateno-data

### Embed Badge

![Health badge](/badges/mrshanebarron-empty-state/health.svg)

```
[![Health](https://phpackages.com/badges/mrshanebarron-empty-state/health.svg)](https://phpackages.com/packages/mrshanebarron-empty-state)
```

###  Alternatives

[livewire/flux

The official UI component library for Livewire.

9527.8M128](/packages/livewire-flux)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

211189.7k8](/packages/bezhansalleh-filament-google-analytics)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
