Skip to content

Components Tokens

tap-bottom-sheet

NameDefault ValueDescription
--tap-bottom-sheet-bottom0-
--tap-bottom-sheet-header-padding0-
--tap-bottom-sheet-header-padding12px-
--tap-bottom-sheet-background--tap-sys-color-surface-primary-
--tap-bottom-sheet-content-overflow-yscroll-

tap-button

NameDefault ValueDescription
--tap-font-family--tap-sys-font-familyThe font family for the button.
--tap-sys-radius-fullundefinedThe border radius for the button.
--tap-button-color-surface-cover--tap-sys-color-surface-overlay-lightThe surface cover color for the button.
--tap-sys-color-surface-overlay-lightundefinedThe overlay light color for the button.
--tap-sys-color-surface-disabledundefinedThe disabled surface color for the button.
--tap-button-color-surface-disabled--tap-sys-color-surface-disabledThe disabled surface color for the button.
--tap-sys-spacing-9undefinedThe spacing for the small button height.
--tap-sys-spacing-10undefinedThe spacing for the medium button height.
--tap-sys-spacing-11undefinedThe spacing for the large button height.
--tap-sys-spacing-5undefinedThe spacing for the small button padding.
--tap-sys-spacing-6undefinedThe spacing for the medium button padding.
--tap-sys-spacing-8undefinedThe spacing for the large button padding.
--tap-button-typography-label-sm-height--tap-sys-typography-label-sm-heightThe line height for the small button label.
--tap-button-typography-label-sm-size--tap-sys-typography-label-sm-sizeThe font size for the small button label.
--tap-button-typography-label-sm-weight--tap-sys-typography-label-sm-weightThe font weight for the small button label.
--tap-button-typography-label-md-height--tap-sys-typography-label-sm-heightThe line height for the medium button label.
--tap-button-typography-label-md-size--tap-sys-typography-label-sm-sizeThe font size for the medium button label.
--tap-button-typography-label-md-weight--tap-sys-typography-label-sm-weightThe font weight for the medium button label.
--tap-button-typography-label-lg-height--tap-sys-typography-label-lg-heightThe line height for the large button label.
--tap-button-typography-label-lg-size--tap-sys-typography-label-lg-sizeThe font size for the large button label.
--tap-button-typography-label-lg-weight--tap-sys-typography-label-lg-weightThe font weight for the large button label.
--tap-button-color-surface-inverse-primary--tap-sys-color-surface-inverse-primaryThe surface color for the primary variant.
--tap-sys-color-surface-inverse-primaryundefinedThe surface color for the primary variant.
--tap-button-color-content-on-inverse--tap-sys-color-content-on-inverseThe content color on inverse surface.
--tap-sys-color-content-on-inverseundefinedThe content color on inverse surface.
--tap-button-color-surface-tertiary--tap-sys-color-surface-tertiaryThe surface color for the ghost variant.
--tap-sys-color-surface-tertiaryundefinedThe surface color for the ghost variant.
--tap-button-color-content-primary--tap-sys-color-content-primaryThe content color for the primary variant.
--tap-sys-color-content-primaryundefinedThe content color for the primary variant.
--tap-button-color-surface-primary--tap-sys-color-surface-primaryThe surface color for the elevated variant.
--tap-sys-color-surface-primaryundefinedThe surface color for the elevated variant.
--tap-button-color-surface-destructive--tap-sys-color-surface-negative-lightThe surface color for the destructive variant.
--tap-sys-color-surface-negative-lightundefinedThe surface color for the destructive variant.
--tap-button-color-content-destructive--tap-sys-color-content-negativeThe content color for the destructive variant.
--tap-sys-color-content-negativeundefinedThe content color for the destructive variant.
--tap-button-color-gradient-brand--tap-sys-color-gradient-brandThe gradient color for the brand variant.
--tap-sys-color-gradient-brandundefinedThe gradient color for the brand variant.

tap-checkbox

