Property Toggle
<p><strong>Property Toggle</strong> lets you quickly set boolean (true/false) properties on component instances in bulk. Great for managing design systems and quickly making variations of layouts when your components have shared properties.</p><p><br></p><h2>Usage</h2><ul><li><strong>Add properties</strong> that you want to toggle (ex. “dark mode”)</li><li><strong>Toggle properties</strong> to the state you want to set</li><li><strong>Apply changes</strong> to the entire page, or your current selection</li></ul><p><br></p><h2>Examples</h2><ul><li>Add a <code><strong>notch</strong></code> property and variants to your components and use Property Toggle to quickly swap between iPhone 13 and iPhone SE layouts</li><li>Add a <code><strong>dark mode</strong></code> property and variants to your components and use Property Toggle to quickly see what your layout will look like for users who use different preferences</li><li>Add an <code><strong>android</strong></code> property and variants to your components and use Property Toggle to quickly switch out platform-specific UI patterns to make your devs happy</li><li>Add an <code><strong>accessibility mode</strong></code> property and variants to your components and use Property Toggle to quickly test what larger font sizes and higher contrast colours would look like in your layout</li><li>When building design ‘molecules’ in your design system from design ‘atoms’ with shared properties, quickly create variants by switching all nested instances at the same time.</li></ul>
Plugin Preview
About this plugin
Property Toggle lets you quickly set boolean (true/false) properties on component instances in bulk. Great for managing design systems and quickly making variations of layouts when your components have shared properties.
Usage
- Add properties that you want to toggle (ex. “dark mode”)
- Toggle properties to the state you want to set
- Apply changes to the entire page, or your current selection
Examples
- Add a
notch
property and variants to your components and use Property Toggle to quickly swap between iPhone 13 and iPhone SE layouts - Add a
dark mode
property and variants to your components and use Property Toggle to quickly see what your layout will look like for users who use different preferences - Add an
android
property and variants to your components and use Property Toggle to quickly switch out platform-specific UI patterns to make your devs happy - Add an
accessibility mode
property and variants to your components and use Property Toggle to quickly test what larger font sizes and higher contrast colours would look like in your layout - When building design ‘molecules’ in your design system from design ‘atoms’ with shared properties, quickly create variants by switching all nested instances at the same time.
Plugin Details
Version | 1 |
---|---|
Created | March 12, 2022 |
Last Updated | March 17, 2022 |
Category | Software development |
Creator | Evan Dinsmore |
Stats | 899 installs, 46 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
- Editor Types:figma
More Like This
Discover other plugins in the Software development category.