A
AstraWind
v0.2.0
System
Interactivity

user-select

Utilities for controlling whether the user can select text in an element.

Quick reference

Every class applies on React Native
Class
Styles
React Native
select-all
-webkit-user-select: all; user-select: all;
userSelect: all selectable={true}
select-auto
-webkit-user-select: auto; user-select: auto;
userSelect: auto
select-none
-webkit-user-select: none; user-select: none;
userSelect: none selectable={false}
select-text
-webkit-user-select: text; user-select: text;
userSelect: text selectable={true}
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.