# material-testimonial-card

> A testimonial card component for React with Material-UI

Latest version **0.0.3** (published 2020-11-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install material-testimonial-card
pnpm add material-testimonial-card
yarn add material-testimonial-card
bun add material-testimonial-card
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2020-11-16 |
| First published | 2020-11-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 100.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Cyril Cabo |
| Maintainers | cyrilcabo |
| Keywords | testimonial, testimonial-card, card, testimony, material-ui, react, modern |

## Links

- npm: https://www.npmjs.com/package/material-testimonial-card
- Repository: https://github.com/cyrilcabo/material-testimonial-card
- Issues: https://github.com/cyrilcabo/material-testimonial-card/issues
- npm.io page: https://npm.io/package/material-testimonial-card

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2020-11-16
- 0.0.2 — 2020-11-16
- 0.0.1 — 2020-11-14

## README

# Material Testimonial Card

## Installation

* Run `npm install material-testimonial-card` in your project.
* Import in your project using `import TestimonialCard from 'material-testimonial-card';`

## Usage

`<TestimonialCard {...props} />`

## Props

* **name** (`required` **|** `string` **|** `default:''`) - the author of the testimonial
* **image** (`optional` **|** `string` **|** `default:''`) - the image of the author of the testimonial
* **content** (`required` **|** `string` **|** `default:''`) - the content of the testimonial
* **project** (`required` **|** `string` **|** `default:''`) - the project/work the testimonial references to
* **className** (`optional` **|** `string` **|** `default:''`) - for styling and customization

## Customization

You can refer to the following css classNames to customize each part of the card.

* `testimonial-avatar-container` : the avatar container
* `testimonial-avatar` : the avatar (image or text)
* `testimonial-body` : the container of the content of the testimonial
* `testimonial-author` : the container of the author and the project of the testimonial

For more info, you can check the github repo.

## Sample Usage
```JSX
import React from 'react';
import TestimonialCard from 'material-testimonial-card';

const Component = () => {
	return <TestimonialCard
		name={"John Smith"}
		image={"/path/to/image.jpg"}
		content={"Wow! This testimonial card is so amazing! I would like to use it in my project!"}
		project={"Testimonial card"}
	/>
}

export default Component;
```

## Demo

![Image sample](https://s3.us-east-2.amazonaws.com/alphadev-utils/git-images/material-testimonial-card/demo1.png)

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