Home Plugins codepen embed block
CodePen Embed Block logo

CodePen Embed Block

by Chris Coyier on WordPress.org

An (official) block for CodePen Embeds.

(2)
Adding a CodePen Embed block.

Adding a CodePen Embed block.

CodePen is an online code editor for front-end development. You build things (we call them Pens) with HTML, CSS, and JavaScript, and the languages and libraries that go along with those. Any Pen can be embedded on another site, making them useful for blog posts, documentation, forums, etc.

This Gutenberg block makes it easy to embed them. While oEmbed (just paste in a Pen URL!) also works for CodePen embeds in Gutenberg, this plugin allows for much more control, like setting the the height, theme, and default tabs.

Active installations800+
Weekly downloads
332+906.06%
Version1.2.0
Last updated7/1/2025
WordPress version5.1
Tested up to6.7.2
PHP version7.2
Tags
codecodepenembedgutenberg