spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Feat]: Action Button with Bottom Label

Open najikahalsema opened this issue 3 years ago • 3 comments

Code of conduct

  • [X] I agree to follow this project's code of conduct.

Impacted component(s)

sp-action-button

Description of the requested feature

This particular pattern has come up a few times during my work, particularly in situations where there is a toolbar or navigation element on the bottom of the screen. It is already in production in places like PS on the iPad. We have other components with properties that dictate the label's position; why not extend that behaviour to the action buttons, as well?

This work would entail adding another property to sp-action-button to set the label position, and adding the relevant CSS to display it.

Mockups or screenshots

image

Example of spec in use:

image

Implementation notes or ideas

No response

najikahalsema avatar Jan 20 '22 19:01 najikahalsema

We need CSS to include this before we take it on. X may have a local fix.

najikahalsema avatar Oct 26 '22 19:10 najikahalsema

Needs inclusion in the Core Tokens measurements. Would benefit from promoting out of Spectrum Contributions world. Design decisions being gathered.

Westbrook avatar Mar 13 '23 18:03 Westbrook

Let's wait for Spectrum 2 spec

Rajdeepc avatar Apr 25 '24 14:04 Rajdeepc