Overflow component #7867
Unanswered
Soheab
asked this question in
API Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Overflow Component
I would like to propose an Overflow Message Component.
This component would function similarly to a string select menu, but with a more compact UI and the restriction of only allowing a single option to be chosen at a time.
Appearance
A perfect example of this behavior already exists today: on every message on desktop, on the far right side, there is a
[...]
button that reveals additional actions when hovered over (video). For other references, see Slack's implemention below.This component should:
In addition to standard options, it may also be worth considering support for the separator component.
This would make is possible to mimic the way message overflow menus currently group actions, providing a clearer visual distinction between related sets of options.
Use Case
This component could be especially useful in dense or space-constrained UIs where adding a full select menu would take too much space or look cluttered, but you still want to offer a way for users to quickly hover and choose a single action.
Payload Example
Below is an example of how the payload for such a component could look when sent with the CV2 flag in the
components
field:References
Beta Was this translation helpful? Give feedback.
All reactions