openui / open-ui

Maintain an open standard for UI and promote its adherence and adoption.
https://open-ui.org
Other
3.59k stars 191 forks source link

Token feature, or something like that. #226

Open kant2002 opened 3 years ago

kant2002 commented 3 years ago

I lurking around SAP Fiori design guide and found one interesting concept which is probably missing from regular HTML talks, but very valuable concept in the productive applications.

In SAP this is called token.

image

These ussually applied when used inside some combobox/dropdown concept. Does this building block warranted to be discussed?

una commented 3 years ago

Is this similar to chip?

kant2002 commented 3 years ago

Yes. In the same spirit. What is confusing me is that it is used as part of other components mostly. Somebody mix that with Badge concept

una commented 3 years ago

I do believe these are different from badges. Chips/tokens are usually used in a filtering mechanism, and are interactive, whereas badges tend to convey information and be static.

gregwhitworth commented 3 years ago

@kant2002 I would love to see this one progress as I have a feeling I can foresee a composite control to @una point of this being how the values are represented in a combobox. I'd love to see a proposal for this if it is common across component libs

brianespinosa commented 3 years ago

I was just thinking about what these should officially called yesterday as I have seen them called different things across libs. Semantic UI calls them Labels (obvious semantics problem with HTML <label>).

github-actions[bot] commented 2 years ago

There hasn't been any discussion on this issue for a while, so we're marking it as stale. If you choose to kick off the discussion again, we'll remove the 'stale' label.