<p>There are two ways to use Shoelace. If you want to get things up and running quickly, use the <code>dist/</code> version or the <ahref="#cdn">CDN version</a>. This version isn’t customizable, nor can you use future CSS features with it. It’s primarily intended for prototyping.</p>
<p>If you’re developing a production app, you should <ahref="#building-from-source">build Shoelace from source</a>. This version is completely customizable, modular, and lets you use future CSS features <em>today</em>.</p>
<p><strong>Note:</strong> To make certain components interactive (e.g. dropdowns and tabs), you’ll need to load <ahref="https://cdnjs.com/libraries/jquery/">jQuery</a> or <ahref="https://cdnjs.com/libraries/zepto/">Zepto</a> before <code>shoelace.js</code>.</p>
<p>This is the best approach for prototyping, however, this version isn’t customizable and doesn’t support future CSS features. To load Shoelace via CDN, add this to your <code><head></code>:</p>
<p>To make the most out of Shoelace, you should build it from source. This will let you use future CSS features <em>today</em>, such as <ahref="https://www.w3.org/TR/css-variables/">CSS variables</a>, <ahref="http://tabatkins.github.io/specs/css-nesting/">nesting</a>, <ahref="https://drafts.csswg.org/css-color/#modifying-colors">color functions</a>, <ahref="http://cssnext.io/features/">and more</a>. It also gives you complete control over customizing Shoelace.</p>
<p>The recommended way to build Shoelace is with <ahref="http://cssnext.io/">cssnext</a>. There are instructions for webpack, gulp, grunt, browserify, and others located on the <ahref="http://cssnext.io/setup/">setup page</a>.</p>
<p>You can <ahref="https://github.com/claviska/shoelace-css/releases">download Shoelace</a> from GitHub, but it’s probably better to use the npm version:</p>
<p>The main source file is <ahref="../source/css/shoelace.css"><code>source/css/shoelace.css</code></a>. This bootstraps the entire project by importing core variables and all of Shoelace’s components.</p>
<p>If you don’t need everything, just load <ahref="../source/css/variables.css"><code>source/css/variables.css</code></a> along with the components you want.</p>
<aclass="github-button"href="https://github.com/claviska/shoelace-css/fork"data-size="large"aria-label="Fork claviska/shoelace-css on GitHub">Fork</a>
<aclass="github-button"href="https://github.com/claviska/shoelace-css/releases"data-icon="octicon-cloud-download"data-size="large"aria-label="Download claviska/shoelace-css on GitHub">Download</a>
<aclass="github-button"href="https://github.com/claviska/shoelace-css/issues"data-icon="octicon-issue-opened"data-size="large"aria-label="Issue claviska/shoelace-css on GitHub">Report a Bug</a>
<aclass="github-button"href="https://github.com/claviska/shoelace-css"data-icon="octicon-star"data-size="large"data-show-count="true"aria-label="Star claviska/shoelace-css on GitHub">Star</a>