Skip to main content

Card

Card renders a responsive box-model layout component. Inherits props from Box component.

Usage Example

import {Card, Text, Icon, Button} from 'pipeline-ui'
Live Editor
Result
Loading...

Props

PropTypeDefaultDescription
bgstring (optional)'white'
borderinteger (optional)1
borderColorstring (optional)'light-gray'
boxShadowinteger (optional)2
pinteger (optional)4
positionstring (optional)'relative'
themeobject (optional)

Box uses COMMON, LAYOUT, POSITION, FLEXBOX, BORDERS groups of Styled System props.