Linrstudio / macaron

Visual component editor for Web development

Home Page:https://macaron-elements.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Screenshot

example workflow

Macaron is an open-source design tool to visually create Web Components, which can be used in most Web frameworks, or in vanilla HTML/JavaScript.

Its goal is to allow you to create and continuously maintain components visually, and make Web frontend development easier and more fun.

  • πŸ–ŠοΈ Easy-to-use visual editor
  • πŸ§‘β€πŸ’» Runs in Visual Studio Code
  • 🌐 Framework-agnostic
  • πŸ“₯ Import Web Components
  • πŸ—’οΈ Clean File Format
  • 🎨 Copy-paste from Figma (WIP)

Demo

Usage

Development

Setup

# Clone
git clone --recursive git@github.com:macaron-elements/macaron.git

cd macaron

# Install dependencies
yarn

# Build
yarn build

Project Structure

  • /packages/editor - The Macaron Editor
  • /packages/paintkit - The submodule for the paintkit library
  • /packages/vscode - The VS Code extension that provides Macaron as a custom editor
  • /packages/figma - The Figma plugin for Macaron
  • /packages/compiler - The compiler that converts Macaron files to Web Components
  • /packages/loader-vite - The Vite plugin to import Macaron files directly from JS/HTML
  • /packages/docs - The Website and documentation

This project uses Yarn Workspaces.

Start devservers

yarn dev

Launch VS Code extension

  • Make sure yarn dev is running
  • Open the root directory in VS Code
  • Press F5 (or menu Run β†’ Start Debugging)

Test

yarn test

# Update snapshots
yarn test -u

Publish npm packages

lerna publish

Analytics

Macaron uses Plausible to collect anonymous analytics data.

Dashboards

About

Visual component editor for Web development

https://macaron-elements.com/

License:MIT License


Languages

Language:TypeScript 94.8%Language:Vue 2.3%Language:JavaScript 2.0%Language:HTML 0.5%Language:CSS 0.3%