Shape Tokens

Tokens that define the border radius used throughout the design system.

Shape tokens define the border radius used throughout the design system.

The --forge-shape-factor token (default 1) controls the modifier that all shape tokens scale relative to.

TokenValueDescriptionPreview
--forge-shape-extra-small1pxThe extra small border radius, for subtle rounding.
--forge-shape-extra-small-block-start1px 1px 0 0The extra small border radius, applied to the block start corners only.
--forge-shape-extra-small-block-end0 0 1px 1pxThe extra small border radius, applied to the block end corners only.
--forge-shape-extra-small-inline-start1px 0 0 1pxThe extra small border radius, applied to the inline start corners only.
--forge-shape-extra-small-inline-end0 1px 1px 0The extra small border radius, applied to the inline end corners only.
--forge-shape-small2pxThe small border radius, for small controls and indicators.
--forge-shape-small-block-start2px 2px 0 0The small border radius, applied to the block start corners only.
--forge-shape-small-block-end0 0 2px 2pxThe small border radius, applied to the block end corners only.
--forge-shape-small-inline-start2px 0 0 2pxThe small border radius, applied to the inline start corners only.
--forge-shape-small-inline-end0 2px 2px 0The small border radius, applied to the inline end corners only.
--forge-shape-medium4pxThe medium border radius and the most commonly used, for standard controls and containers.
--forge-shape-medium-block-start4px 4px 0 0The medium border radius, applied to the block start corners only.
--forge-shape-medium-block-end0 0 4px 4pxThe medium border radius, applied to the block end corners only.
--forge-shape-medium-inline-start4px 0 0 4pxThe medium border radius, applied to the inline start corners only.
--forge-shape-medium-inline-end0 4px 4px 0The medium border radius, applied to the inline end corners only.
--forge-shape-large8pxThe large border radius, for larger containers and groups.
--forge-shape-large-block-start8px 8px 0 0The large border radius, applied to the block start corners only.
--forge-shape-large-block-end0 0 8px 8pxThe large border radius, applied to the block end corners only.
--forge-shape-large-inline-start8px 0 0 8pxThe large border radius, applied to the inline start corners only.
--forge-shape-large-inline-end0 8px 8px 0The large border radius, applied to the inline end corners only.
--forge-shape-extra-large16pxThe extra large border radius, for prominent rounded containers.
--forge-shape-extra-large-block-start16px 16px 0 0The extra large border radius, applied to the block start corners only.
--forge-shape-extra-large-block-end0 0 16px 16pxThe extra large border radius, applied to the block end corners only.
--forge-shape-extra-large-inline-start16px 0 0 16pxThe extra large border radius, applied to the inline start corners only.
--forge-shape-extra-large-inline-end0 16px 16px 0The extra large border radius, applied to the inline end corners only.
--forge-shape-full9999pxA fully rounded (pill) border radius that follows the element height.
--forge-shape-round50%A circular border radius, for elements that should be perfectly round.

Type to search the docs.

NavigateSelectClose
Loading Forge chat…