Skip to content
Dinvolt
Esc
↑↓navigate↵open⌘Jpreview
On this page

UI registry

For Admin panel only projects, the login is /, the home page is /dashboard, and other panel pages omit the /admin prefix. Components use @/components and @/components/ui. API endpoints such as /api/admin/users/export keep their paths. Examples below use the combined public website + admin panel layout; generated standalone guides use the app’s actual paths.

Install editable components and complete UI blocks into your Dinvolt project. Your application owns the installed source, so you can customize it directly.

Choose a block

Block Target Use it for
@dinvolt/admin-panel admin Login, a protected sidebar, Home, Users, settings examples and action buttons.
@dinvolt/public-actions public Save, copy and delete buttons for public pages.
@dinvolt/admin-spinner admin A standalone SVG Spinner.

Projects created with Public website + admin panel or Admin panel only already include the panel and spinner. The panel requires the generated Better Auth and tRPC/Query integrations; the other blocks do not require authentication.

See Admin panel for its pages and Action components for usage examples.

Install a block

Run this inside a compatible Dinvolt project. For public action buttons:

npx dinvolt ui add @dinvolt/public-actions --target public
bunx dinvolt ui add @dinvolt/public-actions --target public
pnpm dlx dinvolt ui add @dinvolt/public-actions --target public
yarn dlx dinvolt ui add @dinvolt/public-actions --target public

For the admin panel:

npx dinvolt ui add @dinvolt/admin-panel --target admin
bunx dinvolt ui add @dinvolt/admin-panel --target admin
pnpm dlx dinvolt ui add @dinvolt/admin-panel --target admin
yarn dlx dinvolt ui add @dinvolt/admin-panel --target admin

The legacy name @dinvolt/admin-login is still accepted as an alias for the admin panel.

Add individual components

Use the same command for official shadcn/ui components:

npx dinvolt ui add button dialog --target public
bunx dinvolt ui add button dialog --target public
pnpm dlx dinvolt ui add button dialog --target public
yarn dlx dinvolt ui add button dialog --target public

The combined public website + admin panel project has separate profiles and themes. Public-only and admin-only projects each have one profile:

Project type Target Primitives and actions
Public website only public @/components/ui
Public website + admin panel public @/components/ui
Public website + admin panel admin @/components/admin/ui
Admin panel only admin @/components/ui

Icons live in @/components/icons in all three project types. Only installed targets are available: an admin-only app cannot install a public block. Without --target, Dinvolt selects public for public-only projects and admin for either project type with a panel.

Update installed code

New projects include RadioGroupInline / RadioGroupInlineItem from radio-group-inline and RadioGroupCard / RadioGroupCardItem from radio-group-cards in each area’s UI directory, including with custom presets. Each area owns its editable copies and uses its selected theme.

Consider Inline for a few short options and Cards when options need titles and descriptions. Showing all choices removes the extra click to open a dropdown. With many options or limited space, a Select or searchable Combobox may fit better; this is a UX suggestion, not a fixed rule. Existing projects can add them with npx dinvolt ui add radio-group-inline radio-group-cards --target public (or --target admin).

Reinstalling an unchanged block does nothing. Customized, incomplete or conflicting blocks require manual review; --overwrite does not replace them.

Catalog changes affect future installations. Review and apply changes to existing application code yourself. See the CLI reference for installation options.

Licenses

The panel adapts shadcn/ui’s login-05 and sidebar-08 under MIT. Keep the installed license notices.

Nucleo icons retain their separate license. Keep src/components/icons/LICENSE.nucleo with the icons.

In this section

  • Admin panel: Sign in, manage users and extend the admin panel.
  • Action components: Add pending, copy and delete actions to your forms and pages.

Was this page helpful?