Skip to main content

User Select

Utilities for controlling whether the user can select text.

CSS Property:user-select
Classes:4

User Select Classes

ClassCSS
select-noneuser-select: none;
select-textuser-select: text;
select-alluser-select: all;
select-autouser-select: auto;

Arbitrary Values

You can use arbitrary values with square bracket notation when you need a specific value not included in the default scale.

[user-select:value]

Responsive Variants

Apply user select utilities at specific breakpoints using responsive prefixes.

BreakpointPrefixExample
640px+sm:sm:select-none
768px+md:md:select-none
1024px+lg:lg:select-none
1280px+xl:xl:select-none
1536px+2xl:2xl:select-none