borders

@Stable
fun borders(border: Border = BorderDefaults.None, focusedBorder: Border = border, hoveredBorder: Border = focusedBorder, pressedBorder: Border = focusedBorder, selectedBorder: Border = border, disabledBorder: Border = border, focusedSelectedBorder: Border = focusedBorder, pressedSelectedBorder: Border = pressedBorder, hoveredSelectedBorder: Border = hoveredBorder, focusedDisabledBorder: Border = disabledBorder, pressedDisabledBorder: Border = disabledBorder, hoveredDisabledBorder: Border = disabledBorder): Borders

Creates a Borders instance with configurable borders for different interaction states.

Parameters

border

The default border.

focusedBorder

The border when the element is focused.

hoveredBorder

The border when the element is hovered.

pressedBorder

The border when the element is pressed.

selectedBorder

The border when the element is selected.

disabledBorder

The border when the element is disabled.

focusedSelectedBorder

The border when the element is both focused and selected.

pressedSelectedBorder

The border when the element is both pressed and selected.

hoveredSelectedBorder

The border when the element is both hovered and selected.

focusedDisabledBorder

The border when the element is both focused and disabled.

pressedDisabledBorder

The border when the element is both pressed and disabled.

hoveredDisabledBorder

The border when the element is both hovered and disabled.