A
AstraWind
v0.2.0
System
Borders

border-style

Utilities for controlling the style of an element's borders.

Quick reference

15 of 16 classes apply on React Native
Class
Styles
React Native
border
border-style: var(--tw-border-style); border-width: 1px;
borderWidth: 1
border-0
border-style: var(--tw-border-style); border-width: 0px;
borderWidth: 0
border-2
border-style: var(--tw-border-style); border-width: 2px;
borderWidth: 2
border-4
border-style: var(--tw-border-style); border-width: 4px;
borderWidth: 4
border-8
border-style: var(--tw-border-style); border-width: 8px;
borderWidth: 8
border-dashed
border-style: dashed;
borderStyle: dashed
border-dotted
border-style: dotted;
borderStyle: dotted
border-double
border-style: double;
borderStyle: solid
border-hidden
border-style: hidden;
borderWidth: 0
border-none
border-style: none;
borderWidth: 0
border-solid
border-style: solid;
borderStyle: solid
divide-dashed
border-style: dashed;
divide: {"y":1,"style":"dashed"}
Show all 16 classes
The React Native column is what AstraWind resolves each class to, computed live on this page with the current color scheme. Classes with no native equivalent are accepted without effect, and AstraWind warns about them in development. See Compatibility.