Search…
Card
A Card component.

Usage

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

Demonstration

Props

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

  • 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 modified 2mo ago
Copy link
On this page
Usage
Demonstration
Props