Responsive.

Atomize design system supports responsiveness for most of the props by just passing an array. Examples for a particular prop will be given in its detail.

Array given to the end prop is like -

{
xs: { 'value for mobile devices & larger' },
sm: { 'value for larger mobile & larger' },
md: { 'value for tablets & larger' },
lg: { 'value for small desktop & larger' },
xl: { 'value for large desktop' }
}

Examples -

// Padding
p={{ xs: '1rem', md: '4rem' }}
// Padding Top
p={{ t: {xs: '1rem', md: '4rem' }}}
// border
border={{ xs: '1px solid', lg: '2px dashed' }}
// Border Top & Bottom
border={
t: { xs: '1px solid', lg: '2px dashed' }
b: { xs: '1px solid', lg: '2px dashed' }
}