Skip to main content

Create a reusable CLASS component

  • June 19, 2023
  • 1 reply
  • 158 views

As a designer, I can create “class component” that aggregates multiple style attributes and apply them to any element that has compatible objects.

Example:

  1. Create “Padding-0” class where it removes all padding from auto layout.
  2. When added to a component, it will overwrite all the auto layout padding.

Here’s a detailed explanation in Figma

This topic has been closed for replies.

1 reply

  • 0 replies
  • September 17, 2023

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings