Skip to main content

Why use classes?

I
Written by Inbal Shemesh
Updated over 3 months ago

Classes let you group and control multiple elements — even if they don’t share the same name.

You can:

  • Apply interactions to all elements with the same class (like Image)

  • Switch between modes (like light and dark)

  • Control variant components together

  • Change variables (like colors or spacing) based on the active mode

It’s a powerful way to organize and manage your design more efficiently.

Did this answer your question?