Component libraryAnalytics dashboard template
Components/Templates

Analytics dashboard template

Pro

An assembled responsive analytics page with a metric overview, controlled line chart, activity feed and native range and page actions.

npx shadcn@latest add @tidal-pro/analytics-dashboard-template
Desktop viewport

Installation

Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.

Terminal
npx shadcn@latest add @tidal-pro/analytics-dashboard-template

Import components/ui/tidal.css, components/ui/analytics-dashboard-template.css, components/ui/stats-grid.css, components/ui/line-chart.css, components/ui/activity-feed.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.

Usage

Complete example source · Dependency and asset manifest

Loading the complete example…

API & behavior

title is required and renders the page h1 inside a content div, avoiding an implicit nested main landmark. Optional eyebrow and description preserve numeric zero. stats, chart and activity are required typed configurations inferred from @tidal-pro/stats-grid, @tidal-pro/line-chart and @tidal-pro/activity-feed; the template owns their h2/h3 hierarchy and forwards the remaining native component contracts. Optional range is a controlled labelled single native select with string options, disabled choices, native attributes/ref and caller-first preventable onChange composition; value, defaultValue, multiple, size, aria-label and aria-disabled are excluded while native disabled remains available. Optional ordered page actions are native buttons or real anchors with consumer labels, emphasis, disabled state, matching native attributes and refs. Button native clicks run first and prevention suppresses onAction. Disabled links prevent navigation before caller handling while explicit aria-disabled=false is preserved. Optional actionsLabel, footer and root native attributes/ref remain consumer-owned. The template performs no aggregation, filtering, mutation, request, routing, analytics, network, storage or persistence action.

Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.

Building with an agent?Give it the installation guide and component catalog.