-
Notifications
You must be signed in to change notification settings - Fork 8
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
nimble-chip or nimble-pill component #413
Comments
Closing as this is now a duplicate of #458 - I'll note the requirements in the |
Many design system still break out the Chip/Pill/Tag as its own component....often with a container to hold them. However, I can't find cases where they are only provided as part of a picker control. https://carbondesignsystem.com/components/tag/usage/ This should be reconsidered as an individual control and not required to be combined with the picker |
So, to be clear, I don't believe this or the issue that @fredvisser linked to are suggested to be only a container component that hosts the individual chips. At the very least, the current FAST implementation has a component called a |
😯 Problem to Solve
The Argon visual design shows chips/pills that display a short snippet of text within a colored region with rounded corners.
Argon is planning to implement this imminently so we might not be able to deliver it in time for their use case but I'm creating this issue to gather requirements and use cases.
SystemLink also shows chips in the sl-details-panel.component
Web Portal also shows tags using the DevExtreme Tag Box, which lets you select tags from a drop down and then shows the selected items in a list of chips.
💁 Proposed Solution
We might want to also provide a component that stores a collection of chips. It could handle deleting a chip when the
x
icon is clicked and could provide a default affordance if there are too many chips to fit in available space.We might want to provide a slot to display an icon to the left of the chip as Material does.
We might want to allow different colored chips as GitHub labels do
Longer term there are lots of potential interactions with chips. Some examples from Material:
The text was updated successfully, but these errors were encountered: