Bulk User Import

CSV user import panel with a format hint for email, name and role, a CSV-only dropzone and an Import users button that enables once a file is added.

src/registry/ui/bulk-user-import.tsx/r/bulk-user-import.json

Installation#

bash
npx shadcn@latest add @minidev/bulk-user-import

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/bulk-user-import.json

Usage#

tsx
import { BulkUserImport } from "@/components/ui/bulk-user-import"

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

API reference#

BulkUserImport props
PropTypeDefault
onImport(files: FileList | File[]) => void-
classNamestring-

Dependencies#

npm

React only

Examples#

All settings page components