Use the theme based parameters when possible, this will prevent discrepancies should the theme update in the future.
The Box
component is a generic component intended to be used for spacing and alignment within an application.
Box
is a div
element but can be swapped for any element type using the as="dd"
prop.box-sizing: border-box
for intuitive sizing.Box
you have the ability to make the box conform to the shape set in the theme just like most of the rest of the cactus components do.
To do this, just set borderRadius="themed"
.borderRadius={{ square: '2px', intermediate: '6px', round: '12px' }}
. You can customize each individual corner this way as well, using borderTopLeftRadius
,
borderTopRightRadius
, and so on.import React from 'react'
import { Box, Button } from '@repay/cactus-web'
/**
* center a button in it's container using margin = 0 auto
* and setting padding top and bottom to the 3rd
* space with the `ph` prop
*/
export default () => (
<Box ph={3} margin="0 auto">
<Button variant="action">Click Me!</Button>
</Box>
)
Name | Required | Default Value | Type | Description |
---|---|---|---|---|
borderBottomLeftRadius | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | CustomBR | undefined | ||
borderBottomRightRadius | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | CustomBR | undefined | ||
borderRadius | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | CustomBR | undefined | ||
borderTopLeftRadius | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | CustomBR | undefined | ||
borderTopRightRadius | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | CustomBR | undefined | ||
fontStretch | N | ResponsiveValue<FontStretch, Required<Theme<TLengthStyledSystem>>> | undefined | ||
fontVariant | N | ResponsiveValue<FontVariant, Required<Theme<TLengthStyledSystem>>> | undefined | ||
fontVariantCaps | N | ResponsiveValue<FontVariantCaps, Required<Theme<TLengthStyledSystem>>> | undefined | ||
fontVariantLigatures | N | ResponsiveValue<FontVariantLigatures, Required<Theme<TLengthStyledSystem>>> | undefined | ||
fontVariantNumeric | N | ResponsiveValue<FontVariantNumeric, Required<Theme<TLengthStyledSystem>>> | undefined | ||
hyphens | N | ResponsiveValue<Hyphens, Required<Theme<TLengthStyledSystem>>> | undefined | ||
overflowWrap | N | ResponsiveValue<OverflowWrap, Required<Theme<TLengthStyledSystem>>> | undefined | ||
textDecoration | N | ResponsiveValue<TextDecoration<0 | (string & {})>, Required<Theme<TLengthStyledSystem>>> | undefined | ||
textDecorationColor | N | ResponsiveValue<TextDecorationColor, Required<Theme<TLengthStyledSystem>>> | undefined | ||
textDecorationLine | N | ResponsiveValue<TextDecorationLine, Required<Theme<TLengthStyledSystem>>> | undefined | ||
textDecorationSkipInk | N | ResponsiveValue<TextDecorationSkipInk, Required<Theme<TLengthStyledSystem>>> | undefined | ||
textDecorationStyle | N | ResponsiveValue<TextDecorationStyle, Required<Theme<TLengthStyledSystem>>> | undefined | ||
textDecorationThickness | N | ResponsiveValue<TextDecorationThickness<string | number>, Required<Theme<TLengthStyledSystem>>> | undefined | ||
textIndent | N | ResponsiveValue<TextIndent<string | number>, Required<Theme<TLengthStyledSystem>>> | undefined | ||
textOrientation | N | ResponsiveValue<TextOrientation, Required<Theme<TLengthStyledSystem>>> | undefined | ||
textOverflow | N | ResponsiveValue<TextOverflow, Required<Theme<TLengthStyledSystem>>> | undefined | ||
textStyle | N | keyof TextStyleCollection | undefined | ||
textTransform | N | ResponsiveValue<TextTransform, Required<Theme<TLengthStyledSystem>>> | undefined | ||
textUnderlineOffset | N | ResponsiveValue<TextUnderlineOffset<string | number>, Required<Theme<TLengthStyledSystem>>> | undefined | ||
textUnderlinePosition | N | ResponsiveValue<TextUnderlinePosition, Required<Theme<TLengthStyledSystem>>> | undefined | ||
userSelect | N | ResponsiveValue<UserSelect, Required<Theme<TLengthStyledSystem>>> | undefined | ||
whiteSpace | N | ResponsiveValue<WhiteSpace, Required<Theme<TLengthStyledSystem>>> | undefined | ||
wordBreak | N | ResponsiveValue<WordBreak, Required<Theme<TLengthStyledSystem>>> | undefined | ||
writingMode | N | ResponsiveValue<WritingMode, Required<Theme<TLengthStyledSystem>>> | undefined |
Name | Required | Type | Description |
---|---|---|---|
alignSelf | N | ResponsiveValue<AlignSelf, Required<Theme<TLengthStyledSystem>>> | undefined | The align-self CSS property aligns flex items of the current flex line overriding the align-items value. If any of the item's cross-axis margin is set to auto, then align-self is ignored. In Grid layout align-self aligns the item inside the grid area. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) |
backgroundColor | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | |
bg | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | The color utility parses a component's `color` and `bg` props and converts them into CSS declarations. By default the raw value of the prop is returned. Color palettes can be configured with the ThemeProvider to use keys as prop values, with support for dot notation. Array values are converted into responsive values. [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color) |
border | N | ResponsiveValue<Border<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The border CSS property sets an element's border. It's a shorthand for border-width, border-style, and border-color. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border) |
borderBottom | N | ResponsiveValue<BorderBottom<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The border-bottom CSS property sets an element's bottom border. It's a shorthand for border-bottom-width, border-bottom-style and border-bottom-color. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom) |
borderBottomColor | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | The border-bottom-color CSS property sets the color of an element's bottom border. It can also be set with the shorthand CSS properties border-color or border-bottom. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-color) |
borderBottomStyle | N | ResponsiveValue<BorderBottomStyle, Required<Theme<TLengthStyledSystem>>> | undefined | The border-bottom-style CSS property sets the line style of an element's bottom border. [MDN * reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-style) |
borderBottomWidth | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | The border-bottom-width CSS property sets the width of the bottom border of an element. [MDN * reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-width) |
borderColor | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | The border-color shorthand CSS property sets the color of all sides of an element's border. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-color) |
borderLeft | N | ResponsiveValue<BorderLeft<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The border-left CSS property is a shorthand that sets the values of border-left-width, border-left-style, and border-left-color. These properties describe an element's left border. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-left) |
borderLeftColor | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | The border-left-color CSS property sets the color of an element's left border. It can also be set with the shorthand CSS properties border-color or border-left. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-color) |
borderLeftStyle | N | ResponsiveValue<BorderLeftStyle, Required<Theme<TLengthStyledSystem>>> | undefined | The border-left-style CSS property sets the line style of an element's left border. [MDN * reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-style) |
borderLeftWidth | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | The border-left-width CSS property sets the width of the left border of an element. [MDN * reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-width) |
borderRight | N | ResponsiveValue<BorderRight<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The border-right CSS property is a shorthand that sets border-right-width, border-right-style, and border-right-color. These properties set an element's right border. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-right) |
borderRightColor | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | The border-right-color CSS property sets the color of an element's right border. It can also be set with the shorthand CSS properties border-color or border-right. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-right-color) |
borderRightStyle | N | ResponsiveValue<BorderRightStyle, Required<Theme<TLengthStyledSystem>>> | undefined | The border-right-style CSS property sets the line style of an element's right border. [MDN * reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-right-style) |
borderRightWidth | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | The border-right-width CSS property sets the width of the right border of an element. [MDN * reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-right-width) |
borderStyle | N | ResponsiveValue<BorderStyle, Required<Theme<TLengthStyledSystem>>> | undefined | The border-style shorthand CSS property sets the style of all sides of an element's border. [MDN * reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-style) |
borderTop | N | ResponsiveValue<BorderTop<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The border-top CSS property is a shorthand that sets the values of border-top-width, border-top-style, and border-top-color. These properties describe an element's top border. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-top) |
borderTopColor | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | The border-top-color CSS property sets the color of an element's top border. It can also be set with the shorthand CSS properties border-color or border-top. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-color) |
borderTopStyle | N | ResponsiveValue<BorderTopStyle, Required<Theme<TLengthStyledSystem>>> | undefined | The border-top-style CSS property sets the line style of an element's top border. [MDN * reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-style) |
borderTopWidth | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | The border-top-width CSS property sets the width of the top border of an element. [MDN * reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-width) |
borderWidth | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | The border-width shorthand CSS property sets the width of all sides of an element's border. [MDN * reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-width) |
borderX | N | ResponsiveValue<Border<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | |
borderY | N | ResponsiveValue<Border<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | |
bottom | N | ResponsiveValue<Bottom<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The bottom CSS property participates in specifying the vertical position of a positioned element. It has no effect on non-positioned elements. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/top) |
colors | N | ResponsiveValue<string, Required<Theme<TLengthStyledSystem>>> | undefined | |
display | N | ResponsiveValue<Display, Required<Theme<TLengthStyledSystem>>> | undefined | The display CSS property defines the display type of an element, which consists of the two basic qualities of how an element generates boxes — the outer display type defining how the box participates in flow layout, and the inner display type defining how the children of the box are laid out. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/display) |
flex | N | ResponsiveValue<Flex<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The flex CSS property specifies how a flex item will grow or shrink so as to fit the space available in its flex container. This is a shorthand property that sets flex-grow, flex-shrink, and flex-basis. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) |
flexBasis | N | ResponsiveValue<FlexBasis<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | |
flexGrow | N | ResponsiveValue<FlexGrow, Required<Theme<TLengthStyledSystem>>> | undefined | The flex-grow CSS property sets the flex grow factor of a flex item main size. It specifies how much of the remaining space in the flex container should be assigned to the item (the flex grow factor). [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-grow) |
flexShrink | N | ResponsiveValue<FlexShrink, Required<Theme<TLengthStyledSystem>>> | undefined | The flex-shrink CSS property sets the flex shrink factor of a flex item. If the size of all flex items is larger than the flex container, items shrink to fit according to flex-shrink. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-shrink) |
fontFamily | N | ResponsiveValue<FontFamily, Required<Theme<TLengthStyledSystem>>> | undefined | |
fontSize | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | The fontSize utility parses a component's `fontSize` prop and converts it into a CSS font-size declaration. - Numbers from 0-8 (or `theme.fontSizes.length`) are converted to values on the [font size scale](#default-theme). - Numbers greater than `theme.fontSizes.length` are converted to raw pixel values. - String values are passed as raw CSS values. - And array values are converted into responsive values. |
fontStyle | N | ResponsiveValue<FontStyle, Required<Theme<TLengthStyledSystem>>> | undefined | The font-style CSS property specifies whether a font should be styled with a normal, italic, or oblique face from its font-family. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/font-style) |
fontWeight | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | The font-weight CSS property specifies the weight (or boldness) of the font. The font weights available to you will depend on the font-family you are using. Some fonts are only available in normal and bold. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) |
height | N | ResponsiveValue<Height<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The height CSS property specifies the height of an element. By default, the property defines the height of the content area. If box-sizing is set to border-box, however, it instead determines the height of the border area. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/height) |
left | N | ResponsiveValue<Left<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The left CSS property participates in specifying the horizontal position of a positioned element. It has no effect on non-positioned elements. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/left) |
letterSpacing | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | The letter-spacing CSS property sets the spacing behavior between text characters. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/letter-spacing) |
lineHeight | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | The line-height CSS property sets the amount of space used for lines, such as in text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height) |
m | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Margin on top, left, bottom and right |
margin | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Margin on top, left, bottom and right |
marginBottom | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Margin on bottom |
marginLeft | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Margin on left |
marginRight | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Margin on right |
marginTop | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Margin on top |
marginX | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Margin on left and right |
marginY | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Margin on top and bottom |
maxHeight | N | ResponsiveValue<MaxHeight<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The max-height CSS property sets the maximum height of an element. It prevents the used value of the height property from becoming larger than the value specified for max-height. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/max-height) |
maxWidth | N | ResponsiveValue<MaxWidth<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The max-width CSS property sets the maximum width of an element. It prevents the used value of the width property from becoming larger than the value specified by max-width. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/max-width) |
mb | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Margin on bottom |
minHeight | N | ResponsiveValue<MinHeight<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The min-height CSS property sets the minimum height of an element. It prevents the used value of the height property from becoming smaller than the value specified for min-height. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/display) |
minWidth | N | ResponsiveValue<MinWidth<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The min-width CSS property sets the minimum width of an element. It prevents the used value of the width property from becoming smaller than the value specified for min-width. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/min-width) |
ml | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Margin on left |
mr | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Margin on right |
mt | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Margin on top |
mx | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Margin on left and right |
my | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Margin on top and bottom |
opacity | N | ResponsiveValue<Opacity, Required<Theme<TLengthStyledSystem>>> | undefined | The opacity CSS property sets the transparency of an element or the degree to which content behind an element is visible. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/opacity) |
order | N | ResponsiveValue<Order, Required<Theme<TLengthStyledSystem>>> | undefined | The order CSS property sets the order to lay out an item in a flex or grid container. Items in a container are sorted by ascending order value and then by their source code order. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/order) |
overflow | N | ResponsiveValue<Overflow, Required<Theme<TLengthStyledSystem>>> | undefined | The overflow CSS property sets what to do when an element's content is too big to fit in its block formatting context. It is a shorthand for overflow-x and overflow-y. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/overflow) |
overflowX | N | ResponsiveValue<OverflowX, Required<Theme<TLengthStyledSystem>>> | undefined | The overflow-x CSS property sets what shows when content overflows a block-level element's left and right edges. This may be nothing, a scroll bar, or the overflow content. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-x) |
overflowY | N | ResponsiveValue<OverflowY, Required<Theme<TLengthStyledSystem>>> | undefined | The overflow-y CSS property sets what shows when content overflows a block-level element's top and bottom edges. This may be nothing, a scroll bar, or the overflow content. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-y) |
p | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Padding on top, left, bottom and right |
padding | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Padding on top, left, bottom and right |
paddingBottom | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Padding on bottom |
paddingLeft | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Padding on left |
paddingRight | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Padding on right |
paddingTop | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Padding on top |
paddingX | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Padding on left and right |
paddingY | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Padding on top and bottom |
pb | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Padding on bottom |
pl | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Padding on left |
position | N | ResponsiveValue<Position, Required<Theme<TLengthStyledSystem>>> | undefined | The position CSS property specifies how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/position) |
pr | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Padding on right |
pt | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Padding on top |
px | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Padding on left and right |
py | N | ResponsiveValue<string | number | symbol, Required<Theme<TLengthStyledSystem>>> | undefined | Padding on top and bottom |
right | N | ResponsiveValue<Right<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The right CSS property participates in specifying the horizontal position of a positioned element. It has no effect on non-positioned elements. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/right) |
size | N | ResponsiveValue<Height<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | |
textAlign | N | ResponsiveValue<TextAlign, Required<Theme<TLengthStyledSystem>>> | undefined | The text-align CSS property specifies the horizontal alignment of an inline or table-cell box. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align) |
top | N | ResponsiveValue<Top<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The top CSS property participates in specifying the vertical position of a positioned element. It has no effect on non-positioned elements. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/top) |
verticalAlign | N | ResponsiveValue<VerticalAlign<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The vertical-align CSS property specifies sets vertical alignment of an inline or table-cell box. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align) |
width | N | ResponsiveValue<Width<TLengthStyledSystem>, Required<Theme<TLengthStyledSystem>>> | undefined | The width utility parses a component's `width` prop and converts it into a CSS width declaration. - Numbers from 0-1 are converted to percentage widths. - Numbers greater than 1 are converted to pixel values. - String values are passed as raw CSS values. - And arrays are converted to responsive width styles. |
zIndex | N | ResponsiveValue<ZIndex, Required<Theme<TLengthStyledSystem>>> | undefined | The z-index CSS property sets the z-order of a positioned element and its descendants or flex items. Overlapping elements with a larger z-index cover those with a smaller one. [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/z-index) |