Admin — users
BlockA team administration table with filtering, sorting and per-row actions.
- Dashboards
- 8 components
- 1 file
Loading the example…
pnpm dlx @dowel-ui/cli add admin-usersimport { AdminUsersBlock } from "@/components/blocks/admin-users";<AdminUsersBlock>
| Prop | Type | Default |
|---|---|---|
users (required) | AdminUser[] | — |
onEdit | (user: AdminUser) => void | — |
onInvite | () => void | — |
onRemove | (user: AdminUser) => void | — |
className | string | — |
Filtering changes the results without the user asking, so the matching count is announced politely. The filter has a real label rather than only a placeholder, which disappears the moment anyone types. Each row's action button is named after its row — four identical "Actions" buttons say nothing about which row you are on.