@sergiogc9/react-ui-utils
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

React UI Utils

This package exports some utilities to be used together with the other React UI packages.

See more info about the library HERE.

ℹ️ This library has been implemented by me and for me, hence it is highly opinionated.

Usage

Installation

Install the package from npm or github packages:

yarn add -S @sergiogc9/react-ui-utils

Documentation

This package basically exports some utilities as util components or custom hooks.

Exported components:

  • Responsive: Component to show or hide its children depending on the screen width and the defined breakpoints.

Exported custom hooks:

  • useBackdrop: Custom hook that returns the current breakpoint.
  • useScreenSize: Custom hook that returns the current breakpoint.

Package Sidebar

Install

npm i @sergiogc9/react-ui-utils

Weekly Downloads

1

Version

1.3.0

License

UNLICENSED

Unpacked Size

21 kB

Total Files

22

Last publish

Collaborators

  • sergiogc9