A fully-featured website editor built using the powerful @shadcn/designer components. This editor provides a professional design tool experience with infinite canvas, layer management, and comprehensive design controls.
- Infinite Canvas: Zoom, pan, and navigate your design space
- Layer Management: Organize and manage multiple design layers
- Professional Tools: Text, image, frame, and shape tools
- Real-time Controls: Position, size, rotation, and style controls
- Responsive Design: Works on desktop and mobile devices
- Export/Import: Save and load your designs
- History Management: Undo/redo functionality
- Custom Themes: Light and dark mode support
- Node.js 18+
- Yarn package manager
- @shadcn/designer business license
git clone <your-repo-url>
cd shadashboardyarn installImportant: You need a business license to install this package. Purchase one from https://ds.shadcn.com/pricing.
yarn add "https://ds.shadcn.com/registry?version=1.0.0&license=YOUR_LICENSE_KEY"Replace YOUR_LICENSE_KEY with your actual license key.
yarn devsrc/
βββ components/
β βββ DesignerHeader.tsx # Header with title and controls
β βββ DesignerToolbar.tsx # Main toolbar with tools
β βββ PanelLeft.tsx # Left panel (layers, pages, history)
β βββ PanelRight.tsx # Right panel (layer properties)
βββ App.tsx # Main application component
βββ index.css # Tailwind CSS imports
- Project branding and title
- Mode switching (design/preview)
- Theme controls
- Fullscreen toggle
- Selection and move tools
- Layer creation tools (text, image, frame, shape)
- Zoom controls
- History controls (undo/redo)
- Save and preview actions
- Project information
- Pages management
- Layer tree view
- History timeline
- Export/import operations
- Layer properties (position, size, opacity)
- Transform controls (rotation, skew, scale)
- Style controls (fill, border, shadow, padding)
- Text-specific controls (font, color, alignment)
- Image-specific controls (fit, filters)
-
Add Layers: Use toolbar buttons or press keyboard shortcuts
T- Add text layerI- Add image layerF- Add frame layer
-
Select Layers: Click on layers or use the selection tool
-
Move Layers: Drag layers around the canvas
-
Resize Layers: Use the resize handles on selected layers
-
Edit Properties: Use the right panel to modify layer properties
- Zoom: Use zoom tools or mouse wheel
- Pan: Hold space and drag to move around the canvas
- Multi-select: Hold Shift to select multiple layers
- Grouping: Select multiple layers and group them together
- Export: Save your design as an image or export the project file
You can create custom actions using the provided hooks:
import { createLayerCssVarAction, useLayerCssVarAction } from "@shadcn/designer";
const customAction = createLayerCssVarAction("--custom-property", "default-value");
const [value, setValue] = useLayerCssVarAction(customAction);Extend the designer with your own layer types:
import { createCustomLayer } from "@shadcn/designer";
const customLayer = createCustomLayer({
type: "custom",
render: (props) => <YourCustomComponent {...props} />,
// ... other configuration
});The editor is built with responsive design in mind:
- Adapts to different screen sizes
- Touch-friendly controls for mobile devices
- Optimized performance for various devices
yarn buildyarn add -D vercel
vercel --prodyarn add -D netlify-cli
netlify deploy --prod- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License. However, the @shadcn/designer package requires a separate business license.
- Built with @shadcn/designer
- Powered by React and Tailwind CSS
- Developed with Vite
For issues related to this project, please open an issue on GitHub.
For @shadcn/designer support, visit https://ds.shadcn.com/docs
Built with β€οΈ using @shadcn/designer