Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-shields-badge

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-shields-badge

React component shields.io badge

  • 2.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

react-shields-badge

Travis Coverage Status Version license Donloads

Install

npm i react-shields-badge --save
yarn add react-shields-badge --save

Getting Started

import Badge from "react-shields-badge";
import "react-shields-badge/dist/react-shields-badge.css";

<Badge data={["npm", "v1.0.0"]} />

Demo

Properties

PropsTypeDescriptionDefault
dataarrayData record array to be displayed-
colorarrayColor of the badge#fff#fff
backgroundColorarraybackgroundColor of the badgeColor Map

Color Map

namecolor
black#5b5b5b#5b5b5b
blue#0f80c0#0f80c0
brightgreen#4cc61f#4cc61f
red#d7624b#d7624b
orange#f27e3f#f27e3f
green#96c40f#96c40f
yellowgreen#a1a328#a1a328
yellow#d6ae22#d6ae22
lightgrey#9e9e9e#9e9e9e

Keywords

FAQs

Package last updated on 13 May 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