mui / mui/material-ui

Allow variant overrides in Card

Open
#27,267 6 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.