Dashboard
tripled/dashboard-baseuiFreeBlock
Interactive stock portfolio dashboard with status cards, data table, and detailed stock information modal (Base UI)
Live preview
live · rendered by the registry
Rendered by tripled on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://ui.tripled.work/r/dashboard-baseui.jsonSource
1"use client";23import type React from "react";45import { NativeButton } from "../../native/baseui/native-button-baseui";6import { cn } from "@/lib/utils";7import { motion, type Variants } from "framer-motion";8import {9 Activity,10 BarChart3,11 ChevronRight,12 Clock,13 DollarSign,14 Download,15 Menu,16 Percent,17 Settings,18 TrendingDown,19 TrendingUp,20 Users,21 Zap,22} from "lucide-react";23import { useState } from "react";24import {25 CartesianGrid,26 Line,27 LineChart,28 ResponsiveContainer,29 Tooltip,30 XAxis,31 YAxis,32} from "recharts";3334// ============================================================================35// TYPES & INTERFACES36// ============================================================================3738interface MetricCardProps {39 label: string;40 value: string;41 change: string;42 trend: "up" | "down";43 icon: React.ReactNode;44}4546interface ChartCardProps {47 title: string;48 description: string;49 data: Array<{ name: string; value: number }>;50 dataKey: string;51 height?: number;52}5354interface DetailItem {55 label: string;56 value: string;57 subtitle: string;58}5960interface DetailedCardProps {61 title: string;62 items: DetailItem[];63}6465// ============================================================================66// LOCAL COMPONENTS67// ============================================================================6869interface BadgeProps extends React.HTMLAttributes<HTMLDivElement> {70 variant?: "default" | "secondary" | "destructive" | "outline";71}7273function Badge({ className, variant = "default", ...props }: BadgeProps) {74 return (75 <div76 className={cn(77 "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",78 {79 "border-transparent bg-primary text-primary-foreground hover:bg-primary/80":80 variant === "default",81 "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80":82 variant === "secondary",83 "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80":84 variant === "destructive",85 "text-foreground": variant === "outline",86 },87 className88 )}89 {...props}90 />91 );92}9394// ============================================================================95// STATIC CHART DATA - EXTENSIVE DUMMY DATA FOR PROPER RENDERING96// … truncated
What it pulls in
npm packages
Other registry items
Files it writes
More from tripled
All 282 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| About Us Pageabout-us-page-shadcnui | tripled | Blocks | Free | 2 deps | |
| About Usabout-us-section-baseui | tripled | Blocks | Free | 2 deps | |
| About Usabout-us-section-shadcnui | tripled | Blocks | Free | 2 deps | |
| Auto-Revealing Headingauto-revealing-heading-shadcnui | tripled | Blocks | Free | 2 deps | |
| Bento Grid Blockbento-grid-block-baseui | tripled | Blocks | Free | 2 deps | |
| Bento Grid Blockbento-grid-block-shadcnui | tripled | Blocks | Free | 2 deps | |
| Blog Blockblog-block-baseui | tripled | Blocks | Free | 2 deps | |
| Blog Blockblog-block-shadcnui | tripled | Blocks | Free | 2 deps |
