Skip to content

Style prop: border-radius or radius with responsive features #116

@adsingh14

Description

@adsingh14

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'}}>....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions