Skip to content

A web component to embed in your personal site to show you stand with the protests against racism and police brutality

Notifications You must be signed in to change notification settings

trentmwillis/i-stand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I Stand

A web component to embed in your personal site to show you stand with the protests against racism and police brutality.

A banner showing solidarity with protestors against police brutality

To add this banner to your site, include the following code:

<!-- Somewhere in your page -->
<script src="https://unpkg.com/i-stand/black-lives.js" type="module"></script>

<!-- After the opening <body> tag -->
<black-lives></black-lives>

The snippet above will always use the latest version of the banner. This means if any changes are published they'll automatically be pulled in (such as new names or updated links).

If you want to use a specific version, you can update the unpkg url to point to a specific version. For example, to always use the v1.1.0 release, include the following script instead:

<script src="https://unpkg.com/i-stand@1.1.0/black-lives.js" type="module"></script>

This should work in all modern browsers. If you need to support legacy browsers, you may need to include some polyfills or run the script through a transpiler, like Babel, first.

About

A web component to embed in your personal site to show you stand with the protests against racism and police brutality

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published