premieroctet / openchakra
- суббота, 15 февраля 2020 г. в 00:20:43
TypeScript
⚡️ Visual editor for Chakra UI
OpenChakra is a visual editor for the best component library in town: Chakra UI
The Builder mode adds extra padding/border to ease components selection (like containers).
💡 Toggle the Builder mode with thebshortcut
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 thecshortcut
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!
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.
| Shortcut | Description |
|---|---|
cmd+Z ctrl+Z |
Undo last action |
cmd+Y ctrl+y |
Redo action |
cmd+D ctrl+d |
Duplicate component |
del |
Delete selected component |
c |
Toggle Code panel |
b |
Toggle Builder mode |
p |
Select parent component |
Esc |
Unselect component |