Component Variants in Zeplin

Learn more about Component Variants in Zeplin

Fatih avatar
Written by Fatih
Updated over a week ago

You can now collect related components together and assign them different properties by using Component Variants. This helps developers to quickly access different variants of components—simplifying their Connected Components setup and even generating code snippets from variants.

Organize components in your styleguide by variants

You can collect variants of your components under sections and create properties to represent variants.

You can learn more about how to set up your component variants from these articles:

Quickly view Component Variants within a design

As developers inspect designs, when they select a component, they can view its properties on the right panel. More importantly, using the variant pop-up, they can also view and inspect other variants (specifically state variants) of the component using the shortcut V.

To learn more, you can check out this article: Viewing Component Variants within designs

Viewing Component Variants in the detail view

If you already set up your component variants in your styleguide or exported them from a design tool, you can view all variants of a selected component on the left panel in that component's detail view.

You can learn more about the component detail view here: Inspecting a component in the detail view

Document when and how to use variants in the context of a design

Using smart variant links in notes, you can document when and how to use component variants in the context of a design.

Related articles:


Did this answer your question?