Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <svg xmlns="" aria-hidden="true" style="position: absolute; width: 0; height: 0; overflow: hidden;">
<symbol id="icon-folder" viewBox="0 0 32 32">
<path d="M14 4l4 4h14v22h-32v-26z"></path>
<symbol id="icon-folder-open" viewBox="0 0 32 32">
<path d="M26 30l6-16h-26l-6 16zM4 12l-4 18v-26h9l4 4h13v4z"></path>
<symbol id="icon-folder-plus" viewBox="0 0 32 32">
<path d="M18 8l-4-4h-14v26h32v-22h-14zM22 22h-4v4h-4v-4h-4v-4h4v-4h4v4h4v4z"></path>
<symbol id="icon-folder-minus" viewBox="0 0 32 32">
<path d="M18 8l-4-4h-14v26h32v-22h-14zM22 22h-12v-4h12v4z"></path>
<symbol id="icon-folder-download" viewBox="0 0 32 32">
<path d="M18 8l-4-4h-14v26h32v-22h-14zM16 27l-7-7h5v-8h4v8h5l-7 7z"></path>
<symbol id="icon-folder-upload" viewBox="0 0 32 32">
<path d="M18 8l-4-4h-14v26h32v-22h-14zM16 15l7 7h-5v8h-4v-8h-5l7-7z"></path>

<h1>Folder icons</h1>

<ul class="icons">
  <li><svg><use xlink:href="#icon-folder"></use></svg></li>
  <li><svg><use xlink:href="#icon-folder-open"></use></svg></li>
  <li><svg><use xlink:href="#icon-folder-plus"></use></svg></li>
  <li><svg><use xlink:href="#icon-folder-minus"></use></svg></li>
  <li><svg><use xlink:href="#icon-folder-download"></use></svg></li>
  <li><svg><use xlink:href="#icon-folder-upload"></use></svg></li>


                body {
  font-family: sans-serif;
  font-size: 100%;

.icons {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style-type: none;

.icons li {
  margin: 3px;

.icons svg {
  display: block;
  width: 100%;
  fill: #f7d674;