Skip to content

Chemical Demo ​

Hover, focus, or activate the dotted-underlined chemical names and identifiers below to see the MyChem.info adapter in action. Live examples enable triggerStyle: 'dotted' so the triggers are easy to spot.

Common Names ​

Analgesic: aspirin

Stimulant: caffeine

Kinase inhibitor: imatinib

Identifier Scopes ​

Use data-query and data-scope when you know a stable identifier. Visible-text name lookup is supported as an experimental best-guess search.

Show code
html
<span class="chemical-tooltip" data-query="2244" data-scope="pubchem">aspirin</span>
<span class="chemical-tooltip" data-query="CHEMBL25" data-scope="chembl">aspirin</span>
<span class="chemical-tooltip" data-query="DB00945" data-scope="drugbank">aspirin</span>

PubChem CID: 2244

ChEMBL ID: CHEMBL25

DrugBank ID: DB00945

Display Variants ​

Compact tooltip:

caffeine

Source/debug view:

aspirin