Analytics Dashboard
A clear analytics workspace with headline metrics, trends, and recent activity.
Overview
About the Analytics Dashboard
A clear analytics workspace with headline metrics, trends, and recent activity. It is delivered as editable TypeScript for React. Tailwind CSS is required because the delivered dashboard JSX uses utility classes. Its focused API can be adapted to your own content and visual system.
Usage
When to use it
- SaaS products that need a clear executive overview of core metrics.
- Internal analytics tools combining headline performance and recent activity.
What’s included
Files installed with the component
Analytics Dashboard source
components/analytics-dashboard.tsxEditable React and TypeScript component source.
Working example
examples/example.tsxA minimal import and render example that matches the packaged API.
Installation guide
README.mdManual ZIP installation, styling, compatibility, asset, and usage notes.
Usage
Import and render
Copy the packaged source to the documented path, then use the public API shown below.
import AnalyticsDashboard from "@/components/analytics-dashboard";export default function DashboardPage() {
return <AnalyticsDashboard />;
}Props
Component API
The current source has no public props; replace the local metrics array with values from your own data layer.
Compatibility
Verified project setup
- ReactLoom's preview is tested with Next.js 16.3.8 App Router, React 19.2.8, TypeScript 5.9.3, and Tailwind CSS 4.3.3. This describes the store environment, not the product's minimum requirements.
- This component does not require a Client Component boundary unless you add client-side behavior.
- Tailwind CSS is required because the delivered dashboard JSX uses utility classes.
- Images
- No image files are included or required by the packaged component.
- Fonts
- No font files are included. The component uses system font fallbacks unless your app supplies a matching font.
Installation
Add it to your project
Download the Analytics Dashboard ZIP, place the source file at src/components/analytics-dashboard.tsx, and copy the example into your own page or feature folder.
Target path
src/components/analytics-dashboard.tsxNo additional npm runtime packages are required beyond the React host; follow the styling requirements below.
Styling requirements
- Tailwind CSS is required by the component source.
- ReactLoom verifies this source with Tailwind CSS 4.3.3; other Tailwind versions have not been verified.
- Keep the component and example paths in Tailwind's source detection scope.
- For the verified Next.js and Tailwind CSS 4 setup, register @tailwindcss/postcss in postcss.config.mjs.
- Import tailwindcss from the application's global CSS entry point.