Modify Modal overlay and other component styles. #5369
-
I know that react-spectrum is meant to be used for adobe products but I would like to use it for my app which is not for any adobe product, is it possible to change parts of components like the Modal Overlay for example I would like to have some backdrop but for now I was not able to make it work. What is the best way to change it or is spectrum just not the right choice for non adobe products? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
React Spectrum doesn't support too much in the way of style customization. You can read this page for more information about why, and see what kind of styling is supported. React Aria is going to be a better choice if you want to use custom styles. Check out the React Aria Components Modal docs page, and also the Examples page for a few more examples. Also see the React Aria Styling page for the different ways React Aria Components can be styled. |
Beta Was this translation helpful? Give feedback.
React Spectrum doesn't support too much in the way of style customization. You can read this page for more information about why, and see what kind of styling is supported.
React Aria is going to be a better choice if you want to use custom styles. Check out the React Aria Components Modal docs page, and also the Examples page for a few more examples. Also see the React Aria Styling page for the different ways React Aria Components can be styled.