react-materialui-testimonials-transition
Version:
React Material UI Testimonials with Transition Easy to Use component
131 lines (108 loc) • 3.29 kB
Markdown
React Material UI Testimonials Package provides Easy-to-Use Material UI Card and Paper components generating Testimonial component. Testimonial Package works with independent props i.e image, title, subtitle and testimonial.
1. Works with independent props i.e image, title, subtitle and testimonial
2. Supports solid and gradient background passed as props
3. Controlable transition (You can turn off with transition={false})
4. Adjustable transition parameters such as transition speed and transition direction
[](https://www.npmjs.com/package/react-materialui-testimonials-transition) [](https://www.npmjs.com/package/react-materialui-testimonials-transition) [](https://standardjs.com)
## Install
```bash
npm install --save react-materialui-testimonials-transition
```
## Usage
```jsx
import React, { Component } from 'react'
import { SlideTestimonial } from 'react-materialui-testimonials-transition'
class Example extends Component {
render() {
return (
<SlideTestimonial
image='/images/1.jpg'
alt='Arif Shariati'
imageRadius='50%'
title='Arif Shariati'
subtitle='CEO'
testimonial={'Awesome React Material UI Testimonial component Package'}
backgroundGradient={['#FE6B8B', '#FF8E53']}
backgroundColor='#f9f9f9'
transition={true}
direction='left'
speed={1000}
shadow={5}
/>
)
}
}
```
```jsx
<SlideTestimonial
image='/images/1.jpg'
alt='Arif Shariati'
imageRadius='50%'
title='Arif Shariati'
subtitle='CEO'
testimonial={'Awesome React Material UI Testimonial component Package'}
backgroundGradient={['#FE6B8B', '#FF8E53']}
backgroundColor='#f9f9f9'
transition={true}
direction='left'
speed={1000}
shadow={5}
/>
```
```jsx
<FadeTestimonial
image='/images/1.jpg'
alt='Arif Shariati'
imageRadius='50%'
title='Arif Shariati'
subtitle='CEO'
testimonial={'Awesome React Material UI Testimonial component Package'}
backgroundGradient={['#FE6B8B', '#FF8E53']}
backgroundColor='#f9f9f9'
transition={true}
speed={1000}
shadow={5}
/>
```
```jsx
<ZoomTestimonial
image='/images/1.jpg'
alt='Arif Shariati'
imageRadius='50%'
title='Arif Shariati'
subtitle='CEO'
testimonial={'Awesome React Material UI Testimonial component Package'}
backgroundGradient={['#FE6B8B', '#FF8E53']}
backgroundColor='#f9f9f9'
transition={true}
speed={1000}
shadow={5}
/>
```
```jsx
<GrowTestimonial
image='/images/1.jpg'
alt='Arif Shariati'
imageRadius='50%'
title='Arif Shariati'
subtitle='CEO'
testimonial={'Awesome React Material UI Testimonial component Package'}
backgroundGradient={['#FE6B8B', '#FF8E53']}
backgroundColor='#f9f9f9'
transition={true}
speed={1000}
shadow={5}
/>
```
```bash
npm update
```
MIT © [arifshariati](https://github.com/arifshariati)