patternfly / patternfly-elements

PatternFly Elements. A set of community-created web components based on PatternFly design.
https://patternflyelements.org/
MIT License
379 stars 96 forks source link

[1:1]: pf-backdrop #2541

Open Arathy-s opened 1 year ago

Arathy-s commented 1 year ago

Component name: pf-backdrop

A backdrop is used to screen the main content of a page when a modal overlay is opened. It prevents the user from doing other work on the page until the modal is dismissed. Reference: https://www.patternfly.org/v4/components/backdrop

Screenshot 2023-07-07 at 1 19 44 PM

Design specification

The design specifications should match with https://www.patternfly.org/v4/components/backdrop/design-guidelines.

Accessibility

The component should implement all the accessibility features as https://www.patternfly.org/v4/components/backdrop/accessibility.

bennypowers commented 1 year ago

we may choose not to implement this, if this is simply an implementation detail of modal

zeroedin commented 1 year ago

we may choose not to implement this, if this is simply an implementation detail of modal

There is an implementation of the backdrop that does have a spinner

http://v4-archive.patternfly.org/v4/components/backdrop/react/with-spinner/

I wonder if that qualifies it enough as a stand alone component. I could see that being used outside a modal.