Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@yarnpkg/libui

Package Overview
Dependencies
Maintainers
5
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yarnpkg/libui

latest
Source
npmnpm
Version
3.0.2
Version published
Maintainers
5
Created
Source

@yarnpkg/libui

This library is used to power parts of the UI in our interactive plugins.

Components

Application

A component that setups the state.

<ScrollableItems size={number} children={ReactEle}/>

A scrollable container which will display at most 2 * size + 1 lines of result on screen and will watch the up and down keys to scroll.

Note: The current implementation only supports children with an explicit key parameter and a height of exactly 1 row.

Hooks

useListItems

A key listener that watches for two keys (configurable through minus and plus) and triggers the set callback when either of them is pressed.

FAQs

Package last updated on 01 Mar 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