Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Grapesjs | 18,655 | 52 | 159 | a day ago | 157 | July 04, 2023 | 14 | bsd-3-clause | TypeScript | |
Free and Open source Web Builder Framework. Next generation tool for building templates without coding | ||||||||||
H5 Dooring | 7,298 | 7 months ago | 29 | gpl-3.0 | JavaScript | |||||
H5 Page Maker, H5 Editor, LowCode. Make H5 as easy as building blocks. | 让H5制作像搭积木一样简单, 轻松搭建H5页面, H5网站, PC端网站,LowCode平台. | ||||||||||
Vvvebjs | 5,914 | 1 | 16 days ago | 1 | January 27, 2018 | 213 | apache-2.0 | JavaScript | ||
Drag and drop website builder javascript library. | ||||||||||
Brick Design | 4,851 | 6 | 20 days ago | 17 | August 04, 2020 | 28 | mit | TypeScript | ||
低代码框架,支持流式布局与自由布局拖拽编排,可视化拖拽、随意嵌套组合、实时渲染、实时辅助线展示、自由布局支持辅助对齐、支持自动吸附、实时组件间距展示、实时拖拽排序、状态域管理,可视化属性配置、可视化样式配置、多设备适配展示,支持逻辑渲染、模板字符变量、表达式、自定义方法、自定义状态 | ||||||||||
Vdesjs Drag | 93 | 2 years ago | n,ull | mit | Vue | |||||
基于vue的可视化拖拽,代码生成工具。 | ||||||||||
Lego Editor | 11 | a year ago | Vue | |||||||
乐高 H5 编辑器是一个灵活、强大、低心智成本的 H5 页面编辑器。 | ||||||||||
Web Mobile Html Builder | 5 | 9 months ago | mit | JavaScript | ||||||
Online Web and Mobile HTML Builder & Editor using daisyui, tailwind and grapejs in a 40kB box! |
GrapesJS is a free and open source Web Builder Framework which helps building HTML templates, faster and easily, to be delivered in sites, newsletters or mobile apps. Mainly, GrapesJS was designed to be used inside a CMS to speed up the creation of dynamic templates. To better understand this concept check the image below
Generally any 'template system', that you'd find in various applications like CMS, is composed by the structure (HTML), style (CSS) and variables, which are then replaced with other templates and contents on server-side and rendered on client.
This demos show examples of what is possible to achieve:
Webpage Demo - http://grapesjs.com/demo.html
Newsletter Demo - http://grapesjs.com/demo-newsletter-editor.html
Blocks | Style Manager | Layer Manager |
---|---|---|
![]() |
![]() |
![]() |
Code Viewer | Asset Manager |
---|---|
![]() |
![]() |
Local and remote storage
Default built-in commands (basically for creating and managing different components)
https://unpkg.com/grapesjs
https://unpkg.com/grapesjs/dist/css/grapes.min.css
X.X.X
with the current version)
https://cdnjs.cloudflare.com/ajax/libs/grapesjs/X.X.X/grapes.min.js
https://cdnjs.cloudflare.com/ajax/libs/grapesjs/X.X.X/css/grapes.min.css
npm i grapesjs
git clone https://github.com/GrapesJS/grapesjs.git
For the development purpose you should follow instructions below.
<link rel="stylesheet" href="path/to/grapes.min.css">
<script src="path/to/grapes.min.js"></script>
<div id="gjs"></div>
<script type="text/javascript">
var editor = grapesjs.init({
container : '#gjs',
components: '<div class="txt-red">Hello world!</div>',
style: '.txt-red{color: red}',
});
</script>
For a more practical example I'd suggest looking up the code inside this demo: http://grapesjs.com/demo.html
Clone the repository and install all the necessary dependencies (yarn
is highly recommended)
$ git clone https://github.com/GrapesJS/grapesjs.git
$ cd grapesjs
$ yarn
Start the dev server
$ yarn start
Once the development server is started you should be able to reach the demo page (eg. http://localhost:8080
)
Check the getting started guide here: Documentation
API References could be found here: API-Reference
$ yarn test
gradient
type input to the Style Managerfilter
type input to the Style ManagerFind out more about plugins here: Creating plugins
If you like the project and you wish to see it grow, please consider supporting us with a donation of your choice or become a backer/sponsor via Open Collective
Thanks to BrowserStack for providing us browser testing services
BSD 3-clause