NameDefault ValueDescription
--tap-checkbox-border-radius--tap-sys-radius-1The border radius of the checkbox.
--tap-checkbox-height--tap-sys-spacing-7The height of the checkbox.
--tap-checkbox-width--tap-sys-spacing-7The width of the checkbox.
--tap-checkbox-input-height--tap-sys-spacing-7The height of the checkbox input.
--tap-checkbox-input-width--tap-sys-spacing-7The width of the checkbox input.
--tap-checkbox-background-color--tap-sys-color-surface-primaryThe background color of the checkbox.
--tap-checkbox-border--tap-sys-color-border-inverse-primaryThe border color of the checkbox.
--tap-checkbox-checked-background-color--tap-sys-color-surface-inverse-primaryThe background color of the checked or indeterminate checkbox.
--tap-checkbox-checked-color--tap-sys-color-content-on-inverseThe color of the content inside the checked or indeterminate checkbox.
--tap-checkbox-checked-color--tap-sys-color-surface-disabledThe background color of the disabled checkbox.
--tap-checkbox-disabled-border-color--tap-sys-color-surface-disabledThe border color of the disabled checkbox.
--tap-checkbox-disabled-color--tap-sys-color-content-disabledThe color of the content inside the disabled checkbox.

tap-icon-button

NameDefault ValueDescription
--tap-font-family--tap-sys-font-familyThe font family for the button.
--tap-sys-radius-fullundefinedThe border radius for the button.
--tap-button-color-surface-cover--tap-sys-color-surface-overlay-lightThe surface cover color for the button.
--tap-sys-color-surface-overlay-lightundefinedThe overlay light color for the button.
--tap-sys-color-surface-disabledundefinedThe disabled surface color for the button.
--tap-button-color-surface-disabled--tap-sys-color-surface-disabledThe disabled surface color for the button.
--tap-sys-spacing-9undefinedThe spacing for the small button height.
--tap-sys-spacing-10undefinedThe spacing for the medium button height.
--tap-sys-spacing-11undefinedThe spacing for the large button height.
--tap-sys-spacing-5undefinedThe spacing for the small button padding.
--tap-sys-spacing-6undefinedThe spacing for the medium button padding.
--tap-sys-spacing-8undefinedThe spacing for the large button padding.
--tap-button-typography-label-sm-height--tap-sys-typography-label-sm-heightThe line height for the small button label.
--tap-button-typography-label-sm-size--tap-sys-typography-label-sm-sizeThe font size for the small button label.
--tap-button-typography-label-sm-weight--tap-sys-typography-label-sm-weightThe font weight for the small button label.
--tap-button-typography-label-md-height--tap-sys-typography-label-sm-heightThe line height for the medium button label.
--tap-button-typography-label-md-size--tap-sys-typography-label-sm-sizeThe font size for the medium button label.
--tap-button-typography-label-md-weight--tap-sys-typography-label-sm-weightThe font weight for the medium button label.
--tap-button-typography-label-lg-height--tap-sys-typography-label-lg-heightThe line height for the large button label.
--tap-button-typography-label-lg-size--tap-sys-typography-label-lg-sizeThe font size for the large button label.
--tap-button-typography-label-lg-weight--tap-sys-typography-label-lg-weightThe font weight for the large button label.
--tap-button-color-surface-inverse-primary--tap-sys-color-surface-inverse-primaryThe surface color for the primary variant.
--tap-sys-color-surface-inverse-primaryundefinedThe surface color for the primary variant.
--tap-button-color-content-on-inverse--tap-sys-color-content-on-inverseThe content color on inverse surface.
--tap-sys-color-content-on-inverseundefinedThe content color on inverse surface.
--tap-button-color-surface-tertiary--tap-sys-color-surface-tertiaryThe surface color for the ghost variant.
--tap-sys-color-surface-tertiaryundefinedThe surface color for the ghost variant.
--tap-button-color-content-primary--tap-sys-color-content-primaryThe content color for the primary variant.
--tap-sys-color-content-primaryundefinedThe content color for the primary variant.
--tap-button-color-surface-primary--tap-sys-color-surface-primaryThe surface color for the elevated variant.
--tap-sys-color-surface-primaryundefinedThe surface color for the elevated variant.
--tap-button-color-surface-destructive--tap-sys-color-surface-negative-lightThe surface color for the destructive variant.
--tap-sys-color-surface-negative-lightundefinedThe surface color for the destructive variant.
--tap-button-color-content-destructive--tap-sys-color-content-negativeThe content color for the destructive variant.
--tap-sys-color-content-negativeundefinedThe content color for the destructive variant.
--tap-button-color-gradient-brand--tap-sys-color-gradient-brandThe gradient color for the brand variant.
--tap-sys-color-gradient-brandundefinedThe gradient color for the brand variant.

tap-modal

NameDefault ValueDescription
--tap-dialog-color-surface-overlay--tap-sys-color-surface-overlay-darkThe background color of the overlay.
--tap-dialog-color-surface-primary--tap-sys-color-surface-primaryThe background color of the modal dialog.
--tap-dialog-radius--tap-sys-radius-6The border radius of the modal dialog.
--tap-dialog-icon-top-margin--tap-sys-spacing-8The top margin of the icon.
--tap-dialog-image-container-background-color--tap-palette-gray-100The background color of the image container.
--tap-dialog-content-vertical-padding--tap-sys-spacing-4The vertical padding of the content.
--tap-dialog-content-horizontal-padding--tap-sys-spacing-6The horizontal padding of the content.
--tap-dialog-content-vertical-margin--tap-sys-spacing-6The vertical margin of the content.
--tap-dialog-content-horizontal-marginundefinedThe horizontal margin of the content.
--tap-dialog-title-font-size--tap-sys-typography-headline-sm-sizeThe font size of the title in the dialog modal.
--tap-dialog-title-font-weight--tap-sys-typography-headline-sm-weightThe font weight of title in the dialog modal.
--tap-dialog-title-line-height--tap-sys-typography-headline-sm-heightThe line height of title in the dialog modal.
--tap-dialog-description-marginundefinedThe margin of the description in the dialog modal.
--tap-dialog-description-padding-top--tap-sys-spacing-4The top padding of the description in the dialog modal.
--tap-dialog-description-font-size--tap-sys-typography-body-md-sizeThe font size of the description in the dialog modal.
--tap-dialog-description-font-weight--tap-sys-typography-body-md-weightThe font weight of the description in the dialog modal.
--tap-dialog-description-line-height--tap-sys-typography-body-md-heightThe line height of the description in the dialog modal.
--tap-dialog-description-color--tap-palette-gray-500The color of the description in the dialog modal.
--tap-dialog-actions-padding--tap-sys-spacing-6The padding of the actions in the dialog modal.

tap-notice

NameDefault ValueDescription
--tap-notice-width100%The width of the notice component.
--tap-notice-heightautoThe height of the notice component.
--tap-notice-gap--tap-sys-spacing-5The default gap between horizontal items of the notice.
--tap-notice-radius--tap-sys-radius-3The default border radius of the notice.
--tap-notice-vertical-padding--tap-sys-spacing-6The default vertical padding of the notice.
--tap-notice-horizontal-padding--tap-sys-spacing-5The default horizontal padding of the notice.
--tap-font-family--tap-sys-font-familyThe default font used for tapsi web components.
--tap-notice-actions-margin-top--tap-sys-spacing-4The space between message and action buttons if there are any.
--tap-notice-title-font-size--tap-sys-typography-label-md-size-
--tap-notice-title-line-height--tap-sys-typography-label-md-height-
--tap-notice-title-font-weight--tap-sys-typography-label-md-weight-
--tap-notice-message-font-size--tap-sys-typography-label-sm-size-
--tap-notice-message-line-height--tap-sys-typography-label-sm-height-
--tap-notice-message-font-weight--tap-sys-typography-label-sm-weight-
--tap-notice-message-font-weight--tap-sys-typography-label-sm-weight-
--tap-notice-[variant]-[priority]-colorundefinedThe text and icon color in the specified variant and high priority. The icon color in the specified variant and low priority.
--tap-notice-[variant]-[priority]-bg-colorundefinedThe background color in the specified variant and priority.
--tap-notice-title-low-color--tap-sys-color-content-primaryThe color of the title in the low priority mode (overrides --tap-notice-[variant]-[priority]-color).
--tap-notice-message-low-color--tap-sys-color-content-secondaryThe color of the message in the low priority mode (overrides --tap-notice-[variant]-[priority]-color).
--tap-notice-dismiss-low-color--tap-sys-color-content-secondaryThe color of the dismiss button in the low priority mode (overrides --tap-notice-[variant]-[priority]-color).

tap-pinwheel-group

NameDefault ValueDescription
--tap-pinwheel-group-selector-radius--tap-sys-spacing-4-
--tap-pinwheel-group-selector-background-color--tap-sys-color-surface-tertiary-

tap-pinwheel

NameDefault ValueDescription
--tap-pinwheel-vertical-padding--tap-sys-spacing-0-
--tap-pinwheel-horizontal-padding--tap-sys-spacing-6-
--tap-pinwheel-item-height--tap-sys-spacing-11-
--tap-font-family--tap-sys-font-family-
--tap-pinwheel-typography-body-md-height--tap-sys-typography-body-md-height-
--tap-pinwheel-typography-body-md-size--tap-sys-typography-body-md-size-
--tap-pinwheel-typography-body-md-weight--tap-sys-typography-body-md-weight-
--tap-pinwheel-item-color--tap-sys-color-content-tertiary-
--tap-pinwheel-typography-label-md-height--tap-sys-typography-label-md-height-
--tap-pinwheel-typography-label-md-size--tap-sys-typography-label-md-size-
--tap-pinwheel-typography-label-md-weight--tap-sys-typography-label-md-weight-
--tap-pinwheel-active-item-color--tap-sys-color-content-primary-

