Style components with CSS

In addition to using the point and click settings panel for styling components in Wireframe editor, also CSS code can be directly used for designing complex styles of supported components.


At the time of this article, the following components have support for CSS code:


  1. Button
  2. Rectangle
  3. Text
  4. Image
  5. Label


More components will be continuously updated for CSS styles.


Example 1: Add a linear gradient color for a Text component using CSS.


1Select the text component in editor


185.png


2In the settings panel, scroll-down to 'Custom CSS' section


186.png


3Type-in the CSS code for adding gradient color for text


187.png


Hope the above example guides you on how to apply styles with CSS code to components in editor. The CSS code is saved as part of the component which means it behaves just like any other property of the component during undo,redo, duplicate or saving the component to an UI pack.


The possibilities are endless using CSS. As it supports almost all modern CSS properties and styles. Here are some advantages in using CSS code with components:


  1. Designers/Developers will find it faster to design with direct CSS code
  2. Ability to design components with styles not found in settings panel
  3. Developers can export CSS code using specs mode for faster handoff
  4. CSS code can be added to existing wireframes
  5. This feature is component based, so it is saved with components and UI packs
  6. Copy-paste CSS code to your UI idea from zillion resources around the web that has shadow examples, gradient palettes like UIgradients.io to name a few


Note: Custom CSS code is a paid only feature not available to Basic plan. Upgrade to any paid plan for access.






Rate this article
great ok bad
For more questions - Contact Us
...