amplify-ui icon indicating copy to clipboard operation
amplify-ui copied to clipboard

Easily Add Badge To Upper Right of Button

Open bestickley opened this issue 3 years ago • 1 comments

On which framework/platform would you like to see this feature implemented?

React

Which UI component is this feature-request for?

Other

Please describe your feature-request in detail.

Similar to MUI Badge (https://mui.com/material-ui/react-badge/), I'd like to be able to add a Badge to the top of a button indicating the number of notifications. There is currently no easy way to do this with Amplify UI I'm aware of.

Please describe a solution you'd like.

There could be a prop on Button which accepts a Badge putting it on upper right hand corner of button. Location could be configurable.

We love contributors! Is this something you'd be interested in working on?

  • [ ] 👋 I may be able to implement this feature request.
  • [ ] ⚠️ This feature might incur a breaking change.

bestickley avatar May 06 '22 19:05 bestickley

This is a great idea @bestickley! I've added it to our roadmap for prioritization.

reesscot avatar May 10 '22 00:05 reesscot