nuvoleweb / ui_patterns

[NOTE] Development has moved to https://drupal.org/project/ui_patterns
https://drupal.org/project/ui_patterns
GNU General Public License v2.0
85 stars 56 forks source link

What do "variants" do? #255

Closed jigarius closed 5 years ago

jigarius commented 5 years ago

I've been using UI Patterns for 3 projects now and I was wondering what "variants" actually do?

My understanding

My expectation

Example

It will be great if you could document what the variants do and how to use them. I couldn't find proper documentation on them anywhere.

jigarius commented 5 years ago

I think I've figured out what they do. I've shared my findings on https://jigarius.com/blog/drupal-ui-patterns. From what I understand, they provide: