New hooks and components
New use-hotkeys hook allows you to subscribe to multiple hotkeys with single hook (document element) or function (any other element):
New use-intersection hook allows you to get information
about intersection of given element with its scroll container or document.body
:
Obscured
Get and set hash in url with new use-hash hook:
Current hash:
Other new features
- Highlight component now supports multiple substrings highlight and highlighting of the same string multiple times
- Tabs component now supports vertical orientation
- Input and all other components that use it (Select, Textarea, TextInput, Autocomplete, etc.) now supports headless variant without Mantine styles to help you create your own custom input styles with Styles API