black-lives-matter-elements
v0.0.10
Published
Show your support
Downloads
11
Readme
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/[email protected]/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 |