Card
A Card component.
Usage
import { Main, Card } from '@aragon/ui'
function App() {
return (
<Main>
<Card>Card content</Card>
</Main>
)
}
Demonstration

Props
width
width
Type:
String
Default:
282px
Set the width of your card in pixels.
Example:
const MyCard = () => (
<Card width="500px">{/* Your card's content goes here */}</Card>
)
height
height
Type:
String
Default:
322px
Set the height of your card in pixels.
Example:
const MyCard = () => (
<Card height="800px">{/* Your card's content goes here */}</Card>
)
Last updated
Was this helpful?