PHPackages                             nehalpatel/filament-compact-theme - 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. [Admin Panels](/categories/admin)
4. /
5. nehalpatel/filament-compact-theme

ActiveLibrary[Admin Panels](/categories/admin)

nehalpatel/filament-compact-theme
=================================

Reusable compact dark-first Filament v5 admin theme (Tailwind CSS, CSS hooks)

v1.0.0(1mo ago)00MITCSSPHP ^8.2

Since Apr 12Pushed 1mo agoCompare

[ Source](https://github.com/NehalPatel/filament-compact-theme)[ Packagist](https://packagist.org/packages/nehalpatel/filament-compact-theme)[ RSS](/packages/nehalpatel-filament-compact-theme/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

nehalpatel/filament-compact-theme
=================================

[](#nehalpatelfilament-compact-theme)

Reusable **Filament v5** admin theme: compact, dark-first, flat surfaces, blue accent. Built with the official custom-theme flow (Tailwind CSS + `fi-*` hooks).

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

[](#requirements)

- PHP 8.2+
- Laravel 12+
- Filament 5.x
- Vite + `@tailwindcss/vite` (Tailwind v4), as used by Filament’s theme scaffold

Install in a Laravel app
------------------------

[](#install-in-a-laravel-app)

### 1. Require the package

[](#1-require-the-package)

**From Packagist** (after publishing) or **VCS**:

```
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/NehalPatel/filament-compact-theme.git"
        }
    ],
    "require": {
        "nehalpatel/filament-compact-theme": "^1.0"
    }
}
```

**Local development (path repository)** — set `url` to the folder that contains this package’s `composer.json` (the root of a clone of this repository):

```
{
    "repositories": [
        {
            "type": "path",
            "url": "../path/to/filament-compact-theme",
            "options": { "symlink": true }
        }
    ],
    "require": {
        "nehalpatel/filament-compact-theme": "@dev"
    }
}
```

Then:

```
composer update nehalpatel/filament-compact-theme
```

### 2. Register Vite entry

[](#2-register-vite-entry)

In `vite.config.js`, add the package stylesheet to Laravel Vite `input`:

```
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import tailwindcss from '@tailwindcss/vite';

export default defineConfig({
    // If you use a Composer path repository (symlink to `packages/...`), keep manifest keys under `vendor/...`:
    resolve: { preserveSymlinks: true },
    plugins: [
        laravel({
            input: [
                'resources/css/app.css',
                'resources/js/app.js',
                'vendor/nehalpatel/filament-compact-theme/resources/css/theme.css',
            ],
            refresh: true,
        }),
        tailwindcss(),
    ],
});
```

Or keep the string in sync with `FilamentCompactTheme::viteEntry()` from PHP.

### 3. Point your Filament panel at the theme

[](#3-point-your-filament-panel-at-the-theme)

In your panel provider (e.g. `AdminPanelProvider`):

```
use NehalPatel\FilamentCompactTheme\FilamentCompactTheme;

$panel
    ->viteTheme(FilamentCompactTheme::viteEntry());
```

### 4. Panel styling (colors, font, density toggles)

[](#4-panel-styling-colors-font-density-toggles)

This package **only ships CSS**. Set `->colors()`, `->font()`, `->defaultThemeMode()`, `->sidebarWidth()`, `->globalSearch()`, etc. in your own panel provider as needed.

### 5. Build assets

[](#5-build-assets)

```
npm run build
```

Optional publish
----------------

[](#optional-publish)

To copy the raw CSS into your app (e.g. to fork it):

```
php artisan vendor:publish --tag=filament-compact-theme
```

This writes to `resources/css/filament/admin/theme.publish.css`. Switch your Vite input and `viteTheme()` to that file if you use it.

License
-------

[](#license)

MIT.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance88

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Unknown

Total

1

Last Release

58d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c5576788cac134c9a8691e82819c862e25794f0385690658f3190ae24d44424?d=identicon)[nehalpatel](/maintainers/nehalpatel)

---

Top Contributors

[![NehalPatel](https://avatars.githubusercontent.com/u/1838272?v=4)](https://github.com/NehalPatel "NehalPatel (3 commits)")

### Embed Badge

![Health badge](/badges/nehalpatel-filament-compact-theme/health.svg)

```
[![Health](https://phpackages.com/badges/nehalpatel-filament-compact-theme/health.svg)](https://phpackages.com/packages/nehalpatel-filament-compact-theme)
```

###  Alternatives

[filament/spatie-laravel-settings-plugin

Filament support for `spatie/laravel-settings`.

1142.7M93](/packages/filament-spatie-laravel-settings-plugin)[awcodes/filament-quick-create

Plugin for Filament Admin that adds a dropdown menu to the header to quickly create new items.

249203.6k11](/packages/awcodes-filament-quick-create)[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

207140.2k1](/packages/guava-filament-knowledge-base)[mradder/filament-logger

Audit logging, activity tracking, exports, alerts, and dashboards for Filament admin panels.

2210.5k](/packages/mradder-filament-logger)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3913.7k](/packages/rawilk-profile-filament-plugin)[caresome/filament-neobrutalism-theme

A neobrutalism theme for FilamentPHP admin panels

324.9k1](/packages/caresome-filament-neobrutalism-theme)

PHPackages © 2026

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