Skip to main content
Load the module once and put an element anywhere you want a button:

Attribute reference

All attributes can be set in the quick embed fragment. Change attributes on an existing element to change its future links and downloads. An already-saved event remains an independent copy.
Use an ordinary link for navigation and <button slot="actions" type="button"> for an action handled by your JavaScript. Custom actions appear after providers in markup order. Use providers="" for custom actions only. The element still needs a valid title and date. The one-line fragment accepts event settings, not custom HTML.