PageKit — the self-hosted GrapesJS site builder, sold as source. Get early access

Webpage Preset
1 images
OFOfficial

Webpage Preset

Free
GrapesJS:0.19.x0.18.x0.17.x0.16.x
Download from GitHub

What's Included

  • Free to download & use
  • Open for personal & commercial use

Support The Creator

Use one-time or monthly support to thank the creator for this free product.

GrapesJS Compatible

Tested with GrapesJS 0.19.x, 0.18.x, 0.17.x, 0.16.x

Open Source on GitHub

Free to use, fork, and contribute

Editor Compatible

Designed for the GrapesJS open-source editor

Free to Use

Open for personal and commercial projects

grapesjs-preset-webpage is the official starting configuration behind the GrapesJS demo page. It wires up the pieces a general-purpose site builder needs — code import, device switching and a canvas reset — so you do not have to assemble them yourself.

Commands

  • gjs-open-import-webpage — opens a modal where a user can paste HTML and CSS to load into the canvas.
  • set-device-desktop, set-device-tablet and set-device-mobile — switch the canvas between the three responsive breakpoints.
  • canvas-clear — remove every component and style from the canvas, behind a confirmation prompt.

Blocks

Three starter blocks are added: link-block, quote and text-basic. Use the blocks option to register a subset, or block to extend any of them by id.

Configuration

The import modal is customisable through modalImportTitle, modalImportButton, modalImportLabel and modalImportContent — the last of which accepts a function, so you can pre-fill the modal with the current page markup. importViewerOptions passes options to the code viewer, showStylesOnChange opens the Style Manager whenever the selection changes, and useCustomTheme toggles the preset's own theme.

Good to know

From v1 the preset no longer bundles other plugins — add block, form or export plugins to your project separately. BSD-3-Clause.

Ratings:

No reviews yet. Be the first to share your experience.


Share this item:
Last Update:Sep 8, 2026
Published:Aug 21, 2022
Versions:
0.19.x0.18.x0.17.x0.16.x

Questions & Answers

No questions yet. Have something to ask?