mantinedev / mantinedev/ui.mantine.dev

Style prop: border-radius or radius with responsive features

Open
#116 0 comments 0 reactions 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.