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

[FR](Primitives) Modal Component

Open bestickley opened this issue 3 years ago • 7 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.

I would like to be able to use a Modal component within Amplify UI without having to create my own.

Please describe a solution you'd like.

Requested Modal Customizations:

  • Title
  • Content
  • Footer/Action (where buttons go)
  • Size
  • Overlay color / opacity
  • How overflow is handled
  • Transition

Inspiration: https://mantine.dev/core/modal/

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 Feb 21 '22 19:02 bestickley

Hey @bestickley I would love to pickup this issue. Are we aiming for using Radix components or scratch from css ?

aggmoulik avatar Sep 30 '22 06:09 aggmoulik

Hey @aggmoulik, that would be great! Please see here for reference implementation where I used Radix. You could build from scratch but I think depending on Radix component would be ok and probably smarter as they're already handling a lot of accessibility features for components and they have small bundle size.

bestickley avatar Sep 30 '22 09:09 bestickley

Hey @bestickley, Is there any figma design for the modal based on aws amplify design system.

aggmoulik avatar Oct 02 '22 17:10 aggmoulik

@aggmoulik , not that I'm aware of.

bestickley avatar Oct 03 '22 10:10 bestickley

Any update on this?

parbro3 avatar Oct 20 '22 05:10 parbro3

Expecting this component. Looks like there are not any popup components except menu.

lwang-79 avatar Aug 06 '23 23:08 lwang-79