Export Data

Settings card to request a data export, explaining what the JSON export includes and when it will be ready, with a Request export button.

src/registry/ui/export-data.tsx/r/export-data.json

Installation#

bash
npx shadcn@latest add @minidev/export-data

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/export-data.json

Usage#

tsx
import { ExportData } from "@/components/ui/export-data"

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

API reference#

ExportData props
PropTypeDefault
classNamestring-

Dependencies#

npm

React only

Built from

All settings page components