# Card · Booki

> A paper surface for one piece of work: a title that names it, actions beside the title, the body and a footer.

Source: https://booki.dev/docs/card

Building blocks

# Card

A paper surface for one piece of work: a title that names it, actions beside the title, the body and a footer.

The person sees

Loading preview…

Bridge demo

```
booki_version=$(npm view @booki-aui/react@latest version) &&
ui_sdk_version=$(npm view "@booki-aui/react@$booki_version" peerDependencies.@ui-sdk/core) &&
pnpm add --save-exact "@booki-aui/core@$booki_version" "@booki-aui/react@$booki_version" "@booki-aui/styles@$booki_version" \
  "@ui-sdk/core@$ui_sdk_version" "@ui-sdk/react@$ui_sdk_version"
```

## Usage example

```jsx
import { Card, IconButton } from "@booki-aui/react"
import { RefreshIcon } from "@booki-aui/icons/react"

<Card
  title="Open supplier invoices"
  description="Due within 14 days"
  actions={<IconButton label="Refresh invoices" icon={<RefreshIcon />} />}
  footer={<span>Total 48,125.00</span>}
>
  <InvoiceList />
</Card>
```

The card is a region named "Open supplier invoices". It has no agent actions; the buttons in it are on the bridge as they are anywhere.

Import from `@booki-aui/react`. For Booki's default styling, add `import "@booki-aui/styles"`.
