I want some of the customization, but not getting any way to add custom classes to the Card component? I am using React and Laravel for developing the app.
Hi Muhammad - just to confirm, are you looking to add a custom class to a Polaris card component?
Yes, card and the way to add some other components also.
You can’t add classes to Polaris components. I recommend wrapping them in Box component, or if you need something extra, just wrap them in div and style it accordingly.
1 Like