better-auth-dashboard
raw JSON → 0.0.4 verified Sat Apr 25 auth: no javascript deprecated
A Better-Auth powered admin dashboard for user and organization management, plugin configuration, route protection, and emergency lockdowns. Current version is 0.0.4, released pre-alpha and not ready for production. Developed by Multinite, it integrates with Better-Auth and Next.js 15. Features include dynamic dashboard systems and advanced route protection. Peer dependencies include Next.js, Radix UI components, and better-fetch.
Common errors
error Module not found: Can't resolve 'better-auth-dashboard' ↓
cause Package not installed or not in node_modules.
fix
Run
npm install better-auth-dashboard error Error: Cannot find module '../lib/dashboard' ↓
cause Internal import failure; likely version mismatch.
fix
Update to the latest version and check peer dependencies.
Warnings
breaking Package is pre-alpha and NOT ready for production use. ↓
fix Do not use in production. Consider alternatives like better-auth's built-in admin panel.
gotcha Peer dependency next must be version ^15.0.0. ↓
fix Ensure your project uses Next.js 15.
gotcha Requires Better-Auth to be configured separately. ↓
fix Set up Better-Auth before using this dashboard.
Install
npm install better-auth-dashboard yarn add better-auth-dashboard pnpm add better-auth-dashboard Imports
- BetterAuthDashboard wrong
const BetterAuthDashboard = require('better-auth-dashboard')correctimport { BetterAuthDashboard } from 'better-auth-dashboard' - DashboardProvider wrong
import DashboardProvider from 'better-auth-dashboard'correctimport { DashboardProvider } from 'better-auth-dashboard' - useDashboard
import { useDashboard } from 'better-auth-dashboard'
Quickstart
import { BetterAuthDashboard } from 'better-auth-dashboard'
import { DashboardProvider } from 'better-auth-dashboard'
export default function AdminPage() {
return (
<DashboardProvider>
<BetterAuthDashboard />
</DashboardProvider>
)
}