shadcn-extras
Getting Started
Introduction
Installation
Components
Avatar Group
Button
Chat
Code
Copy Button
Emoji Picker
New
Field Set
File Drop Zone
Image Cropper
IPv4Address Input
Keyboard Input
Language Switcher
Light Switch
Link
Modal
NLPDateInput
Password
New
Phone Input
PMCommand
Snippet
Star Rating
Tags Input
Terminal
Theme Selector
Table of Contents
Tree View
Window
Actions
Active
Shortcut
Hooks
IsMac
New
UseAutoScroll
UseBoolean
UseClipboard
UseFrecency
New
UsePromise
UseToc
Toggle Sidebar
Search
Ctrl + K
ModelContextProtocol
MCP logo
MCP
Toggle theme
UseFrecency
A hook to track and sort items based on their frequency of use.
Component Source
Preview
Code
Angular
Svelte
React
Vue
Installation
jsrepo
pnpm
npm
bun
yarn
Copy
jsrepo add hooks/use-frecency.svelte
Usage
Copy
UseClipboard
UsePromise
On This Page