Allow variant overrides in Card
Open
Nobody has claimed this yet.
scope: card
type: new feature
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Summary 💡
Allow customizing the variants of card, similar to other elements. There is already CardPropsColorOverrides, so there should be a CardPropsVariantOverrides as well.
Motivation 🔦
We use the Card Componente for our product teaser and instead of wrapping the component, we would like directly to style the different variants.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Card component and the existing CardPropsColorOverrides declaration, then compare how variant overrides are exposed on similar components. Done means Card supports the requested variant type customization and the relevant behavior or type coverage is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100