Skip to main content

Installation

Usage

Import the modules (each calls customElements.define), then use the element inside a <bw-player-provider>.
<bw-beyondwords-logo> renders the BeyondWords logo as a link to beyondwords.io, tagged with UTM parameters and the player’s analyticsId (read from the nearest <bw-player-provider> ancestor). The SVG uses currentColor, so it inherits the surrounding text color — style it by setting the color on a parent.
These components expect the BeyondWords player to be available as a global BeyondWords (the player UMD script). Load it before the provider connects.

Reference