> For the complete documentation index, see [llms.txt](https://legacy-docs.aragon.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legacy-docs.aragon.org/developers/tools/aragonui/structure/card.md).

# Card

A Card component.

## Usage <a href="#usage" id="usage"></a>

```jsx
import { Main, Card } from '@aragon/ui'

function App() {
  return (
    <Main>
      <Card>Card content</Card>
    </Main>
  )
}
```

## Demonstration

![](/files/T8uBDmtKjDkjMGEoxbe7)

## Props <a href="#props" id="props"></a>

#### `width` <a href="#width" id="width"></a>

* Type: `String`
* Default: `282px`

Set the width of your card in pixels.

#### **Example:**

```jsx
const MyCard = () => (
  <Card width="500px">{/* Your card's content goes here */}</Card>
)
```

#### `height` <a href="#height" id="height"></a>

* Type: `String`
* Default: `322px`

Set the height of your card in pixels.

#### **Example:**

```jsx
const MyCard = () => (
  <Card height="800px">{/* Your card's content goes here */}</Card>
)
```
