Reference

Components

Source
Every component by area, with its status and its section: one gate, one notice region, the account, workspace, billing, admin and shell components, the parts each is built from, the contract each keeps, and the base module's components it passes through.

The module registers about thirty components of its own, auto-imported in every page and layout, and keeps the base module's <StorageImage> under a neutral name. Every one of its own keeps one contract, so a component you have not used yet reads like the ones you have: the same slots-and-events shape, the same data-* hooks, the same states and the same accessibility. This page lists them by area, with each one's status, and links to its section.

One component per job

  • One gate. <Gate> shows a region only to the people its signed-in, role, workspace, feature and quota props admit.
  • One notice region. <BackendNotices> holds every app-wide notice, each overridden through its slot.
  • Built from parts. Each component is a .vue file made of named parts, and a same-named component in your app replaces a part everywhere. Tokens live on :root inside @layer nuxt-backend, css: false loads no package CSS, and npx nuxt-backend eject copies a part's source into the app. The components work beside any UI library and depend on none.

Components by area

ComponentAreaStatusWhat it is
<Gate>GatingAvailableIts content only for the people its props admit: signed in, a role, a workspace, a plan feature, room in a quota
<BackendNotices>NoticesAvailableOne region for every app-wide notice: impersonation, maintenance, announcements, a scheduled deletion, low credits and gifts to claim
<AuthForm>Sign-in and accountAvailableThe passwordless sign-in: email code and passkey, one slot per step
<AcceptInvitation>Sign-in and accountAvailableAccept or decline a workspace invitation
<ProfileSettings>Sign-in and accountAvailableThe name, the email change and the language
<SecuritySettings>Sign-in and accountAvailablePasskeys, device sessions and signing out
<ReauthenticateDialog>Sign-in and accountAvailable"Confirm it's you" before a sensitive action
<AccountData>Sign-in and accountAvailableThe account's data export, with its files as zip parts, and its deletion, which waits out a grace period the person can cancel
<AccessDenied>Sign-in and accountAvailableThe page guard's 403
<ConnectionStatus>Sign-in and accountAvailableThe live connection's state, in words
<ConsentPrompt>Sign-in and accountAvailableThe consents to accept again, the age question and the question about optional storage
<WorkspaceSettings>WorkspacesAvailableThe workspaces, the plan and the credits of the active workspace
<PricingTable>BillingAvailableThe plans and packs, with checkout, plan changes and the portal
<BillingCheckoutLink>BillingAvailableA link that opens a checkout
<BillingPortalLink>BillingAvailableA link that opens the customer portal
<BillingHistory>BillingAvailablePast charges with their invoices
<UsageHistory>BillingAvailableMetered usage, event by event
<UpgradePrompt>BillingAvailableThe plans that include a feature someone lacks
<CancelFlow>BillingAvailableOne optional question, at most one save offer, then the cancellation, built from the CancelFlowQuestion, CancelFlowOffer, CancelFlowConfirm and CancelFlowEnd parts (Handle cancellations)
<WithdrawalButton>BillingAvailableThe EU withdrawal button, with its confirm step and email receipt (Follow subscription law)
<GiftForm>BillingAvailableBuy a credit pack or a plan pass for someone by email, with a note and a delivery day (Gifts)
<GiftList>BillingAvailableThe gifts a person received, to claim, and the ones they sent, to fix until they are claimed (Manage gifts)
<AdminUsers>AdminAvailableEvery account, for administrators
<AdminWorkspaces>AdminAvailableEvery workspace, for administrators
<AuditLog>AdminAvailableThe activity trail, a page at a time
<NotificationInbox>NotificationsAvailableThe in-app notifications, with the unread count
<WaitlistForm>Sign-in and accountAvailableJoin the waitlist, confirm the address, see your place, built from the WaitlistJoin, WaitlistCode, WaitlistPlace and WaitlistShare parts
<ContactForm>EmailAvailableA contact or feedback form delivered to your team
<UploadField>FilesAvailableA checked upload with progress
<AppShell>ShellAvailableThe frame of a signed-in app, for your layout: the header with the workspace switcher and the account menu, the notices and the page, built from the AccountMenu and WorkspaceSwitcher parts (Build the app shell)
<OnboardingFlow>Sign-in and accountAvailableThe first run at /welcome, built from the OnboardingProfile, OnboardingWorkspace, OnboardingTeammates and OnboardingPlan parts (Guide people to their first result)
<AiLabel>AIAvailableThe visible "AI-generated" label on generated content, with what made it (Label AI-generated content)
<ActivationChecklist>Sign-in and accountAvailableThree to seven first tasks, with progress (Guide people to their first result)
<HowDidYouHear>Sign-in and accountAvailableOne optional question after sign-up, stored with the first-touch campaign (Measure growth)
<ReferralCard>BillingAvailableA person's referral link with copy and share buttons, and the disclosure of the reward (Referrals)
<StorageImage>Base moduleAvailableAn image from file storage

Apps add tabs of their own to the admin console (Add your own admin tabs).

Names from before 0.2.0

The previews of main before 0.2.0 had these components. Each one's job is the name beside it now:

WasIts job now
RoleBoundary<Gate role>
OrganizationBoundary<Gate workspace>
FeatureBoundary<Gate feature>
QuotaBoundary<Gate quota>
ImpersonationBannerThe impersonation notice of <BackendNotices>
MaintenanceBannerThe maintenance notice of <BackendNotices>
CreditsLowBannerThe low-credits notice of <BackendNotices>
GiftClaimBannerThe gift notice of <BackendNotices>

The component contract

Every packaged component:

  1. Renders one root with its family. It renders semantic, unstyled markup, and every element it renders carries data-<family> (data-pricing="plan", data-settings="switch"). Those are the hooks the module's stylesheet and your CSS select; a component that renders only your slots has no family.
  2. Types its slots. Each slot is declared with SlotsType, so a slot's props type-check in your template. The names below are the whole list, and each region of the markup has one.
  3. Types its events. emits is an object of validators, so @plan-changed and the rest type-check, and an event the table does not list does not exist.
  4. Has a state for everything it waits on. Loading, empty, failed, busy and refused (signed out, a role or a feature the person lacks, a member who manages no billing) each render something deliberate, never a stale or misleading screen. Refused means no control the server would refuse.
  5. Takes its words from labels. Every word it shows comes from its label group, and its labels prop overrides that group for one placement. A component with no group shows only words you pass.
  6. Is accessible. Every control's accessible name is the words it shows. A repeated control sits in a group named by what it acts on (a plan card, a workspace row), which also describes it, so a row of "Subscribe" buttons reads apart in any language. A busy button keeps focus (aria-disabled) and says what it waits for; loading and empty are polite statuses, a failure is an alert, and the part that waits is aria-busy. The Accessibility page has each component's guarantees.
  7. Is made of parts. Each region is a registered part that keeps its data-* hook and takes its parent's composable as a prop, so a part you swap in keeps the rest of the contract.

A component that breaks the contract fails the package's tests, which render every component in every state.

The package's components

Generated from the contract's rows, which the contract tests render every component against:

ComponentFamilyLabelsSlotsEventsStates
<AuthForm>data-authauthheader, choose, request-code, verify-code, passkey-offer, recover, waitlisted, invite-code, age, two-factor, undeliverable, error, footersuccess, error, stepready, request-code, verify-code, two-factor, passkey-offer, recover, waitlisted, invite-code, age, undeliverable, pending, error
<ConsentPrompt>data-consentconsentconsent, footergranted, errorready, age, storage, pending, error
<WaitlistForm>data-waitlistwaitlistjoin, verify, statusjoined, signed-in, left, errorready, verify-code, waitlisted, pending, error
<ProfileSettings>data-profileprofileidentity, name, email, language, preferences, footername-saved, email-changed, errorready, confirm-current, pending, error
<SecuritySettings>data-securitysecuritypasskeys, passkey, twoFactor, sessions, session, alerts, danger, footerpasskey-added, passkey-removed, two-factor-enabled, two-factor-disabled, session-revoked, sessions-revoked, signed-out, errorready, loading, pending, error
<AcceptInvitation>data-invitationinvitationloading, ready, accepted, declined, missing, erroraccepted, declined, errorloading, ready, pending, accepted, declined, missing, error
<PricingTable>data-pricingpricingheader, interval, currency, loading, empty, soon, plan, plan-action, contact, packs, pack, portal, error, footerupdate:interval, checkout, plan-changed, canceled, uncanceled, topped-up, errorloading, empty, soon, ready, yearly, currencies, promotion, pending, confirm-cancel, error, refused
<BillingCheckoutLink>data-billingnone: the link's words are your default slotdefaulterrorready, pending, refused
<BillingPortalLink>data-billingnone: the link's words are your default slotdefaulterrorready, pending, refused
<BillingHistory>data-historyhistoryheader, loading, empty, order, pager, error, footerinvoice, errorloading, empty, ready, pending, error
<UsageHistory>data-usageusageheader, loading, empty, event, pager, error, footernoneloading, empty, ready, pending, error
<AccountData>data-accountaccountexport, delete, error, footerexported, scheduled, kept, errorready, loading, pending, error, refused, scheduled
<AuditLog>data-auditauditheader, loading, empty, event, pager, error, footernoneloading, empty, ready, pending, error, refused
<AdminUsers>data-adminadminheader, loading, empty, user, pager, error, footerrole-changed, banned, unbanned, sessions-revoked, impersonated, errorloading, empty, ready, pending, error, refused
<AdminWorkspaces>data-adminadminheader, loading, empty, workspace, pager, error, footerimpersonated, errorloading, empty, ready, pending, error, refused
<UpgradePrompt>data-upgradeupgradedefault, message, actiondismissedloading, ready, refused
<CancelFlow>data-cancel-flowcancelFlowquestion, offer, confirm, endclose, canceled, kept, errorready, pending, offered, done, error, confirm-cancel
<WithdrawalButton>data-withdrawalwithdrawalnonewithdrawn, errorrefused
<GiftForm>data-giftgiftnonecheckout, errorready, loading, empty, pending, error, sent
<GiftList>data-giftgiftnonenoneready, loading, empty, error
<ReferralCard>data-referralreferralnonecopied, shared, errorready, loading, error, refused
<WorkspaceSettings>data-settingssettingsworkspaces, workspace, create, billing, credits, footerworkspace-created, workspace-switched, plan-canceled, plan-uncanceled, plan-resumed, change-canceled, plan-changed, plan-paused, topped-up, errorready, loading, pending, error, refused, trialing, past-due, paused, canceling, changing, confirm-cancel
<Gate>data-quotaquotadefault, fallback, placeholder, errornoneloading, ready, refused, error
<BackendNotices>none: only your slotsnoneimpersonation, maintenance, past-due, deletion, low-credits, gift, announcementnoneempty, ready
<AccessDenied>data-accessaccesstitle, message, actionssigned-out, errorready, pending, error
<ReauthenticateDialog>data-reauthenticatereauthenticatechoose, verify-code, error, footerreauthenticated, cancelled, error, stepempty, ready, verify-code, pending, error
<ConnectionStatus>data-connectionconnectiondefaultnoneempty, ready
<UploadField>data-uploaduploaddefault, file, errorupdate:modelValue, errorready, uploading, claiming, done, refused, error
<NotificationInbox>data-notificationsnotificationsnotification, emptynoneready, loading, empty, error, pending, refused
<ContactForm>data-contactcontactfields, sent, errorsent, errorready, pending, sent, error, refused
<AppShell>data-shellshellbrand, nav, actions, defaultnoneready, loading, refused
<OnboardingFlow>data-onboardingonboardingprofile, workspace, teammates, plandone, stepready, workspace, teammates, plan, pending, done, error
<ActivationChecklist>data-activationactivationtask, congratulationsdismissed, completedready, loading, empty, pending, done, refused
<HowDidYouHear>data-sourcesourceoptiondone, errorready, loading, pending, error, done, answered, refused
<AiLabel>data-ai-labelaidefaultnoneready, done
<LegalProcessors>data-legallegalnonenoneready
<LegalStorage>data-legallegalnonenoneready
<LegalDetail>data-legallegalnonenoneready, missing
<LegalVersion>data-legallegalnonenoneready, empty
<LegalContactPoints>data-legallegalnonenoneready, empty
<LegalModeration>data-legallegalnonenoneready

A notice shows nothing when it has nothing to say (empty): what stays is an empty live region it appears in, so the region can stay mounted in a layout. A gate's states are which of your slots it renders.

By family

Each component has a section on its family's page: the page that renders it, its props, its slots, events and states, and its accessibility guarantee. The table below is generated from the module's registry; the forms have a page of their own.

ComponentPageWhat it is
<AuthForm>AccountThe complete passwordless sign-in flow (passkeys + email OTP) in one component: semantic markup where every element carries a data-auth attribute, built from parts (AuthFormChoose, AuthFormCode, …) that a same-named component of the app's replaces, and a slot per step.
<WaitlistForm>AccountJoin the waitlist: the address, your questions, the launch-news box (unticked), then the sign-in code that proves the address, then the person's place, a link to share and a way to leave.
<ReauthenticateDialog>Account"Confirm it's you": the dialog a sensitive action opens when the server refuses it as reauthentication_required.
<ProfileSettings>AccountAccount profile: identity chrome (avatar initials, verification / role / workspace badges), display-name editing, the email change, by a code from each address, and, with @nuxtjs/i18n and two locales or more, the person's language, which their emails are written in.
<SecuritySettings>AccountEverything that guards the account: passkey management (add / inline rename / remove), active device sessions (revoke one / revoke others), the latest sign-ins from a new device (each signs its session out while it lasts), and signing this browser out.
<ConsentPrompt>AccountAsks for the consents a person has not given at their current version, and nothing else: the required kinds setupAccount({ consents }) declares after a version rises (the page waits behind a dialog until they are accepted), the age of an account that never answered the minimum age, and, while the app uses optional storage, one question per browser with Allow and Decline of equal weight.
<OnboardingFlow>AccountThe first run a new account sees once, at /welcome: a few short steps.
<ActivationChecklist>AccountThe first tasks that lead to value, with progress, for a page of your app: the tasks defineActivation declares, each ticked off when its event is recorded, "2 of 4 done", a link per open task and a Dismiss button.
<HowDidYouHear>AccountOne optional question after sign-up: "How did you hear about us?".
<AccountData>AccountThe account's data rights: download everything the app keeps of the account in one file, and delete the account, once the person typed their address to confirm it.
<WorkspaceSettings>Workspaces and adminWorkspace, plan, and credits management — the billing entity is the active workspace, so switching workspaces switches the subscription.
<AcceptInvitation>Workspaces and adminAccept/decline UI for a workspace-invitation link (/accept-invitation?id=<invitationId> — the URL invitation emails point at).
<AuditLog>Workspaces and adminThe activity trail as a list, a page at a time: the signed-in account's own (scope="mine", the default), the active workspace's for its owners and admins (scope="workspace"), or every event for administrators (scope="all").
<PricingTable>BillingA complete pricing table, rendered on the server: plan cards from the live pricing (usePricing, the scaffolded getPricing), a monthly / yearly switch with what a year saves, subscribe / switch / cancel actions, credit packs compared credit for credit, a contact card, and a customer-portal link.
<BillingCheckoutLink>BillingA link that opens a checkout for the caller's billing entity.
<BillingPortalLink>BillingA link that opens the billing customer portal for the caller's billing entity, through the app's generateCustomerPortalUrl, on click.
<BillingHistory>BillingThe customer's past charges with their invoice links — every row read live from the billing provider (this package stores no order ledger), so what renders is what the provider will show on the invoice.
<UsageHistory>BillingMetered consumption, event by event, straight from the provider's events API — the same records that drew the credit balance down.
<UpgradePrompt>BillingWhat someone whose plan lacks a feature sees: a sentence naming the plans on sale that include it, in pricing order, and a link to the first of them on the pricing page (/pricing?plan=<key>).
<CancelFlow>BillingCancelling takes one step; a save offer is one optional step.
<WithdrawalButton>BillingThe EU withdrawal button (Consumer Rights Directive Art. 11a, from 2026-06-19): "Withdraw from contract here", for a purchase inside its 14 days, then a confirm step, "Confirm withdrawal".
<GiftForm>BillingThe gift form: a credit pack or a plan pass with its length (the lengths the plan is gifted for, at their live prices), the recipient's email, a note and a delivery day, then the purchaser's own checkout (useGifts().send).
<GiftList>BillingThe gifts a person received, each to claim into a workspace they manage, and the gifts they sent, each with what they can still do until it is claimed: resend its notice, address it to someone else, date it again, or cancel it for a refund behind a recent sign-in.
<ReferralCard>BillingA person's referral link, with copy and share buttons and the disclosure of the reward: the link is /r/<code> on this site, made the first time the card is read.
<AdminUsers>Workspaces and adminEvery account of the app, for its administrators: a search by address, a page at a time (AdminUsersTable), and a drawer with one account in full (AdminUserDrawer): its role, its ban, its device sessions and workspaces, and "Impersonate".
<AdminWorkspaces>Workspaces and adminEvery workspace of the app, read-only, for its administrators: a search by name, a page at a time (AdminWorkspacesTable), and a drawer with one workspace's members and open invitations (AdminWorkspaceDrawer).
<Gate>Shell, gates and noticesRenders its content only for the people every check it names admits: signed in (signed-in), an app-wide role (role), the active workspace or a role in it (workspace), a feature of the plan (feature), or room left on a quota (quota, amount).
<BackendNotices>Shell, gates and noticesOne region for every notice that holds for the whole session, on every page: an administrator acting as the account, maintenance, a failed payment, a scheduled deletion, low credits, a gift to claim and announcements.
<AccessDenied>Shell, gates and noticesWhat a signed-in person sees when a page is not open to them: the page guard's 403 (definePageMeta({ auth: { role, workspace, feature } })) on the module's error page or your app's error.vue, or a refusal of your own.
<ConnectionStatus>Shell, gates and noticesThe live connection's state, in words, for a person: nothing while it is up; "Reconnecting…" once a drop has lasted delay; "You're offline." as soon as the browser is; and how many changes wait to be sent meanwhile.
<UploadField>Shell, gates and noticesA labelled file field that uploads through the upload URL setupStorage mints, then calls claim, where the deployment checks the file.
<NotificationInbox>Shell, gates and noticesWhat the app told a person, in the app: a button whose accessible name carries the unread count, and the list it opens on the browser's own popover, newest first.
<ContactForm>Shell, gates and noticesA contact form for visitors, and a feedback form for signed-in people: the same component.
<AppShell>Shell, gates and noticesThe frame of a signed-in app, for your layout: a header with your brand and links, the workspace switcher, the notification bell and the account menu, then the app-wide notices, then your page in the <main> landmark, with the consent dialog and the connection status closing it.
<AiLabel>Shell, gates and noticesThe visible "AI-generated" label the EU AI Act (Art. 50) asks for, beside an image or a text a model made.
<LegalProcessors>Shell, gates and noticesThe processors an app on the package hands personal data to, as a table: who, what each handles, where, and its agreement.
<LegalStorage>Shell, gates and noticesEvery cookie and storage key the package writes for the capabilities the app uses, then the app's own (appConfig.backend.legal.storage), as a table: its name, where it lives, what it is for, how long it lasts, and whether it waits for the person's permission.
<LegalDetail>Shell, gates and noticesOne of the company details appConfig.backend.legal holds, inside a sentence of yours: the company, its address and phone, the contact, the data protection officer, the registration number, the share capital, the VAT line, the publication director, the host or the consumer mediator.
<LegalVersion>Shell, gates and noticesThe version of one of your documents, as setupAccount({ consents }) declares it in backend/account.ts: the version the consent ledger records when someone agrees, so the page and the record never disagree.
<LegalContactPoints>Shell, gates and noticesThe single points of contact the EU Digital Services Act asks every host to name: one for the authorities of the member states, the Commission and the Board (Art. 11), one for the people who use the app (Art. 12, legal.contact unless you name another), and the languages you answer in, from appConfig.backend.legal.contactPoints.
<LegalModeration>Shell, gates and noticesHow content is moderated, as the EU Digital Services Act asks a host's terms to say (Art. 14): a person on your team decides every report, every notice and every appeal, through the admin console's Reports tab; and the automated tools that check content (appConfig.backend.legal.moderation), each with what it checks and whether its verdict takes effect on its own or waits for a person.

Account

Sign-in, the waitlist form, consents, profile, security and the account's data.

Workspaces and admin

Workspace settings, the invitation page, the activity trail and the admin console.

Billing

Pricing, checkout and portal links, history, usage and the upgrade prompt.

Shell, gates and notices

The gate, the notice region, the app shell, the notification inbox, the access-denied page and the connection status.

Upload and contact forms

The checked upload field and the contact and feedback form.

Tokens and data hooks

Every --bk-* token with its defaults, every data-* family, and the cascade layer.

Parts

Every part the components are built from, with what it receives and the hook it keeps.

The base module's components

These come from nuxt-convex-module and follow its guarantees, not the contract above:

ComponentWhat it is
<Authenticated>, <Unauthenticated>, <AuthLoading>, <AuthRefreshing>The auth-state gates: each renders only your slot
<AuthBoundary>The session-expiry boundary: it renders only your slots
<StorageImage>The base module's <ConvexImage> under a neutral name: an <img> with the attributes you pass, alt included, and your default (while the URL loads) and missing slots. It has no words of its own, so the alt text is yours

In development, <ConvexImage>, <CheckoutLink> and <CustomerPortalLink> still render their replacement and warn once, naming it; a production build does not know those names.