$
Run it inside an app made by intelligo create. Anywhere else, name the registry and install the base first.
Loading preview…
about this block
Accept or decline a workspace invitation via the team service. Requires the team-settings item (provides lib/team.ts and the role badge); install it first.
yours to edit
No config seam of its own — it follows the app shell and the messages file.
messages/en/invitation-accept.json
Everything else is used verbatim; a deployment varies through these files and translations.How seams work →
requires
npm packages it adds
@intelligo-dev/auth · @intelligo-dev/core · @intelligo-dev/next · sonner · next-intl
what shadcn add writes · 7 files
Routes
- app/[locale]/accept-invitation/[id]/page.tsx
- app/[locale]/accept-invitation/[id]/layout.tsx
- app/[locale]/accept-invitation/[id]/loading.tsx
- app/[locale]/accept-invitation/[id]/error.tsx
Components
- components/invitation/invitation-actions.tsx
Actions, config and messages
- actions/invitation.ts
- messages/en/invitation-accept.json
Ready to try it? Three commands and the app runs against a stub model.