Size
Size
The size tokens are used to define the size of elements, applied for example on the width
and height
properties.
Name | Value |
---|---|
size-0 | 0 |
size-6 | 0.0625em |
size-12 | 0.125em |
size-25 | 0.25em |
size-50 | 0.5em |
size-75 | 0.75em |
size-100 | 1em |
size-125 | 1.25em |
size-150 | 1.5em |
size-200 | 2em |
size-250 | 2.5em |
size-275 | 2.75em |
size-300 | 3em |
size-400 | 4em |
size-800 | 8em |
size-1600 | 16em |
size-2400 | 24em |
size-2800 | 28em |
size-3200 | 32em |
size-5600 | 56em |
size-absolute-1 | 1px |
size-absolute-9999 | 9999px |
size-third | 33.33% |
size-half | 50% |
size-full | 100% |
size-double | 200% |
size-viewport-width-full | 100vw |
size-viewport-height-full | 100vh |
size-search-figure | 2.5em |
size-icon-x-small | 0.75em |
size-icon-small | 1em |
size-icon-medium | 1.25em |
Minimum size
Name | Value |
---|---|
min-size-interactive-pointer | 32px |
min-size-interactive-touch | 44px |
min-size-search-figure | 40px |
min-size-icon-x-small | 12px |
min-size-icon-small | 16px |
min-size-icon-medium | 20px |
min-size-input-binary | 20px |
min-size-toggle-switch-grip | 20px |
Maximum width
Name | Value |
---|---|
max-width-base | none |
max-width-button | 28em |
Deprecated token aliases
WARNING
The tokens below are not available in Codex. There are only available as deprecated aliases in WikimediaUI Base.
Name | Value |
---|---|
size-base deprecated | 32px |
size-icon deprecated | 20px |
size-indicator deprecated | 12px |
Name | Value |
---|---|
min-size-base deprecated | 32px |
min-size-icon deprecated | 20px |
min-size-indicator deprecated | 12px |