Extensions

Press shift + S to search API reference.

Interface

BorderProps

View source
interface BorderProps
borderOptionalResponsiveProp<BorderProperty<Length>>

Sets an element's border. It's a shorthand for borderWidth, borderStyle, and borderColor.

borderBottomOptionalResponsiveProp<BorderBottomProperty<Length>>

Sets the width, line style, and color for an element's bottom border.

borderColorOptionalResponsiveProp<BorderColorProperty>

Sets the color of all sides of an element's border.

borderLeftOptionalResponsiveProp<BorderLeftProperty<Length>>

Sets the width, line style, and color for an element's left border.

borderRightOptionalResponsiveProp<BorderRightProperty<Length>>

Sets the width, line style, and color for an element's right border.

borderStyleOptionalResponsiveProp<BorderStyleProperty>

Sets the line style for all four sides of an element's border.

borderTopOptionalResponsiveProp<BorderTopProperty<Length>>

Sets the width, line style, and color for an element's top border.

borderWidthOptionalResponsiveProp<BorderWidthProperty<Length>>

Sets the widths of all four sides of an element's border.

borderXOptionalResponsiveProp<BorderProperty<Length>>

Sets the width, line style, and color for an element's left and right borders.

borderYOptionalResponsiveProp<BorderProperty<Length>>

Sets the width, line style, and color for an element's top and bottom borders.