@aurthle/react-hooks
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Aurthle logo

@aurthle/react-hooks

Modern & reusable React hooks and utilities by Aurthle.

DocumentationCode SourceAurthle.com

MIT License Follow @aurthle


✨ About

@aurthle/react-hooks is a clean, lightweight and modern library of React hooks and UI utilities.

Built for speed, simplicity and reusability — powered by Aurthle.

📍 Live docs & examples: hub.aurthle.one/hooks/react-hooks


📦 Installation

npm install @aurthle/react-hooks
# or
yarn add @aurthle/react-hooks
# or
pnpm add @aurthle/react-hooks

🚀 Quick Example

import { useHover } from '@aurthle/react-hooks';

function Button() {
  const { hovered, ref } = useHover();
  return <button ref={ref}>{hovered ? '👀 Hovered' : 'Hover me'}</button>;
}
import { For } from '@aurthle/react-hooks';

const list = ['Aurthle', 'Rocks'];

<For each={list} render={(item, i) => <p key={i}>{item}</p>} />;

🧠 Hooks Included

  • useHover()
  • useClipboard()
  • useClickOutside()
  • useLocalStorage()
  • useWindowSize()
  • useNetworkStatus()
  • useTitle()
  • useIdle()
  • ...and more

📘 See full list here: hub.aurthle.one/hooks/react-hooks


🧩 Utilities

  • <For />
  • <If />
  • <Show />
  • <Switch />
  • <Class />
  • <RenderAfter />

🧪 Run Tests

npm run test

🤝 Contribute

Want to improve or add a hook? You're welcome!


🪪 License

MIT — Free for commercial and personal use.


📚 Ressources


👨‍💻 Maintainer


🛠 Maintenance

Pour signaler un bug ou suggérer une amélioration, merci d’ouvrir une issue sur GitHub. Les contributions directes via PR sont désactivées pour ce module.


Aurthle Avatar
Maintenu par l’équipe Aurthle

Readme

Keywords

none

Package Sidebar

Install

npm i @aurthle/react-hooks

Weekly Downloads

12

Version

1.0.4

License

MIT

Unpacked Size

145 kB

Total Files

7

Last publish

Collaborators

  • redoragoooo