tap-progress-indicator

NameDefault ValueDescription
--tap-progress-indicator-progressbar-color--tap-sys-spacing-3The gap between steps.
--tap-progress-indicator-step-height--tap-sys-spacing-3The height of each step.
--tap-progress-indicator-step-background-color--tap-sys-color-surface-tertiaryThe background color of each step.
--tap-progress-indicator-active-step-background-color--tap-sys-color-border-inverse-primaryThe background color of active steps.

tap-radio-group

NameDefault ValueDescription
--tap-radio-group-padding--tap-sys-spacing-3The padding around the radio group.
--tap-radio-group-gap--tap-sys-spacing-3The gap between radio buttons.

tap-radio

NameDefault ValueDescription
--tap-radio-border-radius--tap-sys-radius-fullThe border radius of the radio button.
--tap-radio-height--tap-sys-spacing-7The height of the radio button.
--tap-radio-width--tap-sys-spacing-7The width of the radio button.
--tap-radio-background-color--tap-sys-color-surface-primaryThe background color of the radio button.
--tap-radio-border--tap-sys-color-border-inverse-primaryThe border color of the radio button.
--tap-radio-checked-background-color--tap-sys-color-surface-inverse-primaryThe background color of the checked radio button.
--tap-radio-checked-color--tap-sys-color-content-on-inverseThe color of the content inside the checked radio button.
--tap-radio-disabled-background-color--tap-sys-color-surface-disabledThe background color of the disabled radio button.
--tap-radio-disabled-border-color--tap-sys-color-surface-disabledThe border color of the disabled radio button.
--tap-radio-disabled-color--tap-sys-color-content-disabledThe color of the content inside the disabled radio button.
--tap-radio-input-height--tap-sys-spacing-7The height of the radio button input.
--tap-radio-input-width--tap-sys-spacing-7The width of the radio button input.

tap-route

NameDefault ValueDescription
--tap-font-family--tap-sys-font-familyThe font family used in the row.
--tap-row-background-color--tap-palette-whiteThe background color of the row.
--tap-row-leading-vertical-paddingundefinedThe vertical padding for the leading slot.
--tap-row-leading-horizontal-padding--tap-sys-spacing-4The horizontal padding for the leading slot.
--tap-row-content-padding--tap-sys-spacing-4The padding for the content slot.
--tap-row-trailing-vertical-paddingundefinedThe vertical padding for the trailing slot.
--tap-row-trailing-horizontal-padding--tap-sys-spacing-4The horizontal padding for the trailing slot.
--tap-row-standard-height--tap-sys-spacing-13The height of the standard size row.
--tap-row-compact-height--tap-sys-spacing-12The height of the compact size row.

tap-row

NameDefault ValueDescription
--tap-font-family--tap-sys-font-familyThe font family used in the row.
--tap-row-background-color--tap-palette-whiteThe background color of the row.
--tap-row-leading-vertical-paddingundefinedThe vertical padding for the leading slot.
--tap-row-leading-horizontal-padding--tap-sys-spacing-4The horizontal padding for the leading slot.
--tap-row-content-padding--tap-sys-spacing-4The padding for the content slot.
--tap-row-trailing-vertical-paddingundefinedThe vertical padding for the trailing slot.
--tap-row-trailing-horizontal-padding--tap-sys-spacing-4The horizontal padding for the trailing slot.
--tap-row-standard-height--tap-sys-spacing-13The height of the standard size row.
--tap-row-compact-height--tap-sys-spacing-12The height of the compact size row.

tap-segmented-button-group

NameDefault ValueDescription
--tap-segmented-button-group-color-surface--tap-sys-color-surface-secondaryThe background color of the button group.
--tap-segmented-button-group-border-radius--tap-sys-radius-fullThe border radius of the button group.
--tap-segmented-button-group-padding--tap-sys-spacing-3The padding inside the button group.
--tap-segmented-button-group-sm-height--tap-sys-spacing-10The height of the small size button group.
--tap-segmented-button-group-md-height--tap-sys-spacing-11The height of the medium size button group.

tap-segmented-button

