# Using Marcode with Icons8 Lunacy

![Icons8 Lunacy is really beautiful!](/files/HDY9l0rZsBNy4gTgSqHw)

Just because Icons8 Lunacy reads and writes in the amazing .sketch format it’s a fundamentally different app, it’s not a Sketch clone. **Super important to understand this.**

## Lunacy vs Sketch

![](/files/rRJpqvqOaazWWAC5NQl0)

It’s more like a nice combo of both Sketch and Figma with incredible features for collaboration, using cloud documents etc. It also has things that the other ones haven’t, like a huge free library of icons, illustrations and stock photography. Plus many more things, you should really give it a try.

### What works really well

* All of our freebies that have been created in Sketch that you can download from our [marketplace](https://marketplace.sketch2react.io/product-category/freebies/)
* Layer effects like drop shadows, blending modes, gradients (both linear and now also radial)
* Styling components
* Shared styles like typography, effects
* Styleguide CSS export
* Exporting to HTML, iOS, Android and Xcode

## How Lunacy handles overrides

![](/files/jF3QbR6qD5OW17l1Fb1U)

In Marcode we use the **override’s panel in Sketch** to solve the connections and logic we have in all of our interactive components. Since Lunacy does not handle overrides this way, this is a bit of a pickle for us, least to say.

We added automatic HTML links between artboards mostly to solve this with Lunacy. Turns out, it also benefits users of Sketch. Who doesn’t want more automatic workflows in life?

So basically, the easiest way to put this is to say that:

* **Basic logic**, like linking between artboards works thanks to our automatic HTML linking
* Using our [{prototype} components](https://sketch2react.gitbook.io/marcode/learn/components#rapid-prototyping-components) works really well :tada:
* All other logic works, but can’t be setup from scratch in Lunacy. You can use our vast amount of [free demo files](https://marketplace.sketch2react.io/product-category/freebies/) to extract all of our components that have logic inside them

If you can live with that, go ahead, try it out. Icons8 Lunacy is 100% free.

![](/files/RnzaOMP1qb3xt4ln6yHR)

## **How Lunacy handles SVG's and Make Exportable image assets**

Sketch has something built-in that is called *sketch-tool*. It's what Marcode uses to automagically add everything from SVG's, PNG's etc as soon as you do the **Make Exportable** command inside Sketch app.

The neat thing about *sketch-tool* is that it speeds up the workflow suggested for using our Rapid Prototype Components {prototype} and {prototype-fluid}…

Since Lunacy is a **cross-platform app**, and not using *sketch-tool* at all, there is no way for Marcode to automatically add your image assets like we do in Sketch.&#x20;

Here's a simple workaround using our {image} components.

## Workaround

![In this example we have grouped some text and a nice looking button](/files/Yrl3NtYzVs7Xk5SbTadx)

1. **Group** whatever graphical elements that you want to rasterize into an image. It can be a headline, an SVG illustration etc
2. Right click and do the **Rasterize Selection** command
3. Add {image} or {image-fixed} before the layer name 👇✅
4. Done! 🎉

![We added {image} to the image layer name](/files/HLTr9UAkkbX4iUZbWpzj)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sketch2react.gitbook.io/marcode/learn/using-marcode-with-icons8-lunacy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
