Native Custom Web Component that requires no dependencies (and likely no polyfills)
npm install flashy-header
-
To use just add a script tag for the component:
<script src="node_modules/flashy-header/flashy-header.js"></script>
-
Then use it in your HTML like so:
<flashy-header>My Custom Header</flashy-header>
You may also consider using a utility like WC-Upgrader instead of directly in your markup.