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

Filament Dashboard Widgets Laravel Package

laboiteacode/filament-dashboard-widgets

A collection of fifteen polished, ready-to-use dashboard widgets for Filament: KPI metrics, goals, breakdowns, trends, funnels, timelines and more. Typed fluent API, static or computed data, native Filament components, light/dark themes, accessible and escaped by default with no front-end build step...

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for admin dashboard chrome. The recurring cost isn't the KPI math — it's the presentation layer: card layouts, goal rings, trend sparklines, breakdowns, empty states, responsive behavior, and visual consistency across a dozen screens. This package converts that from a 2–4 week design-and-build task into a composer require plus configuration, which is usually the right trade for internal tools and back-office surfaces where differentiation is low. v1.0.1 strengthens the "buy" side: the widgets now adopt native Filament surface, ring, shadow, type scale, and focus-ring styling, so the package output no longer reads as a foreign visual layer next to hand-built Filament pages.
  • Roadmap sequencing for an "analytics/reporting" epic. If your roadmap has a v1 dashboard milestone, this package lets you ship the visible layer first and defer the harder questions (metric definitions, warehouse access, aggregation strategy) instead of blocking the whole epic on them. It de-risks demos and early customer feedback loops.
  • International rollout sequencing. Locale-aware number and percentage formatting (1 234,5, 25 % for a French panel) moves basic formatting from "we'll fix it later" to handled. That's a real unblock for any dashboard shipping to non-US markets, and it removes a common reason to defer a dashboard launch to a localization sprint. Caveat for planning: this covers number/percent formatting, not RTL layout, translated labels, or locale-specific date formatting — scope those separately.
  • Scope negotiation on internal-tool requests. When sales or ops asks for "a dashboard with our numbers," you can commit to the layout and interaction model immediately and spend discovery time on which metrics matter, rather than on whether a funnel chart is feasible.
  • Use cases that fit cleanly: SaaS admin panels (MRR, churn, seat usage, trial conversion), CRM back-offices (pipeline by stage, activity recency, rep leaderboards), ops consoles (SLA variance, queue composition, recent incidents), and any Filament panel where 15 standard business widgets cover 80% of asks.
  • Standardization lever. A typed, consistent widget API means multiple engineers produce visually identical dashboards without a design review per screen — a real reduction in review overhead and UI drift for teams shipping many small panels. Native-style parity with Filament widgets makes that standardization argument easier to sell to a design-conscious team.
  • Prototype-to-production path. Because it's MIT and dependency-light on the front end, you can prototype a customer-facing dashboard to validate demand, then decide later whether to keep, fork, or replace it — without a front-end rewrite either way. The cached-stylesheet change (served as a browser-cached Filament asset, inlined only as fallback) also improves the cost profile of widget-dense pages, which matters when a prototype graduates to a real traffic surface.
  • Multi-tenant / config-driven widget setups. The colour-name sanitization (restricted to [a-zA-Z0-9_-], matching Filament's own colour classes) closes a path where untrusted input passed to color() / badgeColor() could append arbitrary CSS declarations. If widget colours are driven by tenant config or user-supplied settings, this lowers the risk of exposing that input path — it was never XSS, but CSS injection into admin markup is still a finding worth closing.

When to Consider This Package

Adopt when all or most of these hold:

  • You are already on Filament (v3/v4 era) and your dashboards live inside a panel, not a separate SPA. The visual-parity change in v1.0.1 makes mixing these widgets with native ones a much more coherent proposition than before.
  • Your widgets are standard business shapes — KPI cards, goals, breakdowns, trends, recents, funnels. If your dashboard needs bespoke visualizations, this package's value drops sharply.
  • The dashboard is internal or low-differentiation. Back-office, ops, admin — not the hero screen of your product.
  • You want no additional front-end toolchain: no npm build step for charting, no separate design system to maintain.
  • You have a small team where one engineer owning the dashboard end-to-end is realistic.
  • You need locale-correct number and percentage formatting in the near term. As of v1.0.1 this is handled at the widget level; treat it as solved for numerics only, not as a complete i18n story.

Look elsewhere or build in-house when:

  • Adoption risk matters more than build time. Still 7 stars and 0 dependents — unproven, no ecosystem validation, no community answers, no evidence of surviving a Filament major bump. Unchanged by v1.0.1. Treat this as a code dependency you may end up owning and budget for that. The v1.0.1 release is a mild positive signal on maintenance attention, not a change in adoption risk.
  • You need charts beyond the bundled primitives. Confirm the widget list actually covers your charts before committing; the description lists fifteen shapes, but you should audit them against your spec rather than assume.
  • i18n beyond numerals is a hard requirement. RTL layouts, translated widget labels, date/time localisation, and locale-aware sorting are not addressed by this release — verify each before promising them to a customer. White-labeling likewise remains unaddressed except insofar as the widgets now inherit your Filament theme.
  • The dashboard is customer-facing and brand-critical. Visual parity with native Filament helps, but fifteen polished-but-opinionated widgets may still fight a non-Filament design language; a fork becomes likely, and at that point you're maintaining a fork of a low-traffic repo.
  • Your data layer is complex. These widgets render numbers; they don't solve metric definitions, caching, or query performance. If your dashboards hit a warehouse, the hard work is unchanged and this only saves the last mile.
  • Single-maintainer / bus-factor concerns are disqualifying for your org. Check release cadence and issue responsiveness yourself — two releases with a changelog, upgrade guide, and a security fix is a better signal than a single drop, but 0 dependents means no external pressure keeping it alive.

Operational note for adopters: v1.0.1 has no breaking changes — composer update is sufficient. Two things to schedule: run php artisan filament:assets (or rely on filament:upgrade) to pick up the published, cacheable stylesheet, and if you have published the package views, apply the two optional markup changes from the upgrade guide to stay current. Treat published views as a fork you must now track.

How to Pitch It (Stakeholders)

For executives: This is a small, MIT-licensed library that gives us a professional-looking admin dashboard out of the box — KPI cards, goals, trends, breakdowns, funnels — instead of us designing and building each widget from scratch. It compresses a multi-week UI effort into roughly a day of integration, with no added front-end tooling or licensing cost. The latest release is a maintenance update: it makes numbers display correctly per locale (a real unblock for non-US markets), fixes a CSS-injection issue in the colour API, speeds up page loads via a cached stylesheet, and — importantly — makes the widgets visually identical to native Filament components so the dashboard doesn't look bolted on. The trade-off is unchanged: it's a young project with essentially no adoption, so assume we may have to maintain or fork it. Recommendation: use it to ship the dashboard layer fast on internal/back-office surfaces, keep it behind our own thin abstraction, and revisit if we ever need it customer-facing.

For engineering: It's a typed, consistent widget API on top of Filament primitives — fifteen widgets covering the shapes we keep rebuilding, zero JS dependencies, installs via composer. The real saving is consistency and review overhead, not novelty. v1.0.1 is a non-breaking maintenance release; upgrade is a composer update plus php artisan filament:assets if the stylesheet isn't published automatically. Three asks: (1) wrap it behind our own widget base/registry so a swap or fork is a config change, not a refactor; (2) if we pass anything user- or tenant-controlled into color() / badgeColor(), note that v1.0.1 now sanitizes to [a-zA-Z0-9_-] — verify we're on this version before enabling that path; (3) verify Filament version compatibility and test coverage on the widget shapes we actually plan to use, including number formatting under our app locale, before we put it on a roadmap milestone. Pin the version and watch the changelog — with 0 dependents, we are the canary, and published views become our fork to maintain.

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.
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log