Accepted values for padding.

Essentially, all the well-known HTML properties are available, but with predefined values.

See below for an example using some of the properties:

Example:

<View paddingLeft="nano" >
<Text color="neutral-900">My awesome text</Text>
</View>

Hierarchy

Properties

padding?: string

General padding size

Check the token table to know which values to use

Example:

<padding="quark" />
paddingBottom?: string

Bottom padding size

Check the token table to know which values to use

Example:

<paddingBottom="quark" />
paddingHorizontal?: string

Horizontal (left and right) padding size

Check the token table to know which values to use

Example:

<paddingHorizontal="quark" />
paddingLeft?: string

Left padding size

Check the token table to know which values to use

Example:

<paddingLeft="quark" />
paddingRight?: string

Right padding size

Check the token table to know which values to use

Example:

<paddingRight="quark" />
paddingTop?: string

Top padding size

Check the token table to know which values to use

Example:

<paddingTop="quark" />
paddingVertical?: string

Vertical (top and bottom) padding size

Check the token table to know which values to use

Example:

<paddingVertical="quark" />