Shows a loading state only when work is actually slow, then keeps it up long enough that it never flickers.
npx shadcn@latest add @hextaui/use-delayed-loading
use-delayed-loading