<h2 id="weight">weight</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
public fun CurvedModifier.weight(
    @FloatRange(from = 0.0, fromInclusive = false) weight: Float
): CurvedModifier
```

Size the element's proportional to its [weight](/jetpack-compose/androidx.wear.compose/compose-foundation/functions/weight) relative to other weighted sibling elements in
the container (this will be the height in a [curvedColumn](/jetpack-compose/androidx.wear.compose/compose-foundation/functions/curvedColumn) and the width in a [curvedRow](/jetpack-compose/androidx.wear.compose/compose-foundation/functions/curvedRow)). The
parent will divide the space remaining after measuring unweighted child elements and distribute
it according to this weight.

#### Parameters

| | |
| --- | --- |
| weight | The proportional size to give to this element, as related to the total of all weighted siblings. Must be positive. |