New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

material-testimonial-card

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

material-testimonial-card

A testimonial card component for React with Material-UI

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
increased by21.43%
Maintainers
1
Weekly downloads
 
Created
Source

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

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

Keywords

FAQs

Package last updated on 16 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc