Sorry, we don't support your browser.  Install a modern browser

A variant selection / toggle for Local Patterns (like Figma)#118

D

Hi Generate team!

Technically, this is already possible with the new class-based system which is 100% awesome btw! So thank you for that!

However, my idea is a bit more intuitive for non-developers like a toggle or select field for Local Patterns like a Figma component. By having so, there will only be one major “pattern,” but we can simply select the variant, size, style, etc.

https://postimg.cc/Wt5hzGGs

For instance, the main pattern is “Button.” However on the block editor it could have something like…

https://postimg.cc/WtShzBRD

Though, to be fair, this is a massive feature. But hey, I believe it can be a colossal game-changer!

Let me know what you think.

Cheers,
Dan

6 months ago
D

I guess this would also be similar to WP Core blocks, https://developer.wordpress.org/themes/features/block-style-variations/

6 months ago