Modern Agency Dashboard
bagui/dashboard-agencyFreeBlock
bagUi publishes no description for this item.
Live preview
live · rendered by the registry
Rendered by bagUi on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://www.bagui.pro/r/dashboard-agency.jsonSource
1import React, { useState } from "react";2import Image from "next/image";3import { motion, AnimatePresence } from "framer-motion";4import {5 LayoutDashboard,6 Package,7 Repeat,8 BarChart3,9 MessageSquare,10 Users2,11 Megaphone,12 Users,13 Layers,14 ClipboardList,15 ShieldCheck,16 CreditCard,17 Puzzle,18 Headphones,19 HelpCircle,20 Settings,21 Search,22 Bell,23 ChevronDown,24 Calendar,25 Download,26 Sparkles,27 MoreHorizontal,28 Plus,29 ArrowUpRight,30 Pencil,31 RotateCcw,32 Trash2,33 Mail,34 Trophy,35 Target,36 User,37 LogOut,38 Check,39 Moon,40 Sun,41 type LucideIcon,42} from "lucide-react";4344/* ------------------------------------------------------------------ */45/* Types */46/* ------------------------------------------------------------------ */4748interface NavItem {49 label: string;50 icon: LucideIcon;51}5253interface Stat {54 label: string;55 value: string;56 sub?: string;57}5859type TransactionStatus = "Success" | "Pending" | "Refunded";6061interface Transaction {62 id: string;63 customer: string;64 product: string;65 status: TransactionStatus;66 qty: number;67 price: string;68 total: string;69}7071type TimeRange = "Weekly" | "Monthly" | "Yearly";72type CampaignStatus = "Active" | "Paused" | "Ended";7374interface Campaign {75 name: string;76 status: CampaignStatus;77 budget: string;78 spent: string;79}8081interface ChatMessage {82 id: string;83 name: string;84 preview: string;85 full: string;86 time: string;87 unread: boolean;88}8990/* ------------------------------------------------------------------ */91/* Static data */92/* ------------------------------------------------------------------ */9394const mainMenu: NavItem[] = [95 { label: "Dashboard", icon: LayoutDashboard },96 { label: "Products", icon: Package },97 { label: "Transactions", icon: Repeat },98 { label: "Reports & Analytics", icon: BarChart3 },99 { label: "Messages", icon: MessageSquare },100 { label: "Team Performance", icon: Users2 },101 { label: "Campaigns", icon: Megaphone },102];103104const customersMenu: NavItem[] = [105 { label: "Customer List", icon: Users },106 { label: "Channels", icon: Layers },107 { label: "Order Management", icon: ClipboardList },108];109110const managementMenu: NavItem[] = [111 { label: "Roles & Permissions", icon: ShieldCheck },112 { label: "Billing & Subscription", icon: CreditCard },113 { label: "Integrations", icon: Puzzle },114];115116const settingsMenu: NavItem[] = [117// … truncated
What it pulls in
npm packages
Files it writes
More from bagUi
All 30 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Dashboard Chat Appchat-app1 | bagUi | Blocks | Free | 2 deps | |
| Contact Exemple 1contact-1 | bagUi | Blocks | Free | 2 deps | |
| Contact Exemple 2contact-2 | bagUi | Blocks | Free | 2 deps | |
| CTA Exemple 1cta-1 | bagUi | Blocks | Free | 2 deps | |
| CTA Exemple 2cta-2 | bagUi | Blocks | Free | 2 deps | |
| Modern Ads Dashboarddashboard-ads | bagUi | Blocks | Free | 2 deps | |
| Modern Folder Dashboarddashboard-folder | bagUi | Blocks | Free | 2 deps | |
| Modern Store Dashboarddashboard-store | bagUi | Blocks | Free | 2 deps |