NameDefault ValueDescription
--tap-font-family--tap-sys-font-familyThe font family used in the button.
--tap-segmented-button-border-radius--tap-sys-radius-fullThe border radius of the button.
--tap-segmented-button-color--tap-sys-color-content-primaryThe text color of the button.
--tap-segmented-button-line-height--tap-sys-typography-label-sm-heightThe line height of the button text.
--tap-segmented-button-font-size--tap-sys-typography-label-sm-sizeThe font size of the button text.
--tap-segmented-button-font-weight--tap-sys-typography-label-sm-weightThe font weight of the button text.
--tap-segmented-button-selected-background-color--tap-sys-color-surface-primaryThe background color of the selected button.

tap-skeleton

NameDefault ValueDescription
--tap-skeleton-background--tap-sys-color-surface-tertiaryBackground color of the skeleton
--tap-skeleton-radius--tap-sys-radius-2Border radius of the skeleton
--tap-skeleton-width100%Width of the skeleton
--tap-skeleton-height--tap-sys-spacing-8Height of the skeleton
--tap-skeleton-rect-radius--tap-sys-spacing-0Border radius of the skeleton variant rect
--tap-skeleton-circle-radius--tap-sys-radius-fullBorder radius of the skeleton variant circle
--tap-skeleton-circle-width--tap-sys-spacing-10Width of the skeleton variant circle
--tap-skeleton-circle-height--tap-sys-spacing-10Height of the skeleton variant circle

tap-spinner

NameDefault ValueDescription
--tap-spinner-color-primary--tap-sys-color-surface-black-
--tap-spinner-color-inverse--tap-sys-color-surface-white-
--tap-spinner-sm-size--tap-sys-spacing-7-
--tap-spinner-md-size--tap-sys-spacing-8-
--tap-spinner-lg-size--tap-sys-spacing-10-
--tap-spinner-padding--tap-sys-spacing-2-

tap-step-indicator

NameDefault ValueDescription
--tap-step-indicator-step-size--tap-sys-spacing-5The size of each step.
--tap-step-indicator-step-border-radius--tap-sys-radius-fullThe border radius of each step.
--tap-step-indicator-step-border-color--tap-sys-color-surface-primaryThe border color of each step.
--tap-step-indicator-step-background-color--tap-sys-color-border-primaryThe background color of each step.

tap-stepper

NameDefault ValueDescription
--tap-font-family--tap-sys-font-family-
--tap-stepper-typography-label-sm-size--tap-sys-typography-label-md-size-
--tap-stepper-typography-label-md-size--tap-sys-typography-label-lg-size-

tap-switch

NameDefault ValueDescription
--tap-switch-background-color--tap-sys-color-surface-tertiaryThe background color of the switch.
--tap-switch-checked-background-color--tap-sys-color-surface-inverse-primaryThe background color of the checked switch.
--tap-switch-disabled-background-colorvar(--tap-sys-color-surface-disabled)The background color of the disabled switch.

tap-toast

NameDefault ValueDescription
--tap-toast-vertical-padding--tap-sys-spacing-5The vertical padding inside the toast.
--tap-toast-horizontal-padding--tap-sys-spacing-5The horizontal padding inside the toast.
--tap-toast-background-color-default--tap-sys-color-surface-inverse-secondaryThe default background color of the toast.
--tap-toast-color-default--tap-sys-color-content-on-inverseThe default text color of the toast.
--tap-toast-background-color-success--tap-sys-color-surface-positiveThe background color of the success variant.
--tap-toast-color-success--tap-sys-color-content-on-inverseThe text color of the success variant.
--tap-toast-background-color-error--tap-sys-color-surface-negativeThe background color of the error variant.
--tap-toast-color-error--tap-sys-color-content-on-inverseThe text color of the error variant.
--tap-toast-background-color-info--tap-sys-color-surface-accentThe background color of the info variant.
--tap-toast-color-info--tap-sys-color-content-on-inverseThe text color of the info variant.
--tap-toast-background-color-warning--tap-sys-color-surface-warningThe background color of the warning variant.
--tap-toast-color-warning--tap-sys-color-content-primaryThe text color of the warning variant.
--tap-toast-background-color-inverse--tap-sys-color-surface-inverse-secondaryThe background color of the inverse variant.
--tap-toast-color-inverse--tap-sys-color-content-on-inverseThe text color of the inverse variant.
--tap-toast-dismiss-color'inherit'The color of the dismiss button.
--tap-toast-dismiss-background-colortransparentThe background color of the dismiss button.