Skip to main content
K
Last modified: 24/Jun/2024

Card Columns

The Card.Columns is a simple UI wrapper around containers. It adds two columns(left and right) with this ratios 2/3 and 1/3.

#Usage

import { Card } from '@kinsta/stratus' const myComponent = () => ( <Card> <Card.Columns left="left column" right="right column" /> </Card> )

#Props

#left
Required
string | ReactElement<any, string | JSXElementConstructor<any>>
Left Column of the Card
Required
string | ReactElement<any, string | JSXElementConstructor<any>>
right Column of the Card

#Types

  • ColumnsProps: props of the Card.Columns

Read more about types here