Expasy Logo

Cite button generator

Generate a customizable citation button for any PubMed article. Simply enter the PubMed ID (PMID) and customize the appearance to fit your website.

The generated snippet is vanilla JavaScript. It works in any environment without external dependencies. Simply copy and paste the code into your webpage, and it will render a citation button for the specified PubMed article.

Customization

Customize the button styles or disable embedded styles and use your own CSS classes and styles.

Contrast

You can choose from several icons or disable embedding of an SVG icon.

Live Preview

HTML / CSS / JS