Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Empty State

Empty State Laravel Package

mrshanebarron/empty-state

mrshanebarron/empty-state is a Laravel package for showing polished, consistent empty states across your app. It helps you render friendly messages, icons, and call-to-action buttons whenever lists, tables, or search results return no data, with simple Blade integration and customizable defaults.

View on GitHub
Deep Wiki
Context7

mrshanebarron/empty-state is a lightweight Laravel package for rendering consistent, polished empty states whenever a dataset, search, or relationship returns no results. Replace blank tables and empty pages with clear, actionable feedback using simple Blade components.

  • Ready-to-use Blade component with customizable icon, title, message, and CTA.
  • Sensible presets for no data, no search results, and empty relationships.
  • Publishable config and views for full styling control.
  • Framework-agnostic markup that works with Tailwind, Bootstrap, or custom CSS.
Frequently asked questions about Empty State
What is the mrshanebarron/empty-state package used for in Laravel?
It is a Laravel UI component package for adding polished empty states to your application. You use it to show helpful messages, icons, and calls to action when lists, search results, or tables have no data, so blank screens feel intentional instead of broken.
How do I install mrshanebarron/empty-state with Composer?
Install it with Composer by running composer require mrshanebarron/empty-state from your Laravel project root. After installation, follow the package README for any registration, publishing, or usage steps, because the exact setup instructions live there.
Does this package work with Laravel Blade components?
Yes, it is described as a Laravel UI component package, so it is intended to be used from Blade views. Check the README for the exact component names, props, and slots you can use.
Can I customize the empty-state icon, message, and call to action?
The package is built around empty states that include helpful messages, icons, and calls to action, so those are the elements you would expect to customize. The README should document the supported props, slots, or configuration options for changing them.
Which Laravel versions does mrshanebarron/empty-state support?
The provided package context does not list a specific Laravel version range. Check the package composer.json or README for the declared PHP and Laravel constraints, and let Composer enforce them during installation.
Can I use it for empty search results and empty tables?
Yes, the package is specifically aimed at lists, search results, and tables that have no data. It helps you present a clear message and next step instead of leaving a blank area in your UI.
Do I need to publish config or view files after installing?
The provided overview does not confirm whether any config, views, or assets need to be published. Check the installation section of the README; if publishing is required, the exact artisan command will be listed there.
How do I test empty states in a Laravel application?
Render the component in a Blade or feature test with an empty data set and assert that the expected empty-state message or call to action appears. You can also run the package's own test suite if it is included in the repository.
Is mrshanebarron/empty-state safe to use in production?
It is a UI component package, so production risk is mainly about rendering the correct state and keeping your empty-state copy and CTAs accessible. The provided context does not mention JavaScript or CSS dependencies, so verify any asset requirements in the README before deploying.
What are alternatives to this package, and is it actively maintained?
You can build empty states with plain Blade partials or components from your existing UI kit, but this package is intended to make them consistent and reusable. For maintenance, review the GitHub repository's commit history, releases, and issue activity before adopting it.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource