Checkbox

Displays a custom checkbox element.

No props data available for Checkbox.

By default, the checkbox is vertically aligned when placed inline with Text size 2. This is the most common font size we use with controls.

It is also well-aligned with Text size 2 in a default flex layout.

Use center alignment with other Text sizes.

You can also nest Flex elements to reliably align the checkbox with the first line of text. In this case, the height of the second Flex container matches the text line height.

Use the native disabled attribute to create a disabled checkbox.

Use a form when users need to select independent options in any combination or confirm a single opt-in such as acknowledging terms, ensuring labels are concise and action-oriented.

Use a description when the label alone does not provide enough context, keeping the label short and direct while the description adds concise supporting details.

Dashboard

4 variants found

Checkbox in Email Notifications Formdashboard
Checkbox in Edit Brandingdashboard

/branding/edit

disabled checkbox in Edit Organization Rule Dialogdashboard
disabled=true
disabled checkbox in Edit User Rule Dialogdashboard
disabled=true

Context

Usage

Used 61 times across 2 packages

Dashboard
58
Admin Portal
3

Variant Distribution

disabled

true
100%

Where it's used

36 files

packages/dashboard/src/components/authentication/configure-email-password-dialog.tsx6
packages/dashboard/src/components/configuration/custom-attributes/custom-attribute-mapping-in-admin-portal-dialog.tsx4
packages/dashboard/src/components/directory-sync/directory-group-sync/allow-list-v2.tsx3
packages/dashboard/src/components/settings/profile/email-notifications-form.tsx3
packages/dashboard/src/components/webhooks/webhook-event-category-items.tsx3
packages/dashboard/src/components/authentication/configure-sso-auth-dialog.tsx2
packages/dashboard/src/components/configuration/stripe-entitlements/dialogs/connect-dialog-with-seat-sync.tsx2
packages/dashboard/src/components/configuration/stripe-entitlements/dialogs/connected-dialog.tsx2

/p/:portalSessionId/directory-sync/:directoryId/google-workspace/filter-groups-v2

packages/admin-portal/src/app/p/[portalSessionId]/directory-sync/[directoryId]/google-workspace/filter-groups-v2/filter-groups-section.tsx3

/:environmentId/applications/configuration

packages/dashboard/src/app/(private)/(sidebar)/[environmentId]/applications/configuration/manage-mcp-auth.tsx2

Show 26 more files