Report Builder

A React report builder layout with an export action, a date range picker and a chart card for the selected metrics. A base for custom reporting screens.

src/registry/blocks/report-builder.tsx/r/report-builder.json

Installation#

bash
npx shadcn@latest add @minidev/report-builder

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/report-builder.json

Usage#

tsx
import { ReportBuilder } from "@/components/ui/report-builder"

export function Example() {
  return <ReportBuilder />
}

API reference#

ReportBuilder takes no props. It ships with realistic sample content: install it, then edit the copy and data in the file directly. The file is yours.

Dependencies#

All dashboard components

Learn more