Skip to content


This component will display a link to the relevant section of the Web Monetization specification in a table.

To use it, your docs page must be in .mdx format. Please change the format from .md to .mdx if necessary. All your existing markdown will still be supported without issue.


Import the Specification component like so:

import Specification from "/src/components/docs/Specification";

Use the <Specification> component on your docs page where relevant under a “Specifications” heading like so:

## Specifications
<Specification anchor='link-type-monetization' />

This component takes in an optional anchor prop which allows you to specify the particular section of the spec that’s relevant to the doc (page) you’re working on. If no anchor prop is provided, it will default to the specification itself.

Working example