@kuzenbo/hooks
v0.0.5
Published
Standalone React hooks for Kuzenbo.
Maintainers
Readme
@kuzenbo/hooks
Standalone React hooks for Kuzenbo and custom applications.
✅ Status: Public
✨ What This Package Solves
@kuzenbo/hooks provides focused React hooks that work independently of UI components and can be adopted in any React app.
📦 Install
bun add @kuzenbo/hooksnpm install @kuzenbo/hookspnpm add @kuzenbo/hooksyarn add @kuzenbo/hooks✅ Requirements
- React 19+
🎨 Theme Pairing
@kuzenbo/hooks can be used standalone.
When combined with Kuzenbo UI packages (core, ai, charts, date, notifications, datatable, code, tiptap), install @kuzenbo/theme as well.
⚡ Quick Example
"use client";
import { useIsMobile } from "@kuzenbo/hooks/use-mobile";
export function HookQuickExample() {
const isMobile = useIsMobile();
return isMobile ? (
<div data-layout="mobile">Mobile layout</div>
) : (
<div data-layout="desktop">Desktop layout</div>
);
}🧱 Key Surface
useClipboarduseFullscreenuseIsMobileuseIsomorphicEffect
📚 Docs And Playgrounds
🧭 Compatibility And Status
@kuzenbo/hooks is public and stable for standalone usage.
