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#
| Prop | Type | Default |
|---|---|---|
onImport | (files: FileList | File[]) => void | - |
className | string | - |
Dependencies#
npm
React only
Built from
Examples#
Related settings components#
Admin User RowUser management row with avatar, online status dot, name, email, a role chip for admin, write or read access, and an accessible actions menu button.Avatar UploadReact profile photo uploader with an avatar preview and an Upload button that opens a hidden image file input. Shows initials until a picture is chosen.Connected AccountTailwind settings row for a linked third party account showing the provider and account name, with a Disconnect button. For OAuth and integrations.Danger ZoneDanger zone settings card with a red outline, a warning that the action cannot be undone and a destructive delete button. Put it last on settings pages.Delete Account ConfirmAccount deletion step with a danger alert and a confirmation field: the delete button stays disabled until the user types DELETE. Guards against misclicks.Export DataSettings card to request a data export, explaining what the JSON export includes and when it will be ready, with a Request export button.
All settings page components