Skip to main content
Give us your valuable feedback

It will help us understand how we can serve you better

Give feedback

Foundation

Radius

Property will increase the element consistency and visibility

banner-Radius

Usage

Radius is the blunt part of the corner of a component that affects the shape and visibility of the content inside. This is the variant of radius we use globally for property the component. You can chek out the guideline for more detail description.

Preview

ShapeToken NamePixels
radius12dp
radius24dp
radius36dp
radius48dp
radius512dp
radius616dp
radius724dp
radius830dp

In your composable function, can use value LegionTheme.radius.{radius_token} on the colors attribute widget. Example below:

@Composable
fun YourComposable() {
Box(
modifier = Modifier
.size(180.dp, 100.dp)
.background(
color = LgnPaletteTokens.Primary600,
shape = LegionTheme.radius.radius1
)