A2UI icon indicating copy to clipboard operation
A2UI copied to clipboard

Consider adding "borderless" or "fullBleed" or "plain" usageHint on "Button"

Open jacobsimionato opened this issue 3 weeks ago • 1 comments

There are sometimes buttons (defining "button" loosely) where the visual appearance of the button is entirely the child component. For example, text you can click that triggers some action, or an icon, or an image-defined button. Obviously, this has a compromises around splash effects etc, but it is a pattern.

If you try to make an icon button right now, it often looks weird because the icon isn't properly centered etc.

It might be nice to instead have a usageHint that can remove all button appearance other than the child, so the button wrapper is used purely to add tap detection and define the action.

Image

jacobsimionato avatar Dec 05 '25 01:12 jacobsimionato

CC @gspencergoog

jacobsimionato avatar Dec 05 '25 02:12 jacobsimionato