Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output: Preview UI for spacing tokens #14

Open
Sidnioulz opened this issue Nov 20, 2024 · 0 comments
Open

Output: Preview UI for spacing tokens #14

Sidnioulz opened this issue Nov 20, 2024 · 0 comments

Comments

@Sidnioulz
Copy link
Owner

Sidnioulz commented Nov 20, 2024

A collection of preview components discovered out there. I'll soon split this ticket per token type. Please comment your own examples below. Those were taken from sites recommended to me by DS folks I contacted, plus the sites I built myself.

Examples

Margin/Padding

FTV
Image

Wikimedia defines tokens without a preview

Datadog DRUID 🧑‍🦯 ❌
Image

Nord Health
Image


Gap

FTV
Image

Datadog DRUID
Image


Dimensions

Polaris presented as width/height
Image

Wikimedia defines tokens without a preview

FTV
Image

Datadog DRUIDS separates preview from the table for efficient use of space
Image

Nord Health
Image

Bonus visualisation

Datadog's visual representations of space:
image

Pinterest's negative spacing tokens use a different preview:
Image

Challenges

  • Many different types of visualisations, which would need metadata or conventions to be effectively used
  • In some cases, examples, separating preview from the token table, or live showcases may be more effective in teaching the tokens than a simple preview in table
@Sidnioulz Sidnioulz converted this from a draft issue Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Proposal/RFC
Development

No branches or pull requests

1 participant