Moey Icons
No results. Try “dialog”, “dark” or “grid”.
Utilities

Interactions

How things respond to the pointer, touch and selection.

Pointer events

<div class="relative">
  <input class="form-control ps-9" placeholder="Search…">
  <span class="absolute inset-y-0 start-3 flex items-center pointer-events-none text-muted"><i class="mi mi-search"></i></span>
</div>

pointer-events-none lets clicks pass through — the icon sits over the field, but tapping it still focuses the field.

User select

select-none
select-all: one tap selects all of it
<div class="flex flex-wrap gap-3">
  <div class="select-none">select-none</div>
  <div class="select-all">select-all: one tap selects all of it</div>
</div>

Cursor, touch & resize

cursor-pointer
cursor-grab
cursor-not-allowed
<div class="flex flex-wrap gap-3">
  <div class="cursor-pointer">cursor-pointer</div>
  <div class="cursor-grab">cursor-grab</div>
  <div class="cursor-not-allowed">cursor-not-allowed</div>
  <textarea class="form-control resize-none max-w-56" rows="2">resize-none</textarea>
</div>

Every cursor

Point at each box.

default
pointer
text
move
grab
grabbing
not-allowed
wait
help
zoom-in
<div class="flex flex-wrap gap-2">
  <div class="cursor-default">default</div>
  <div class="cursor-pointer">pointer</div>
  <div class="cursor-text">text</div>
  <div class="cursor-move">move</div>
  <div class="cursor-grab">grab</div>
  <div class="cursor-grabbing">grabbing</div>
  <div class="cursor-not-allowed">not-allowed</div>
  <div class="cursor-wait">wait</div>
  <div class="cursor-help">help</div>
  <div class="cursor-zoom-in">zoom-in</div>
</div>

Selectable inside unselectable

A card that can't be selected (so double-taps don't highlight it), with an order number you can still copy.

Order #10421 · tap the number to select all of it
<div class="select-none bg-1 rounded-lg p-3">
  Order
  <span class="select-all font-mono font-semibold">#10421</span>
  · tap the number to select all of it
</div>

Touch

touch-none hands touch to your own code (drawing, maps, drag handles); touch-pan-y keeps vertical scrolling but leaves sideways swipes to you (a carousel); touch-manipulation removes the double-tap zoom delay — Moey already sets it on the whole page.

ClassDoes
pointer-events-none · pointer-events-autoclicks pass through or not
select-none · select-text · select-all · select-autotext selection
cursor-pointer · cursor-default · cursor-text · cursor-move · cursor-grab · cursor-grabbing · cursor-not-allowed · cursor-wait · cursor-help · cursor-zoom-incursor
touch-auto · touch-none · touch-manipulation · touch-pan-x · touch-pan-ytouch gestures
resize · resize-x · resize-y · resize-noneresizable boxes
scroll-smooth · scroll-autoscroll behavior