CodePen 2.0 Docs

The next generation of the CodePen Editor.
Pens

Pens are the core of CodePen. Pens are real websites built from the CodePen Editor, powered by a stack of Blocks, chosen by you. Blocks are things like site building frameworks, processors, linters, integrations, optimizers, and more.

You can customize the editor in many ways including the look (e.g. fonts, colors, positions, etc.) and the features (e.g. autocomplete, emmet, etc.)

Building Pens is also a collaborative experience. You can invite people to work on it with you, even in real time if you happen to both be working at the same time.

Full Docs →

Collections

Groups of Pens and other Collections that you and/or your Team control.

Assets

Individual static assets easily shared across Pens. Things like stylesheets, JavaScript libraries, images, JSON data, or any other file.

Embeds

A Pen that you put on another site, like within a blog post, student curriculum, or documentation.