Blocks / Settings

Workspace Settings

Workspace name/URL editing and owner-only deletion, backed by the framework's workspace service.

$pnpm exec shadcn add @intelligo/workspace-settings

Run it inside an app made by intelligo create. Anywhere else, name the registry and install the base first.

Loading preview…
about this block

Workspace name/URL editing and owner-only deletion, backed by the framework's workspace service.

yours to edit

No config seam of its own — it follows the app shell and the messages file.

messages/en/workspace-settings.json

Everything else is used verbatim; a deployment varies through these files and translations.How seams work →

requires
built from

button, card, dialog, input, label, skeleton, page-header, hold-action-button

npm packages it adds

@intelligo-dev/auth · @intelligo-dev/core · @intelligo-dev/billing · @intelligo-dev/next · drizzle-orm · sonner · server-only · next-intl

what shadcn add writes · 7 files
Routes
  • app/[locale]/(app)/settings/workspace/page.tsx
  • app/[locale]/(app)/settings/workspace/loading.tsx
  • app/[locale]/(app)/settings/workspace/error.tsx
Components
  • components/workspace/workspace-settings-form.tsx
Actions, config and messages
  • actions/workspace.ts
  • lib/workspace.ts
  • messages/en/workspace-settings.json

Ready to try it? Three commands and the app runs against a stub model.