{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"marketing-icon-sections-compact-metric-list","type":"registry:block","title":"Compact Metric List","files":[{"path":"components/blocks/marketing/icon-sections/compact-metric-list.tsx","content":"import { useState } from 'react';\nimport { Badge } from '@/components/ui/badge';\nimport { Button } from '@/components/ui/button';\nimport { Card, CardContent } from '@/components/ui/card';\nimport { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs';\nimport { cn } from '@/lib/utils';\nimport { ArrowRight, ChevronDown, ChevronUp, Menu } from 'lucide-react';\n\nimport {\n  AlertCircle,\n  BarChart3,\n  CreditCard,\n  Globe,\n  HardDrive,\n  Info,\n  LineChart,\n  RefreshCw,\n  Server,\n  Shield,\n  Users,\n  Zap,\n} from 'lucide-react';\nimport {\n  DropdownMenu,\n  DropdownMenuContent,\n  DropdownMenuItem,\n  DropdownMenuTrigger,\n} from '@/components/ui/dropdown-menu';\n\ninterface CompactMetric {\n  id: string;\n  icon: React.ReactNode;\n  name: string;\n  value: string;\n  previousValue?: string;\n  changePercentage?: number;\n  status?: 'positive' | 'negative' | 'neutral' | 'warning';\n  category: string;\n  info?: string;\n}\n\nexport default function CompactMetricList() {\n  const [activeTab, setActiveTab] = useState('all');\n\n  const metrics: CompactMetric[] = [\n    // Performance Metrics - Reduced to 3\n    {\n      id: 'response-time',\n      icon: <Zap className=\"h-4 w-4\" />,\n      name: 'Response Time',\n      value: '32ms',\n      previousValue: '39ms',\n      changePercentage: -18,\n      status: 'positive',\n      category: 'performance',\n      info: 'Average API response time across all endpoints',\n    },\n    {\n      id: 'uptime',\n      icon: <Server className=\"h-4 w-4\" />,\n      name: 'System Uptime',\n      value: '99.99%',\n      previousValue: '99.97%',\n      changePercentage: 0.02,\n      status: 'positive',\n      category: 'performance',\n      info: 'Service availability over the past 30 days',\n    },\n    {\n      id: 'requests',\n      icon: <RefreshCw className=\"h-4 w-4\" />,\n      name: 'Requests/Sec',\n      value: '45K',\n      previousValue: '34K',\n      changePercentage: 32,\n      status: 'neutral',\n      category: 'performance',\n      info: 'Peak request rate during high traffic periods',\n    },\n\n    // Security Metrics - Reduced to 2\n    {\n      id: 'blocked-threats',\n      icon: <Shield className=\"h-4 w-4\" />,\n      name: 'Threats Blocked',\n      value: '1.2M+',\n      previousValue: '970K',\n      changePercentage: 24,\n      status: 'positive',\n      category: 'security',\n      info: 'Malicious requests blocked monthly',\n    },\n    {\n      id: '2fa-adoption',\n      icon: <AlertCircle className=\"h-4 w-4\" />,\n      name: '2FA Adoption',\n      value: '78%',\n      previousValue: '65%',\n      changePercentage: 20,\n      status: 'positive',\n      category: 'security',\n      info: 'Percentage of users with 2FA enabled',\n    },\n\n    // User Metrics - Reduced to 2\n    {\n      id: 'active-users',\n      icon: <Users className=\"h-4 w-4\" />,\n      name: 'Active Users',\n      value: '2.4M',\n      previousValue: '2.05M',\n      changePercentage: 17,\n      status: 'positive',\n      category: 'users',\n      info: 'Monthly active users',\n    },\n    {\n      id: 'retention',\n      icon: <BarChart3 className=\"h-4 w-4\" />,\n      name: '30d Retention',\n      value: '84%',\n      previousValue: '79%',\n      changePercentage: 6.3,\n      status: 'positive',\n      category: 'users',\n      info: 'User retention rate after 30 days',\n    },\n\n    // Infrastructure Metrics - Reduced to 2\n    {\n      id: 'data-processed',\n      icon: <HardDrive className=\"h-4 w-4\" />,\n      name: 'Data Processed',\n      value: '8.7 PB',\n      previousValue: '6.1 PB',\n      changePercentage: 42,\n      status: 'neutral',\n      category: 'infrastructure',\n      info: 'Total data processed monthly',\n    },\n    {\n      id: 'bandwidth',\n      icon: <Globe className=\"h-4 w-4\" />,\n      name: 'Bandwidth Usage',\n      value: '240 TB',\n      previousValue: '190 TB',\n      changePercentage: 26,\n      status: 'warning',\n      category: 'infrastructure',\n      info: 'Total bandwidth consumption this month',\n    },\n\n    // Business Metrics - Reduced to 2\n    {\n      id: 'transactions',\n      icon: <CreditCard className=\"h-4 w-4\" />,\n      name: 'Transactions',\n      value: '$740M',\n      previousValue: '$578M',\n      changePercentage: 28,\n      status: 'positive',\n      category: 'business',\n      info: 'Total transaction volume processed',\n    },\n    {\n      id: 'mrr',\n      icon: <LineChart className=\"h-4 w-4\" />,\n      name: 'MRR',\n      value: '$4.2M',\n      previousValue: '$3.6M',\n      changePercentage: 16.7,\n      status: 'positive',\n      category: 'business',\n      info: 'Monthly recurring revenue',\n    },\n  ];\n\n  // Filter metrics based on active tab\n  const filteredMetrics =\n    activeTab === 'all'\n      ? metrics\n      : metrics.filter((metric) => metric.category === activeTab);\n\n  // Function to handle tab change via dropdown\n  const handleTabChange = (value: string) => {\n    setActiveTab(value);\n  };\n\n  return (\n    <section className=\"bg-background w-full py-12 md:py-24\">\n      <div className=\"container mx-auto px-4 md:px-6 2xl:max-w-[1400px]\">\n        <div className=\"mb-8 flex flex-col items-center justify-center space-y-4 text-center\">\n          <Badge className=\"px-3.5 py-1.5\">System Metrics</Badge>\n          <h2 className=\"text-3xl font-bold tracking-tighter sm:text-4xl\">\n            Platform Health & Performance\n          </h2>\n          <p className=\"text-muted-foreground max-w-[700px] md:text-lg\">\n            Key metrics across our infrastructure, security, and business\n            operations.\n          </p>\n        </div>\n\n        <Card className=\"border p-0 shadow-sm\">\n          <CardContent className=\"p-0\">\n            <Tabs\n              defaultValue=\"all\"\n              value={activeTab}\n              onValueChange={setActiveTab}\n              className=\"w-full gap-0\"\n            >\n              {/* Mobile view: Dropdown for categories */}\n              <div className=\"border-b p-3 md:hidden\">\n                <DropdownMenu>\n                  <DropdownMenuTrigger asChild>\n                    <Button\n                      variant=\"outline\"\n                      className=\"w-full justify-between\"\n                    >\n                      <span>\n                        {activeTab === 'all'\n                          ? 'All Metrics'\n                          : activeTab.charAt(0).toUpperCase() +\n                            activeTab.slice(1)}\n                      </span>\n                      <Menu className=\"ml-2 h-4 w-4\" />\n                    </Button>\n                  </DropdownMenuTrigger>\n                  <DropdownMenuContent align=\"start\" className=\"w-[200px]\">\n                    <DropdownMenuItem onClick={() => handleTabChange('all')}>\n                      All Metrics\n                    </DropdownMenuItem>\n                    <DropdownMenuItem\n                      onClick={() => handleTabChange('performance')}\n                    >\n                      Performance\n                    </DropdownMenuItem>\n                    <DropdownMenuItem\n                      onClick={() => handleTabChange('security')}\n                    >\n                      Security\n                    </DropdownMenuItem>\n                    <DropdownMenuItem onClick={() => handleTabChange('users')}>\n                      Users\n                    </DropdownMenuItem>\n                    <DropdownMenuItem\n                      onClick={() => handleTabChange('infrastructure')}\n                    >\n                      Infrastructure\n                    </DropdownMenuItem>\n                    <DropdownMenuItem\n                      onClick={() => handleTabChange('business')}\n                    >\n                      Business\n                    </DropdownMenuItem>\n                  </DropdownMenuContent>\n                </DropdownMenu>\n              </div>\n\n              {/* Desktop view: Horizontal tabs */}\n              <div className=\"hidden border-b px-4 md:block\">\n                <TabsList className=\"h-12 bg-transparent\">\n                  <TabsTrigger\n                    value=\"all\"\n                    className=\"data-[state=active]:bg-muted rounded-none data-[state=active]:shadow-none\"\n                  >\n                    All Metrics\n                  </TabsTrigger>\n                  <TabsTrigger\n                    value=\"performance\"\n                    className=\"data-[state=active]:bg-muted rounded-none data-[state=active]:shadow-none\"\n                  >\n                    Performance\n                  </TabsTrigger>\n                  <TabsTrigger\n                    value=\"security\"\n                    className=\"data-[state=active]:bg-muted rounded-none data-[state=active]:shadow-none\"\n                  >\n                    Security\n                  </TabsTrigger>\n                  <TabsTrigger\n                    value=\"users\"\n                    className=\"data-[state=active]:bg-muted rounded-none data-[state=active]:shadow-none\"\n                  >\n                    Users\n                  </TabsTrigger>\n                  <TabsTrigger\n                    value=\"infrastructure\"\n                    className=\"data-[state=active]:bg-muted rounded-none data-[state=active]:shadow-none\"\n                  >\n                    Infrastructure\n                  </TabsTrigger>\n                  <TabsTrigger\n                    value=\"business\"\n                    className=\"data-[state=active]:bg-muted rounded-none data-[state=active]:shadow-none\"\n                  >\n                    Business\n                  </TabsTrigger>\n                </TabsList>\n              </div>\n\n              <TabsContent value={activeTab} className=\"mt-0 p-0\">\n                <div className=\"grid grid-cols-1 divide-y\">\n                  {filteredMetrics.length === 0 ? (\n                    <div className=\"text-muted-foreground py-8 text-center\">\n                      No metrics available for this category.\n                    </div>\n                  ) : (\n                    filteredMetrics.map((metric) => (\n                      <div\n                        key={metric.id}\n                        className=\"hover:bg-muted/50 flex items-center justify-between px-4 py-4 transition-colors md:px-6\"\n                      >\n                        <div className=\"flex items-center space-x-3 md:space-x-4\">\n                          <div\n                            className={cn(\n                              'flex h-8 w-8 items-center justify-center rounded-full',\n                              metric.status === 'positive' &&\n                                'bg-green-100 text-green-600',\n                              metric.status === 'negative' &&\n                                'bg-red-100 text-red-600',\n                              metric.status === 'warning' &&\n                                'bg-amber-100 text-amber-600',\n                              metric.status === 'neutral' &&\n                                'bg-blue-100 text-blue-600'\n                            )}\n                          >\n                            {metric.icon}\n                          </div>\n\n                          <div className=\"flex flex-col\">\n                            <div className=\"flex items-center\">\n                              <span className=\"text-sm font-medium\">\n                                {metric.name}\n                              </span>\n                              {metric.info && (\n                                <div className=\"group relative ml-1.5\">\n                                  <Info className=\"text-muted-foreground h-3.5 w-3.5 cursor-help\" />\n                                  <div className=\"bg-background invisible absolute bottom-full left-1/2 z-10 mb-2 w-48 -translate-x-1/2 transform rounded border p-2 text-xs opacity-0 shadow-md transition-all group-hover:visible group-hover:opacity-100\">\n                                    {metric.info}\n                                  </div>\n                                </div>\n                              )}\n                            </div>\n                            <span className=\"text-muted-foreground text-xs capitalize\">\n                              {metric.category}\n                            </span>\n                          </div>\n                        </div>\n\n                        <div className=\"flex items-center space-x-2 md:space-x-4\">\n                          {metric.previousValue && (\n                            <span className=\"text-muted-foreground hidden text-sm md:inline-block\">\n                              {metric.previousValue}\n                            </span>\n                          )}\n\n                          <div className=\"flex flex-col items-end\">\n                            <span className=\"font-bold\">{metric.value}</span>\n\n                            {metric.changePercentage !== undefined && (\n                              <div\n                                className={cn(\n                                  'flex items-center text-xs',\n                                  metric.status === 'positive' &&\n                                    'text-green-600',\n                                  metric.status === 'negative' &&\n                                    'text-red-600',\n                                  metric.status === 'warning' &&\n                                    'text-amber-600',\n                                  metric.status === 'neutral' && 'text-blue-600'\n                                )}\n                              >\n                                {metric.changePercentage > 0 ? (\n                                  <ChevronUp className=\"mr-0.5 h-3 w-3\" />\n                                ) : metric.changePercentage < 0 ? (\n                                  <ChevronDown className=\"mr-0.5 h-3 w-3\" />\n                                ) : null}\n                                {Math.abs(metric.changePercentage)}%\n                              </div>\n                            )}\n                          </div>\n                        </div>\n                      </div>\n                    ))\n                  )}\n                </div>\n              </TabsContent>\n            </Tabs>\n          </CardContent>\n        </Card>\n\n        <div className=\"mt-8 flex flex-col items-center justify-between gap-4 sm:flex-row\">\n          <div className=\"text-muted-foreground order-2 text-sm sm:order-1\">\n            <span className=\"font-medium\">Last updated:</span> Today at 15:42\n            UTC\n          </div>\n\n          <Button\n            variant=\"outline\"\n            size=\"sm\"\n            className=\"group order-1 sm:order-2\"\n            asChild\n          >\n            <a href=\"#\">\n              View complete dashboard\n              <ArrowRight className=\"ml-2 h-4 w-4 transition-transform group-hover:translate-x-1\" />\n            </a>\n          </Button>\n        </div>\n      </div>\n    </section>\n  );\n}\n","type":"registry:component","target":"components/blocks/marketing/icon-sections/compact-metric-list.tsx"},{"path":"components/ui/badge.tsx","content":"import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { Slot } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst badgeVariants = cva(\n  \"group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!\",\n  {\n    variants: {\n      variant: {\n        default: \"bg-primary text-primary-foreground [a]:hover:bg-primary/80\",\n        secondary:\n          \"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80\",\n        destructive:\n          \"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20\",\n        outline:\n          \"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground\",\n        ghost:\n          \"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50\",\n        link: \"text-primary underline-offset-4 hover:underline\",\n      },\n    },\n    defaultVariants: {\n      variant: \"default\",\n    },\n  }\n)\n\nfunction Badge({\n  className,\n  variant = \"default\",\n  asChild = false,\n  ...props\n}: React.ComponentProps<\"span\"> &\n  VariantProps<typeof badgeVariants> & { asChild?: boolean }) {\n  const Comp = asChild ? Slot.Root : \"span\"\n\n  return (\n    <Comp\n      data-slot=\"badge\"\n      data-variant={variant}\n      className={cn(badgeVariants({ variant }), className)}\n      {...props}\n    />\n  )\n}\n\nexport { Badge, badgeVariants }\n","type":"registry:ui","target":"components/ui/badge.tsx"},{"path":"components/ui/button.tsx","content":"import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { Slot } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst buttonVariants = cva(\n  \"group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n  {\n    variants: {\n      variant: {\n        default: \"bg-primary text-primary-foreground hover:bg-primary/80\",\n        outline:\n          \"border-border bg-background shadow-xs hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50\",\n        secondary:\n          \"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground\",\n        ghost:\n          \"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50\",\n        destructive:\n          \"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40\",\n        link: \"text-primary underline-offset-4 hover:underline\",\n      },\n      size: {\n        default:\n          \"h-9 gap-1.5 px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2\",\n        xs: \"h-6 gap-1 rounded-[min(var(--radius-md),8px)] px-2 text-xs in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3\",\n        sm: \"h-8 gap-1 rounded-[min(var(--radius-md),10px)] px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5\",\n        lg: \"h-10 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2\",\n        icon: \"size-9\",\n        \"icon-xs\":\n          \"size-6 rounded-[min(var(--radius-md),8px)] in-data-[slot=button-group]:rounded-md [&_svg:not([class*='size-'])]:size-3\",\n        \"icon-sm\":\n          \"size-8 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-md\",\n        \"icon-lg\": \"size-10\",\n      },\n    },\n    defaultVariants: {\n      variant: \"default\",\n      size: \"default\",\n    },\n  }\n)\n\nfunction Button({\n  className,\n  variant = \"default\",\n  size = \"default\",\n  asChild = false,\n  ...props\n}: React.ComponentProps<\"button\"> &\n  VariantProps<typeof buttonVariants> & {\n    asChild?: boolean\n  }) {\n  const Comp = asChild ? Slot.Root : \"button\"\n\n  return (\n    <Comp\n      data-slot=\"button\"\n      data-variant={variant}\n      data-size={size}\n      className={cn(buttonVariants({ variant, size, className }))}\n      {...props}\n    />\n  )\n}\n\nexport { Button, buttonVariants }\n","type":"registry:ui","target":"components/ui/button.tsx"},{"path":"components/ui/card.tsx","content":"import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Card({\n  className,\n  size = \"default\",\n  ...props\n}: React.ComponentProps<\"div\"> & { size?: \"default\" | \"sm\" }) {\n  return (\n    <div\n      data-slot=\"card\"\n      data-size={size}\n      className={cn(\n        \"group/card flex flex-col gap-6 overflow-hidden rounded-xl bg-card py-6 text-sm text-card-foreground shadow-xs ring-1 ring-foreground/10 has-[>img:first-child]:pt-0 data-[size=sm]:gap-4 data-[size=sm]:py-4 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction CardHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-header\"\n      className={cn(\n        \"group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-6 group-data-[size=sm]/card:px-4 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-6 group-data-[size=sm]/card:[.border-b]:pb-4\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction CardTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-title\"\n      className={cn(\n        \"font-heading text-base leading-normal font-medium group-data-[size=sm]/card:text-sm\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction CardDescription({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-description\"\n      className={cn(\"text-sm text-muted-foreground\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction CardAction({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-action\"\n      className={cn(\n        \"col-start-2 row-span-2 row-start-1 self-start justify-self-end\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction CardContent({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-content\"\n      className={cn(\"px-6 group-data-[size=sm]/card:px-4\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction CardFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-footer\"\n      className={cn(\n        \"flex items-center rounded-b-xl px-6 group-data-[size=sm]/card:px-4 [.border-t]:pt-6 group-data-[size=sm]/card:[.border-t]:pt-4\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nexport {\n  Card,\n  CardHeader,\n  CardFooter,\n  CardTitle,\n  CardAction,\n  CardDescription,\n  CardContent,\n}\n","type":"registry:ui","target":"components/ui/card.tsx"},{"path":"components/ui/tabs.tsx","content":"\"use client\"\n\nimport * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { Tabs as TabsPrimitive } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Tabs({\n  className,\n  orientation = \"horizontal\",\n  ...props\n}: React.ComponentProps<typeof TabsPrimitive.Root>) {\n  return (\n    <TabsPrimitive.Root\n      data-slot=\"tabs\"\n      data-orientation={orientation}\n      className={cn(\n        \"group/tabs flex gap-2 data-horizontal:flex-col\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nconst tabsListVariants = cva(\n  \"group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-9 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none\",\n  {\n    variants: {\n      variant: {\n        default: \"bg-muted\",\n        line: \"gap-1 bg-transparent\",\n      },\n    },\n    defaultVariants: {\n      variant: \"default\",\n    },\n  }\n)\n\nfunction TabsList({\n  className,\n  variant = \"default\",\n  ...props\n}: React.ComponentProps<typeof TabsPrimitive.List> &\n  VariantProps<typeof tabsListVariants>) {\n  return (\n    <TabsPrimitive.List\n      data-slot=\"tabs-list\"\n      data-variant={variant}\n      className={cn(tabsListVariants({ variant }), className)}\n      {...props}\n    />\n  )\n}\n\nfunction TabsTrigger({\n  className,\n  ...props\n}: React.ComponentProps<typeof TabsPrimitive.Trigger>) {\n  return (\n    <TabsPrimitive.Trigger\n      data-slot=\"tabs-trigger\"\n      className={cn(\n        \"relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n        \"group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent\",\n        \"data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground\",\n        \"after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction TabsContent({\n  className,\n  ...props\n}: React.ComponentProps<typeof TabsPrimitive.Content>) {\n  return (\n    <TabsPrimitive.Content\n      data-slot=\"tabs-content\"\n      className={cn(\"flex-1 text-sm outline-none\", className)}\n      {...props}\n    />\n  )\n}\n\nexport { Tabs, TabsList, TabsTrigger, TabsContent, tabsListVariants }\n","type":"registry:ui","target":"components/ui/tabs.tsx"},{"path":"components/ui/dropdown-menu.tsx","content":"\"use client\"\n\nimport * as React from \"react\"\nimport { DropdownMenu as DropdownMenuPrimitive } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\nimport { CheckIcon, ChevronRightIcon } from \"lucide-react\"\n\nfunction DropdownMenu({\n  ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>) {\n  return <DropdownMenuPrimitive.Root data-slot=\"dropdown-menu\" {...props} />\n}\n\nfunction DropdownMenuPortal({\n  ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>) {\n  return (\n    <DropdownMenuPrimitive.Portal data-slot=\"dropdown-menu-portal\" {...props} />\n  )\n}\n\nfunction DropdownMenuTrigger({\n  ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>) {\n  return (\n    <DropdownMenuPrimitive.Trigger\n      data-slot=\"dropdown-menu-trigger\"\n      {...props}\n    />\n  )\n}\n\nfunction DropdownMenuContent({\n  className,\n  align = \"start\",\n  sideOffset = 4,\n  ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Content>) {\n  return (\n    <DropdownMenuPrimitive.Portal>\n      <DropdownMenuPrimitive.Content\n        data-slot=\"dropdown-menu-content\"\n        sideOffset={sideOffset}\n        align={align}\n        className={cn(\"z-50 max-h-(--radix-dropdown-menu-content-available-height) w-(--radix-dropdown-menu-trigger-width) min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:overflow-hidden data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95\", className )}\n        {...props}\n      />\n    </DropdownMenuPrimitive.Portal>\n  )\n}\n\nfunction DropdownMenuGroup({\n  ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Group>) {\n  return (\n    <DropdownMenuPrimitive.Group data-slot=\"dropdown-menu-group\" {...props} />\n  )\n}\n\nfunction DropdownMenuItem({\n  className,\n  inset,\n  variant = \"default\",\n  ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {\n  inset?: boolean\n  variant?: \"default\" | \"destructive\"\n}) {\n  return (\n    <DropdownMenuPrimitive.Item\n      data-slot=\"dropdown-menu-item\"\n      data-inset={inset}\n      data-variant={variant}\n      className={cn(\n        \"group/dropdown-menu-item relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction DropdownMenuCheckboxItem({\n  className,\n  children,\n  checked,\n  inset,\n  ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem> & {\n  inset?: boolean\n}) {\n  return (\n    <DropdownMenuPrimitive.CheckboxItem\n      data-slot=\"dropdown-menu-checkbox-item\"\n      data-inset={inset}\n      className={cn(\n        \"relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-8 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n        className\n      )}\n      checked={checked}\n      {...props}\n    >\n      <span\n        className=\"pointer-events-none absolute right-2 flex items-center justify-center\"\n        data-slot=\"dropdown-menu-checkbox-item-indicator\"\n      >\n        <DropdownMenuPrimitive.ItemIndicator>\n          <CheckIcon\n          />\n        </DropdownMenuPrimitive.ItemIndicator>\n      </span>\n      {children}\n    </DropdownMenuPrimitive.CheckboxItem>\n  )\n}\n\nfunction DropdownMenuRadioGroup({\n  ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>) {\n  return (\n    <DropdownMenuPrimitive.RadioGroup\n      data-slot=\"dropdown-menu-radio-group\"\n      {...props}\n    />\n  )\n}\n\nfunction DropdownMenuRadioItem({\n  className,\n  children,\n  inset,\n  ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {\n  inset?: boolean\n}) {\n  return (\n    <DropdownMenuPrimitive.RadioItem\n      data-slot=\"dropdown-menu-radio-item\"\n      data-inset={inset}\n      className={cn(\n        \"relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-8 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n        className\n      )}\n      {...props}\n    >\n      <span\n        className=\"pointer-events-none absolute right-2 flex items-center justify-center\"\n        data-slot=\"dropdown-menu-radio-item-indicator\"\n      >\n        <DropdownMenuPrimitive.ItemIndicator>\n          <CheckIcon\n          />\n        </DropdownMenuPrimitive.ItemIndicator>\n      </span>\n      {children}\n    </DropdownMenuPrimitive.RadioItem>\n  )\n}\n\nfunction DropdownMenuLabel({\n  className,\n  inset,\n  ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {\n  inset?: boolean\n}) {\n  return (\n    <DropdownMenuPrimitive.Label\n      data-slot=\"dropdown-menu-label\"\n      data-inset={inset}\n      className={cn(\n        \"px-2 py-1.5 text-xs font-medium text-muted-foreground data-inset:pl-8\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction DropdownMenuSeparator({\n  className,\n  ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>) {\n  return (\n    <DropdownMenuPrimitive.Separator\n      data-slot=\"dropdown-menu-separator\"\n      className={cn(\"-mx-1 my-1 h-px bg-border\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction DropdownMenuShortcut({\n  className,\n  ...props\n}: React.ComponentProps<\"span\">) {\n  return (\n    <span\n      data-slot=\"dropdown-menu-shortcut\"\n      className={cn(\n        \"ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction DropdownMenuSub({\n  ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>) {\n  return <DropdownMenuPrimitive.Sub data-slot=\"dropdown-menu-sub\" {...props} />\n}\n\nfunction DropdownMenuSubTrigger({\n  className,\n  inset,\n  children,\n  ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {\n  inset?: boolean\n}) {\n  return (\n    <DropdownMenuPrimitive.SubTrigger\n      data-slot=\"dropdown-menu-sub-trigger\"\n      data-inset={inset}\n      className={cn(\n        \"flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-8 data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n        className\n      )}\n      {...props}\n    >\n      {children}\n      <ChevronRightIcon className=\"ml-auto\" />\n    </DropdownMenuPrimitive.SubTrigger>\n  )\n}\n\nfunction DropdownMenuSubContent({\n  className,\n  ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>) {\n  return (\n    <DropdownMenuPrimitive.SubContent\n      data-slot=\"dropdown-menu-sub-content\"\n      className={cn(\"z-50 min-w-[96px] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md bg-popover p-1 text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95\", className )}\n      {...props}\n    />\n  )\n}\n\nexport {\n  DropdownMenu,\n  DropdownMenuPortal,\n  DropdownMenuTrigger,\n  DropdownMenuContent,\n  DropdownMenuGroup,\n  DropdownMenuLabel,\n  DropdownMenuItem,\n  DropdownMenuCheckboxItem,\n  DropdownMenuRadioGroup,\n  DropdownMenuRadioItem,\n  DropdownMenuSeparator,\n  DropdownMenuShortcut,\n  DropdownMenuSub,\n  DropdownMenuSubTrigger,\n  DropdownMenuSubContent,\n}\n","type":"registry:ui","target":"components/ui/dropdown-menu.tsx"}],"description":"A tight vertical list pairing icons with numbers and labels. Shows key metrics in a small footprint, ideal for sidebars or dense feature pages.","dependencies":["class-variance-authority","lucide-react","radix-ui"]}