New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@gluestack-ui/utils

Package Overview
Dependencies
Maintainers
18
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gluestack-ui/utils

Utility functions and hooks for gluestack-ui

npmnpm
Version
3.0.12
Version published
Weekly downloads
159K
24.47%
Maintainers
18
Weekly downloads
 
Created
Source

@gluestack-ui/utils

A collection of utility functions and hooks for gluestack-ui components.

Installation

npm install @gluestack-ui/utils
# or
yarn add @gluestack-ui/utils

Features

  • Common utility functions for React and React Native
  • Custom React hooks
  • NativeWind utilities
  • ARIA accessibility helpers

Usage

import {
  useControllableState,
  useKeyboardDismissable,
} from '@gluestack-ui/utils/hooks';
import { mergeRefs, stableHash } from '@gluestack-ui/utils/common';

// Use hooks
const [value, setValue] = useControllableState({
  defaultValue: 'initial',
});

// Use utility functions
const combinedRef = mergeRefs(ref1, ref2);

License

MIT

Keywords

react

FAQs

Package last updated on 04 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts