Liking cljdoc? Tell your friends :D
All platforms.

mantine.hooks

Mantine @mantine/hooks 9.5.0 wrappers (generated).

Thin def-aliases over the JS hooks and plain utilities — raw passthrough in both directions. Rules of hooks are NOT enforced here; they are delegated to React (call hooks only inside function components / other hooks). Object returns need ^js or js-interop access under :advanced compilation.

Mantine @mantine/hooks 9.5.0 wrappers (generated).

Thin def-aliases over the JS hooks and plain utilities — raw passthrough
in both directions. Rules of hooks are NOT enforced here; they are
delegated to React (call hooks only inside function components / other
hooks). Object returns need ^js or js-interop access under :advanced
compilation.
raw docstring

assign-refclj/s

assignRef — Assigns a value to a single ref (function or object ref) without a hook

https://mantine.dev/hooks/use-merged-ref/#assignref

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns the raw JS value (read object returns via interop — use ^js under :advanced).

assignRef — Assigns a value to a single ref (function or object ref) without a hook

https://mantine.dev/hooks/use-merged-ref/#assignref

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns
the raw JS value (read object returns via interop — use ^js under :advanced).
sourceraw docstring

clampclj/s

clamp — Clamps a number within inclusive lower and upper bounds

https://mantine.dev/guides/functions-reference/#clamp

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns the raw JS value (read object returns via interop — use ^js under :advanced).

clamp — Clamps a number within inclusive lower and upper bounds

https://mantine.dev/guides/functions-reference/#clamp

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns
the raw JS value (read object returns via interop — use ^js under :advanced).
sourceraw docstring

clamp-use-move-positionclj/s

clampUseMovePosition — Clamps a {x, y} position to the 0-1 range

https://mantine.dev/hooks/use-move/#clampusemoveposition

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns the raw JS value (read object returns via interop — use ^js under :advanced).

clampUseMovePosition — Clamps a {x, y} position to the 0-1 range

https://mantine.dev/hooks/use-move/#clampusemoveposition

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns
the raw JS value (read object returns via interop — use ^js under :advanced).
sourceraw docstring

format-maskclj/s

formatMask — Applies a mask to a raw value string

https://mantine.dev/hooks/use-mask/#formatmask

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns the raw JS value (read object returns via interop — use ^js under :advanced).

formatMask — Applies a mask to a raw value string

https://mantine.dev/hooks/use-mask/#formatmask

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns
the raw JS value (read object returns via interop — use ^js under :advanced).
sourceraw docstring

generate-patternclj/s

generatePattern — Generates a regex string for the HTML pattern attribute from a mask

https://mantine.dev/hooks/use-mask/#generatepattern

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns the raw JS value (read object returns via interop — use ^js under :advanced).

generatePattern — Generates a regex string for the HTML pattern attribute from a mask

https://mantine.dev/hooks/use-mask/#generatepattern

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns
the raw JS value (read object returns via interop — use ^js under :advanced).
sourceraw docstring

get-hotkey-handlerclj/s

getHotkeyHandler — Builds an onKeyDown handler from a list of hotkey/handler pairs

https://mantine.dev/hooks/use-hotkeys/#gethotkeyhandler

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns the raw JS value (read object returns via interop — use ^js under :advanced).

getHotkeyHandler — Builds an onKeyDown handler from a list of hotkey/handler pairs

https://mantine.dev/hooks/use-hotkeys/#gethotkeyhandler

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns
the raw JS value (read object returns via interop — use ^js under :advanced).
sourceraw docstring

is-mask-completeclj/s

isMaskComplete — Checks whether all required mask slots are filled

https://mantine.dev/hooks/use-mask/#ismaskcomplete

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns the raw JS value (read object returns via interop — use ^js under :advanced).

isMaskComplete — Checks whether all required mask slots are filled

https://mantine.dev/hooks/use-mask/#ismaskcomplete

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns
the raw JS value (read object returns via interop — use ^js under :advanced).
sourceraw docstring

lower-firstclj/s

lowerFirst — Lowercases the first character of a string

https://mantine.dev/guides/functions-reference/#lowerfirst

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns the raw JS value (read object returns via interop — use ^js under :advanced).

lowerFirst — Lowercases the first character of a string

https://mantine.dev/guides/functions-reference/#lowerfirst

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns
the raw JS value (read object returns via interop — use ^js under :advanced).
sourceraw docstring

merge-refsclj/s

mergeRefs — Merges multiple refs into one ref callback without a hook

https://mantine.dev/hooks/use-merged-ref/#mergerefs

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns the raw JS value (read object returns via interop — use ^js under :advanced).

mergeRefs — Merges multiple refs into one ref callback without a hook

https://mantine.dev/hooks/use-merged-ref/#mergerefs

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns
the raw JS value (read object returns via interop — use ^js under :advanced).
sourceraw docstring

random-idclj/s

randomId — Generates a random id with the mantine- prefix

https://mantine.dev/guides/functions-reference/#randomid

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns the raw JS value (read object returns via interop — use ^js under :advanced).

randomId — Generates a random id with the mantine- prefix

https://mantine.dev/guides/functions-reference/#randomid

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns
the raw JS value (read object returns via interop — use ^js under :advanced).
sourceraw docstring

rangeclj/s

range — Generates an array of numbers from start to end, inclusive

https://mantine.dev/guides/functions-reference/#range

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns the raw JS value (read object returns via interop — use ^js under :advanced).

range — Generates an array of numbers from start to end, inclusive

https://mantine.dev/guides/functions-reference/#range

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns
the raw JS value (read object returns via interop — use ^js under :advanced).
sourceraw docstring

read-local-storage-valueclj/s

readLocalStorageValue — Reads a value from localStorage without a hook

https://mantine.dev/hooks/use-local-storage/#readlocalstoragevalue

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns the raw JS value (read object returns via interop — use ^js under :advanced).

readLocalStorageValue — Reads a value from localStorage without a hook

https://mantine.dev/hooks/use-local-storage/#readlocalstoragevalue

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns
the raw JS value (read object returns via interop — use ^js under :advanced).
sourceraw docstring

read-session-storage-valueclj/s

readSessionStorageValue — Reads a value from sessionStorage without a hook

https://mantine.dev/hooks/use-local-storage/#readsessionstoragevalue

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns the raw JS value (read object returns via interop — use ^js under :advanced).

readSessionStorageValue — Reads a value from sessionStorage without a hook

https://mantine.dev/hooks/use-local-storage/#readsessionstoragevalue

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns
the raw JS value (read object returns via interop — use ^js under :advanced).
sourceraw docstring

shallow-equalclj/s

shallowEqual — Performs a shallow equality check of two values

https://mantine.dev/guides/functions-reference/#shallowequal

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns the raw JS value (read object returns via interop — use ^js under :advanced).

shallowEqual — Performs a shallow equality check of two values

https://mantine.dev/guides/functions-reference/#shallowequal

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns
the raw JS value (read object returns via interop — use ^js under :advanced).
sourceraw docstring

unformat-maskclj/s

unformatMask — Strips all mask literals from a masked value

https://mantine.dev/hooks/use-mask/#unformatmask

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns the raw JS value (read object returns via interop — use ^js under :advanced).

unformatMask — Strips all mask literals from a masked value

https://mantine.dev/hooks/use-mask/#unformatmask

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns
the raw JS value (read object returns via interop — use ^js under :advanced).
sourceraw docstring

upper-firstclj/s

upperFirst — Uppercases the first character of a string

https://mantine.dev/guides/functions-reference/#upperfirst

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns the raw JS value (read object returns via interop — use ^js under :advanced).

upperFirst — Uppercases the first character of a string

https://mantine.dev/guides/functions-reference/#upperfirst

Raw passthrough of the JS function: pass JS-shaped args (#js {...}); returns
the raw JS value (read object returns via interop — use ^js under :advanced).
sourceraw docstring

use-callback-refclj/s

useCallbackRef

https://mantine.dev/hooks/package

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useCallbackRef

https://mantine.dev/hooks/package

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-click-outsideclj/s

useClickOutside — Detects click and touch events outside of given element or elements group

https://mantine.dev/hooks/use-click-outside

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useClickOutside — Detects click and touch events outside of given element or elements group

https://mantine.dev/hooks/use-click-outside

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-clipboardclj/s

useClipboard — Copy to clipboard with feedback timeout

https://mantine.dev/hooks/use-clipboard

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useClipboard — Copy to clipboard with feedback timeout

https://mantine.dev/hooks/use-clipboard

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-collapseclj/s

useCollapse — Animate height from 0 to auto and vice versa

https://mantine.dev/hooks/use-collapse

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useCollapse — Animate height from 0 to auto and vice versa

https://mantine.dev/hooks/use-collapse

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-color-schemeclj/s

useColorScheme — Returns OS color scheme preference and subscribes to changes

https://mantine.dev/hooks/use-color-scheme

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useColorScheme — Returns OS color scheme preference and subscribes to changes

https://mantine.dev/hooks/use-color-scheme

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-counterclj/s

useCounter — Increments/decrements state within given boundaries

https://mantine.dev/hooks/use-counter

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useCounter — Increments/decrements state within given boundaries

https://mantine.dev/hooks/use-counter

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-debounced-callbackclj/s

useDebouncedCallback — Creates debounced version of the given function

https://mantine.dev/hooks/use-debounced-callback

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useDebouncedCallback — Creates debounced version of the given function

https://mantine.dev/hooks/use-debounced-callback

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-debounced-stateclj/s

useDebouncedState — Debounces value changes

https://mantine.dev/hooks/use-debounced-state

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useDebouncedState — Debounces value changes

https://mantine.dev/hooks/use-debounced-state

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-debounced-valueclj/s

useDebouncedValue — Debounces value changes

https://mantine.dev/hooks/use-debounced-value

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useDebouncedValue — Debounces value changes

https://mantine.dev/hooks/use-debounced-value

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-did-updateclj/s

useDidUpdate — Calls given function in useEffect when value changes, but not when the component mounts

https://mantine.dev/hooks/use-did-update

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useDidUpdate — Calls given function in useEffect when value changes, but not when the component mounts

https://mantine.dev/hooks/use-did-update

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-disclosureclj/s

useDisclosure — Manages boolean state, provides open, close and toggle handlers, usually used with modals, drawers and popovers

https://mantine.dev/hooks/use-disclosure

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useDisclosure — Manages boolean state, provides open, close and toggle handlers, usually used with modals, drawers and popovers

https://mantine.dev/hooks/use-disclosure

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-document-titleclj/s

useDocumentTitle — Sets document.title to given string

https://mantine.dev/hooks/use-document-title

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useDocumentTitle — Sets document.title to given string

https://mantine.dev/hooks/use-document-title

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-document-visibilityclj/s

useDocumentVisibility — Detects if the current tab is active

https://mantine.dev/hooks/use-document-visibility

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useDocumentVisibility — Detects if the current tab is active

https://mantine.dev/hooks/use-document-visibility

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-dragclj/s

useDrag — Handle pointer drag gestures with movement, velocity, direction and axis constraints

https://mantine.dev/hooks/use-drag

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useDrag — Handle pointer drag gestures with movement, velocity, direction and axis constraints

https://mantine.dev/hooks/use-drag

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-element-sizeclj/s

useElementSize — Returns element width and height and observes changes with ResizeObserver

https://mantine.dev/hooks/use-element-size

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useElementSize — Returns element width and height and observes changes with ResizeObserver

https://mantine.dev/hooks/use-element-size

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-event-listenerclj/s

useEventListener — Subscribes to events of a given element with a ref

https://mantine.dev/hooks/use-event-listener

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useEventListener — Subscribes to events of a given element with a ref

https://mantine.dev/hooks/use-event-listener

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-eye-dropperclj/s

useEyeDropper — Pick color from any pixel on the screen

https://mantine.dev/hooks/use-eye-dropper

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useEyeDropper — Pick color from any pixel on the screen

https://mantine.dev/hooks/use-eye-dropper

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-faviconclj/s

useFavicon — Changes favicon

https://mantine.dev/hooks/use-favicon

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useFavicon — Changes favicon

https://mantine.dev/hooks/use-favicon

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-fetchclj/s

useFetch — Fetch data with built-in loading and error states

https://mantine.dev/hooks/use-fetch

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useFetch — Fetch data with built-in loading and error states

https://mantine.dev/hooks/use-fetch

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-file-dialogclj/s

useFileDialog — Capture one or more files from the user

https://mantine.dev/hooks/use-file-dialog

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useFileDialog — Capture one or more files from the user

https://mantine.dev/hooks/use-file-dialog

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-floating-windowclj/s

useFloatingWindow — Create draggable floating area

https://mantine.dev/hooks/use-floating-window

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useFloatingWindow — Create draggable floating area

https://mantine.dev/hooks/use-floating-window

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-focus-returnclj/s

useFocusReturn — Captures last focused element on the page and returns focus to it once given condition is met

https://mantine.dev/hooks/use-focus-return

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useFocusReturn — Captures last focused element on the page and returns focus to it once given condition is met

https://mantine.dev/hooks/use-focus-return

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-focus-trapclj/s

useFocusTrap — Traps focus inside given element

https://mantine.dev/hooks/use-focus-trap

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useFocusTrap — Traps focus inside given element

https://mantine.dev/hooks/use-focus-trap

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-focus-withinclj/s

useFocusWithin — Detects if any element within the given element has focus

https://mantine.dev/hooks/use-focus-within

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useFocusWithin — Detects if any element within the given element has focus

https://mantine.dev/hooks/use-focus-within

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-force-updateclj/s

useForceUpdate — Forces the component to rerender without state change

https://mantine.dev/hooks/use-force-update

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useForceUpdate — Forces the component to rerender without state change

https://mantine.dev/hooks/use-force-update

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-fullscreen-documentclj/s

useFullscreenDocument

https://mantine.dev/hooks/use-fullscreen

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useFullscreenDocument

https://mantine.dev/hooks/use-fullscreen

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-fullscreen-elementclj/s

useFullscreenElement

https://mantine.dev/hooks/use-fullscreen

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useFullscreenElement

https://mantine.dev/hooks/use-fullscreen

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-hashclj/s

useHash — Get and set hash value in the URL

https://mantine.dev/hooks/use-hash

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useHash — Get and set hash value in the URL

https://mantine.dev/hooks/use-hash

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-headroomclj/s

useHeadroom — Create headers that are hidden after user scrolls past given distance

https://mantine.dev/hooks/use-headroom

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useHeadroom — Create headers that are hidden after user scrolls past given distance

https://mantine.dev/hooks/use-headroom

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-horizontal-collapseclj/s

useHorizontalCollapse

https://mantine.dev/hooks/use-collapse

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useHorizontalCollapse

https://mantine.dev/hooks/use-collapse

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-hotkeysclj/s

useHotkeys — Listen for keys combinations on document element

https://mantine.dev/hooks/use-hotkeys

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useHotkeys — Listen for keys combinations on document element

https://mantine.dev/hooks/use-hotkeys

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-hoverclj/s

useHover — Detects if given element is hovered

https://mantine.dev/hooks/use-hover

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useHover — Detects if given element is hovered

https://mantine.dev/hooks/use-hover

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-idclj/s

useId — Generates memoized random id

https://mantine.dev/hooks/use-id

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useId — Generates memoized random id

https://mantine.dev/hooks/use-id

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-idleclj/s

useIdle — Detects if the user does nothing on the page

https://mantine.dev/hooks/use-idle

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useIdle — Detects if the user does nothing on the page

https://mantine.dev/hooks/use-idle

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-in-viewportclj/s

useInViewport — Detects if element is visible in the viewport

https://mantine.dev/hooks/use-in-viewport

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useInViewport — Detects if element is visible in the viewport

https://mantine.dev/hooks/use-in-viewport

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-input-stateclj/s

useInputState — Manages input state

https://mantine.dev/hooks/use-input-state

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useInputState — Manages input state

https://mantine.dev/hooks/use-input-state

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-intersectionclj/s

useIntersection — Detects if given element is visible in the viewport or other element with IntersectionObserver

https://mantine.dev/hooks/use-intersection

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useIntersection — Detects if given element is visible in the viewport or other element with IntersectionObserver

https://mantine.dev/hooks/use-intersection

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-intervalclj/s

useInterval — Calls function with a given interval

https://mantine.dev/hooks/use-interval

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useInterval — Calls function with a given interval

https://mantine.dev/hooks/use-interval

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-is-first-renderclj/s

useIsFirstRender — Detects if the component is rendered for the first time

https://mantine.dev/hooks/use-is-first-render

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useIsFirstRender — Detects if the component is rendered for the first time

https://mantine.dev/hooks/use-is-first-render

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-isomorphic-effectclj/s

useIsomorphicEffect — useLayoutEffect replacement

https://mantine.dev/hooks/use-isomorphic-effect

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useIsomorphicEffect — useLayoutEffect replacement

https://mantine.dev/hooks/use-isomorphic-effect

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-list-stateclj/s

useListState — Manages array state

https://mantine.dev/hooks/use-list-state

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useListState — Manages array state

https://mantine.dev/hooks/use-list-state

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-local-storageclj/s

useLocalStorage — Exposes localStorage value as react state, syncs state across opened tabs

https://mantine.dev/hooks/use-local-storage

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useLocalStorage — Exposes localStorage value as react state, syncs state across opened tabs

https://mantine.dev/hooks/use-local-storage

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-loggerclj/s

useLogger — Logs given values to console when component renders

https://mantine.dev/hooks/use-logger

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useLogger — Logs given values to console when component renders

https://mantine.dev/hooks/use-logger

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-long-pressclj/s

useLongPress — Call function on long press

https://mantine.dev/hooks/use-long-press

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useLongPress — Call function on long press

https://mantine.dev/hooks/use-long-press

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-mapclj/s

useMap — Use Map as React state

https://mantine.dev/hooks/use-map

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useMap — Use Map as React state

https://mantine.dev/hooks/use-map

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-maskclj/s

useMask — Attach real-time input masking to any input element

https://mantine.dev/hooks/use-mask

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useMask — Attach real-time input masking to any input element

https://mantine.dev/hooks/use-mask

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-media-queryclj/s

useMediaQuery — Subscribes to media queries with window.matchMedia

https://mantine.dev/hooks/use-media-query

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useMediaQuery — Subscribes to media queries with window.matchMedia

https://mantine.dev/hooks/use-media-query

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-merged-refclj/s

useMergedRef — Merges multiple refs objects or functions into one ref callback

https://mantine.dev/hooks/use-merged-ref

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useMergedRef — Merges multiple refs objects or functions into one ref callback

https://mantine.dev/hooks/use-merged-ref

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-mountedclj/s

useMounted — Returns true if the component is mounted

https://mantine.dev/hooks/use-mounted

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useMounted — Returns true if the component is mounted

https://mantine.dev/hooks/use-mounted

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-mouseclj/s

useMouse — Tracks mouse position over the viewport or given element

https://mantine.dev/hooks/use-mouse

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useMouse — Tracks mouse position over the viewport or given element

https://mantine.dev/hooks/use-mouse

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-mouse-positionclj/s

useMousePosition

https://mantine.dev/hooks/use-mouse

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useMousePosition

https://mantine.dev/hooks/use-mouse

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-moveclj/s

useMove — Handles move behavior over given element, can be used to build custom sliders

https://mantine.dev/hooks/use-move

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useMove — Handles move behavior over given element, can be used to build custom sliders

https://mantine.dev/hooks/use-move

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-mutation-observerclj/s

useMutationObserver — Subscribe to changes being made to the DOM tree

https://mantine.dev/hooks/use-mutation-observer

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useMutationObserver — Subscribe to changes being made to the DOM tree

https://mantine.dev/hooks/use-mutation-observer

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-mutation-observer-targetclj/s

useMutationObserverTarget

https://mantine.dev/hooks/use-mutation-observer

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useMutationObserverTarget

https://mantine.dev/hooks/use-mutation-observer

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-networkclj/s

useNetwork — Returns current connection status

https://mantine.dev/hooks/use-network

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useNetwork — Returns current connection status

https://mantine.dev/hooks/use-network

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-orientationclj/s

useOrientation — Detects device orientation and subscribe to its changes

https://mantine.dev/hooks/use-orientation

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useOrientation — Detects device orientation and subscribe to its changes

https://mantine.dev/hooks/use-orientation

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-osclj/s

useOs — Detects user operating system

https://mantine.dev/hooks/use-os

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useOs — Detects user operating system

https://mantine.dev/hooks/use-os

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-page-leaveclj/s

usePageLeave — Calls given function when the mouse leaves the page

https://mantine.dev/hooks/use-page-leave

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

usePageLeave — Calls given function when the mouse leaves the page

https://mantine.dev/hooks/use-page-leave

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-paginationclj/s

usePagination — Manages pagination state

https://mantine.dev/hooks/use-pagination

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

usePagination — Manages pagination state

https://mantine.dev/hooks/use-pagination

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-previousclj/s

usePrevious — Returns previous value of given state

https://mantine.dev/hooks/use-previous

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

usePrevious — Returns previous value of given state

https://mantine.dev/hooks/use-previous

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-queueclj/s

useQueue — Manages queue of values

https://mantine.dev/hooks/use-queue

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useQueue — Manages queue of values

https://mantine.dev/hooks/use-queue

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-radial-moveclj/s

useRadialMove — Handles radial move behavior over given element, can be used to build custom radial sliders

https://mantine.dev/hooks/use-radial-move

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useRadialMove — Handles radial move behavior over given element, can be used to build custom radial sliders

https://mantine.dev/hooks/use-radial-move

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-reduced-motionclj/s

useReducedMotion — Detects if user prefers to reduce motion

https://mantine.dev/hooks/use-reduced-motion

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useReducedMotion — Detects if user prefers to reduce motion

https://mantine.dev/hooks/use-reduced-motion

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-resize-observerclj/s

useResizeObserver — Tracks element size and position changes with ResizeObserver

https://mantine.dev/hooks/use-resize-observer

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useResizeObserver — Tracks element size and position changes with ResizeObserver

https://mantine.dev/hooks/use-resize-observer

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-roving-indexclj/s

useRovingIndex — Implement roving tabindex keyboard navigation pattern

https://mantine.dev/hooks/use-roving-index

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useRovingIndex — Implement roving tabindex keyboard navigation pattern

https://mantine.dev/hooks/use-roving-index

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-scroll-directionclj/s

useScrollDirection — Detects whether the user is scrolling up or down

https://mantine.dev/hooks/use-scroll-direction

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useScrollDirection — Detects whether the user is scrolling up or down

https://mantine.dev/hooks/use-scroll-direction

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-scroll-into-viewclj/s

useScrollIntoView — Scrolls given element into view

https://mantine.dev/hooks/use-scroll-into-view

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useScrollIntoView — Scrolls given element into view

https://mantine.dev/hooks/use-scroll-into-view

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-scroll-spyclj/s

useScrollSpy — Track scroll position and detect which heading is currently in the viewport, can be used for table of contents

https://mantine.dev/hooks/use-scroll-spy

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useScrollSpy — Track scroll position and detect which heading is currently in the viewport, can be used for table of contents

https://mantine.dev/hooks/use-scroll-spy

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-scrollerclj/s

useScroller — Manages horizontal scroll behavior with scroll state tracking and drag-to-scroll functionality

https://mantine.dev/hooks/use-scroller

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useScroller — Manages horizontal scroll behavior with scroll state tracking and drag-to-scroll functionality

https://mantine.dev/hooks/use-scroller

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-selectionclj/s

useSelection — Manages selection state of given dataset

https://mantine.dev/hooks/use-selection

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useSelection — Manages selection state of given dataset

https://mantine.dev/hooks/use-selection

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-session-storageclj/s

useSessionStorage

https://mantine.dev/hooks/use-local-storage

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useSessionStorage

https://mantine.dev/hooks/use-local-storage

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-setclj/s

useSet — Use Set as React state

https://mantine.dev/hooks/use-set

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useSet — Use Set as React state

https://mantine.dev/hooks/use-set

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-set-stateclj/s

useSetState — Manages state with setState-like API

https://mantine.dev/hooks/use-set-state

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useSetState — Manages state with setState-like API

https://mantine.dev/hooks/use-set-state

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-shallow-effectclj/s

useShallowEffect — useEffect drop in replacement with dependencies shallow comparison

https://mantine.dev/hooks/use-shallow-effect

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useShallowEffect — useEffect drop in replacement with dependencies shallow comparison

https://mantine.dev/hooks/use-shallow-effect

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-splitterclj/s

useSplitter — Create resizable split pane layouts with keyboard support, collapsible panels and constraints

https://mantine.dev/hooks/use-splitter

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useSplitter — Create resizable split pane layouts with keyboard support, collapsible panels and constraints

https://mantine.dev/hooks/use-splitter

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-state-historyclj/s

useStateHistory — Move back/forward in state history

https://mantine.dev/hooks/use-state-history

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useStateHistory — Move back/forward in state history

https://mantine.dev/hooks/use-state-history

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-text-selectionclj/s

useTextSelection — Returns current selected text on the page

https://mantine.dev/hooks/use-text-selection

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useTextSelection — Returns current selected text on the page

https://mantine.dev/hooks/use-text-selection

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-throttled-callbackclj/s

useThrottledCallback — Throttles function calls

https://mantine.dev/hooks/use-throttled-callback

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useThrottledCallback — Throttles function calls

https://mantine.dev/hooks/use-throttled-callback

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-throttled-stateclj/s

useThrottledState — Throttles state changes

https://mantine.dev/hooks/use-throttled-state

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useThrottledState — Throttles state changes

https://mantine.dev/hooks/use-throttled-state

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-throttled-valueclj/s

useThrottledValue — Throttles value changes

https://mantine.dev/hooks/use-throttled-value

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useThrottledValue — Throttles value changes

https://mantine.dev/hooks/use-throttled-value

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-timeoutclj/s

useTimeout — Calls function in given timeout

https://mantine.dev/hooks/use-timeout

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useTimeout — Calls function in given timeout

https://mantine.dev/hooks/use-timeout

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-toggleclj/s

useToggle — Switches between given values

https://mantine.dev/hooks/use-toggle

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useToggle — Switches between given values

https://mantine.dev/hooks/use-toggle

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-uncontrolledclj/s

useUncontrolled — Manage state of both controlled and uncontrolled components

https://mantine.dev/hooks/use-uncontrolled

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useUncontrolled — Manage state of both controlled and uncontrolled components

https://mantine.dev/hooks/use-uncontrolled

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-validated-stateclj/s

useValidatedState — Manages state with validation

https://mantine.dev/hooks/use-validated-state

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useValidatedState — Manages state with validation

https://mantine.dev/hooks/use-validated-state

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-viewport-sizeclj/s

useViewportSize — Returns viewport width and height and subscribes to changes

https://mantine.dev/hooks/use-viewport-size

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useViewportSize — Returns viewport width and height and subscribes to changes

https://mantine.dev/hooks/use-viewport-size

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-window-eventclj/s

useWindowEvent — Adds event listener to the window object on component mount and removes the event when the component unmounts

https://mantine.dev/hooks/use-window-event

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useWindowEvent — Adds event listener to the window object on component mount and removes the event when the component unmounts

https://mantine.dev/hooks/use-window-event

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

use-window-scrollclj/s

useWindowScroll — Tracks window scroll position

https://mantine.dev/hooks/use-window-scroll

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns the raw JS value (tuples destructure positionally, object returns are read via interop — use ^js under :advanced).

useWindowScroll — Tracks window scroll position

https://mantine.dev/hooks/use-window-scroll

Raw passthrough of the JS hook: pass JS-shaped args (#js {...}); returns
the raw JS value (tuples destructure positionally, object returns are read
via interop — use ^js under :advanced).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close