forked from premieroctet/openchakra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Onboarding + disable share button + social images + readme (premieroc…
…tet#37) * Add onboarding * Fix component name ref * Add og graph / favicon
- Loading branch information
Showing
23 changed files
with
1,555 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,75 @@ | ||
# OpenChakra ⚡️ | ||
<div align="center" style="display:flex;flex-direction:column;"> | ||
<a href="https://openchakra.app"> | ||
<img src="./public/images/github-banner.png" alt="Openchakra: Visual editor for Chakra UI." /> | ||
</a> | ||
<h3>Visual Editor for Chakra UI</h3> | ||
</div> | ||
|
||
> Visual editor for Chakra UI — https://openchakra.app | ||
OpenChakra is a visual editor for the best component library in town: [Chakra UI](https://chakra-ui.com) 🤗. Quickly draft components with the simple drag and drop UI. | ||
|
||
## Features | ||
|
||
- 🎨 Drag and drop [Chakra UI](https://chakra-ui.com/getting-started) components | ||
- 💅 Preset components | ||
- 👀 Live props editing and styling | ||
- 🔥 Production-ready code | ||
- ⚛️ Production-ready code | ||
- 🎈 CodeSandbox export | ||
- 🔮 Undo/redo edit | ||
- 💽 Localstorage sync | ||
|
||
[![Screenshot](./public/images/screenshot.png)](https://openchakra.app) | ||
|
||
## 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 complexe component! | ||
|
||
### Inspector | ||
|
||
**Update props & style** | ||
|
||
On the right hand side, you can find the inspectror panel. You will find the tools to edit the component's props and style. | ||
|
||
**Delete, reset and read doc** | ||
|
||
Reach the yellow bar on the top to delete, reset and access the Chakra doc 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 | ||
|
||
| Shortcut | Description | | ||
| ---------------- | ------------------------- | | ||
| `cmd+Z` `ctrl+Z` | Undo last action | | ||
| `cmd+Y` `ctrl+y` | Redo action | | ||
| `del` | Delete selected component | | ||
| `c` | Toggle Code panel | | ||
| `b` | Toggle Builder mode | | ||
|
||
## Roadmap | ||
|
||
[![Screeshot](splash.png)](https://openchakra.app) | ||
- 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 🧨 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<browserconfig> | ||
<msapplication> | ||
<tile> | ||
<square150x150logo src="/mstile-150x150.png"/> | ||
<TileColor>#da532c</TileColor> | ||
</tile> | ||
</msapplication> | ||
</browserconfig> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "", | ||
"short_name": "", | ||
"icons": [ | ||
{ | ||
"src": "/android-chrome-192x192.png", | ||
"sizes": "192x192", | ||
"type": "image/png" | ||
}, | ||
{ | ||
"src": "/android-chrome-512x512.png", | ||
"sizes": "512x512", | ||
"type": "image/png" | ||
} | ||
], | ||
"theme_color": "#ffffff", | ||
"background_color": "#ffffff", | ||
"display": "standalone" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.