Gravity
Search…
Card
The card is a versatile container for grouping UI elements together. Wrap it around any child elements that you'd like to group visually.
1
<Card title='Goals' loading={ loading }>
2
// child elements
3
</Card>
Copied!

Props

prop
description
value
title
title text (optional)
string
loading
shows a loading spinner (optional)
true or false
className
custom CSS object (optional)
CSS object
restrictWidth
restrict the card's with to a fixed width
true or false
shadow
apply a box shadow
true or false
center
center align the card
true or false
noPadding
remove the padding from the card
true or false
last
force a bottom margin of 0
true or false
Last modified 3mo ago
Copy link
Contents
Props