Size atom

This atom is used to describe the size of a component, it’s more a property than an object as such.

3 preset sizes

3 preset sizes

JSON

Component size is not a JSON object, it’s just a property.

It’s a string with this list as possible values:

"small"

"medium"

"large"

Rules

Usually the default value is small

Only some components can receive the Atom Size: Texts, TextFields, Buttons, Radio Buttons and CheckBoxes.

The Atom Size can be applied independently on these elements or group of elements ::

  • Texts

  • Formsmade up of Texts, Text Fields, Radio Buttons and CheckBoxes

  • Buttons

Example