# @cebus/react-card

> The Card component displays content and presents actions to the user.

Latest version **0.0.6** (published 2022-07-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @cebus/react-card
pnpm add @cebus/react-card
yarn add @cebus/react-card
bun add @cebus/react-card
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2022-07-08 |
| First published | 2022-04-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 226.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | czearing, pongobuild |

## Links

- npm: https://www.npmjs.com/package/@cebus/react-card
- Repository: https://github.com/cebus-org/cebus
- Homepage: https://github.com/cebus-org/cebus#readme
- Issues: https://github.com/cebus-org/cebus/issues
- npm.io page: https://npm.io/package/@cebus/react-card

## Dependencies (4)

- [@griffel/react](https://npm.io/package/@griffel/react.md) ^1.0.0
- [@cebus/react-theme](https://npm.io/package/@cebus/react-theme.md) ^0.0.1
- [@fluentui/react-tabster](https://npm.io/package/@fluentui/react-tabster.md) ^9.0.0-rc.5
- [@fluentui/react-utilities](https://npm.io/package/@fluentui/react-utilities.md) ^9.0.0-rc.5

## Recent versions

- 0.0.6 (latest) — 2022-07-08
- 0.0.5 — 2022-04-28
- 0.0.4 — 2022-04-26
- 0.0.3 — 2022-04-26
- 0.0.2 — 2022-04-15
- 0.0.1 — 2022-04-14

## README

# Card

The Card component displays content and presents actions to the user.

## Use

1. Install the @cebus/react-card component.

Using NPM

```
npm install @cebus/react-card
```

Using Yarn

```
yarn add @cebus/react-card
```

2. Install the @cebus/react-provider and our theme tokens from @cebus/react-theme

3. Set up the provider in your app:

```jsx
import { Provider } from '@cebus/react-provider'
import { webLightTheme } from '@cebus/react-theme'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
    <Provider>
  )
}
```

4. Integrate the Card component.

```jsx
import { Provider } from '@cebus/react-provider'
import { webLightTheme } from '@cebus/react-theme'
import { Card } from '@cebus/react-card'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
      <Card>Hello World</Card>
    <Provider>
  )
}
```

## API

To learn more about the Card API take a look at the [Card Interface](src/components/Card/Card.types.ts) file.

---
_Source: https://npm.io/package/@cebus/react-card · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
