BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/bagUi/dashboard-ads

Modern Ads Dashboard

bagui/dashboard-ads
FreeBlock

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-ads.json

Source

registry/default/blocks/Dashboard/dashboard-ads.tsxwww.bagui.pro/r/dashboard-ads.json · first 6 KB
1"use client";
2
3import React, { useEffect, useMemo, useRef, useState } from "react";
4import { motion, AnimatePresence } from "motion/react";
5import {
6 Globe,
7 Clock,
8 AlertTriangle,
9 RotateCw,
10 Cpu,
11 Timer,
12 Home,
13 Compass,
14 Megaphone,
15 Layers,
16 Users,
17 BarChart3,
18 Settings,
19 LogOut,
20 Infinity as InfinityIcon,
21 Music2,
22 LayoutDashboard,
23 Calendar,
24 Folder,
25 PieChart,
26 Lightbulb,
27 SlidersHorizontal,
28 ArrowDownUp,
29 Flag,
30 Square,
31 ChevronDown,
32 Bell,
33 Plus,
34 Search,
35 Command,
36 MoreVertical,
37 Info,
38 PanelLeftClose,
39 Check,
40 TrendingUp,
41 TrendingDown,
42} from "lucide-react";
43import { cn } from "@/lib/utils";
44
45/* ------------------------------------------------------------------ */
46/* Types */
47/* ------------------------------------------------------------------ */
48
49type IconType = React.ComponentType<{ className?: string }>;
50
51type SidebarKey = "overview" | "discover" | "campaigns" | "adsets" | "audience" | "reports" | "google" | "meta" | "tiktok" | "linkedin" | "settings";
52
53type TopTabKey = "dashboard" | "planner" | "assethub" | "segments" | "insights" | "preferences";
54
55type CampaignStatus = "ACTIVE" | "PAUSED" | "CANCEL" | "COMPLETED";
56
57type Campaign = {
58 id: string;
59 name: string;
60 status: CampaignStatus;
61 budget: number;
62 spent: number;
63 conversions: number | null;
64 convRate: number | null;
65 roas: number | null;
66 clicks: number | null;
67 ctr: number | null;
68};
69
70type SortKey = "name" | "status" | "budget" | "spent" | "conversions" | "convRate" | "roas" | "clicks" | "ctr";
71
72/* ------------------------------------------------------------------ */
73/* Static data */
74/* ------------------------------------------------------------------ */
75
76const months = ["JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC"];
77
78const generalNav: { key: SidebarKey; label: string; icon: IconType; badge?: number }[] = [
79 { key: "overview", label: "Overview", icon: Home },
80 { key: "discover", label: "Discover", icon: Compass },
81 { key: "campaigns", label: "Campaigns", icon: Megaphone },
82 { key: "adsets", label: "Ad Sets", icon: Layers, badge: 12 },
83 { key: "audience", label: "Audience", icon: Users },
84 { key: "reports", label: "Reports", icon: BarChart3, badge: 32 },
85];
86
87const accountNav: { key: SidebarKey; label: string; platform: "google" | "meta" | "tiktok" | "linkedin" }[] = [
88// … truncated

What it pulls in

npm packages

  • framer-motion
  • lucide-react

Files it writes

  • registry/default/blocks/Dashboard/dashboard-ads.tsx

Facts

Registry
bagUi
Type
registry:block
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-14
Last confirmed
today

Go to the source

Docs on bagUi www.bagui.pro anelkabag/bag-ui on GitHub Raw registry item This item as JSON

More from bagUi

All 30 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Dashboard Chat Appchat-app1bagUiBlocksFree2 deps
Contact Exemple 1contact-1bagUiBlocksFree2 deps
Contact Exemple 2contact-2bagUiBlocksFree2 deps
CTA Exemple 1cta-1bagUiBlocksFree2 deps
CTA Exemple 2cta-2bagUiBlocksFree2 deps
Modern Agency Dashboarddashboard-agencybagUiBlocksFree2 deps
Modern Folder Dashboarddashboard-folderbagUiBlocksFree2 deps
Modern Store Dashboarddashboard-storebagUiBlocksFree2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex