OpenChakra

Full-featured visual editor and code generator for React using Chakra UI

README

Openchakra: Visual editor for Chakra UI.

Visual Editor for Chakra UI


OpenChakra is a visual editor for the best component library in town: Chakra UI 🤗. Quickly draft components with the simple drag and drop UI.


Features


- 🎨 Drag and drop Chakra UI components
- 💅 Preset components
- 👀 Live props editing and styling
- ⚛️ Production-ready code
- 🎈 CodeSandbox export
- 🔮 Undo/redo edit
- 💽 Localstorage sync
Screenshot

Getting started


Builder mode


The Builder mode adds extra padding/border to ease components selection (like containers).

💡Toggle the Builder mode with the b shortcut


Code panel


Toggle the code panel for viewing the JSX/React code of your components. You can even export your code directly to CodeSandbox!

💡Toggle the Code panel with the c shortcut


Components panel


Drag any component from the left hand panel into this editor. Then start interacting with them.
You can drag a preset: it's a group of components (like Alert). Just drop a preset to easily setup a complex component!

Inspector


Update props & style

On the right hand-side, you can find the inspector panel. You will find the tools to edit the component's props and style.

Delete, reset and documentation

Reach the yellow bar on the top to delete, reset and access the Chakra documentation of each component.

Sort components

By clicking on a component containing children, you will see a Children panel appearing on the right. It enables sorting the children.

Editor Shortcuts


ShortcutDescription
-----------------------------------------
`cmd+Z`Undo
`cmd+Y`Redo
`cmd+D`Duplicate
`del`Delete
`c`Toggle
`b`Toggle
`p`Select
`Esc`Unselect

Roadmap


- More Chakra UI components integration
- Components copy
- Props panel improvements
- Code generation improvements
- Dark mode support
- Custom presets
- Custom theme
- Handle PseudoBox state (hover, active…)
- Fix bugs 🧨
- Support other UI (Material, Reakit...)

Contributors


Code Contributors


This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors


Become a financial contributor and help us sustain our community. [Contribute]

Individuals



Organizations


Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]