Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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.


Auto Save

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="" fill="none" stroke="#FFF" stroke-linejoin="round" viewBox="0 0 4114 743"><path stroke-width="70" d="M402.5 199.5a223.8 223.8 0 1 0 0 343m1148.5-380V580h139a1 1 0 0 0 0-417.5zm896-.5h-290v418h290m-290-209h197m339 244V162h151a1 1 0 0 1 0 209h-151m808-209h-290v418h290m-290-209h197m672-243v452l-349-417v452"/><path stroke-width="64" d="M1286 258L947 31.5 608 258v227l339 226 339-226zM947 35v223m0 227v226M608 258v227l339-227 339 227V258L947 485z"/></svg>



                body { background: #111; }