mantinedev / mantinedev/ui.mantine.dev
Style prop: border-radius or radius with responsive features
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.9k
- Forks
- 364
- PR merge metrics
- No merged PRs in 30d
Description
Is there any way to make the radius responsive?
While working on it, I found there's no style prop for the container border radius.
What I expect:
Responsive radius prop which can be applied globally instead of particular elements like Paper, etc.
Use case:
// Example 1 : Using existing prop, but in a responsive way
<Paper radius={{base: 0, md:'md'}}>....
// Example 2
<Container radius={{base: 0, md:'md'}}>....
Contributor guide
No contributing guide indexed for this repository
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 existing responsive style-prop handling for Paper and Container, then trace how radius values are defined and applied. Done means a radius prop accepts base/md-style responsive values and works for the requested components, including the examples described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100