black-lives-matter-elements
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

Black Lives Matter Supporter Elements

Show support for the Black Lives Matter movement. Use these custom elements within your HTML today and show everyone that you respect and understand the issues facing black people around the world.

Installation

Using NPM run the following command in your project at the same level as your package.json

  npm install black-lives-matter-elements --save

Using a Script Tag paste the following line within the <head></head> tags of your HTML file.

  <script src="https://unpkg.com/black-lives-matter-elements@0.0.10/dist/black-lives-matter/black-lives-matter.js"></script>

The following elements will be available to use directly in your HTML file as you would any other HTML Element:

Elements

BlackLivesMatterSupporterBar

  <black-lives-matter-supporter-bar></black-lives-matter-supporter-bar>

Properties

Property Attribute Description Type Default Optional Values
fillColor fill-color string undefined brand, inverse
showDonateButton show-donate-button boolean undefined true, false
showStripes show-stripes string undefined full, both, left

Readme

Keywords

none

Package Sidebar

Install

npm i black-lives-matter-elements

Weekly Downloads

22

Version

0.0.10

License

MIT

Unpacked Size

725 kB

Total Files

70

Last publish

Collaborators

  • cmj