Skip to content

Instantly share code, notes, and snippets.

@NoWorries
Last active May 4, 2022 02:14
Show Gist options
  • Save NoWorries/1fb6531d0cc63761c5b7b1b7bb534b11 to your computer and use it in GitHub Desktop.
Save NoWorries/1fb6531d0cc63761c5b7b1b7bb534b11 to your computer and use it in GitHub Desktop.
graph TD
O{How many items?}-->|One|A
O-->|Multiple|P{Device}
A{Device} -->|Desktop|D
A-->|Mobile|H
D{How many buttons?} -->E(One)
D-->F(Two)
D-->G(Three)
H{How many buttons?} -->I(One)
H-->J(Two)
H-->K(Three)
E-->L{In a modal/dialog?}
L-->|Yes|M((Right: Primary))
L-->|No|N((Left: Primary))
F-->Q((Left: Primary & Secondary))
I-->R((Primary on top))
J-->R
G-->S((Left: Primary & Secondary. Right: Tertiary))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment