Using Elements via CDN
A quick guide to using Elements via CDN for demos and prototyping.
# Using Elements via CDN
To get the most out of Elements, you really should run it through PurgeCSS before deploying your project.
To pull in Elements for quick demos or just giving the framework a spin, grab the latest default configuration build via CDN:
<link href="https://cdn.jsdelivr.net/npm/@qctrl/elements-css/elements.min.css" rel="stylesheet">
Note that while the CDN build is large (~16mb), it’s not representative of the sizes you see when including Elements as part of your build process.
Lastly don’t forget to setup the fonts.
On this Page