Socket
Book a DemoInstallSign in
Socket

@huma-finance/widgets

Package Overview
Dependencies
Maintainers
3
Versions
392
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@huma-finance/widgets

The `@huma-finance/widgets` package is an [npm package](https://www.npmjs.com/package/@huma-finance/widgets) of React components used to provide subsets of the Huma Finance Protocol functionality in a small user interface element for:

0.0.77
latest
Source
npmnpm
Version published
Weekly downloads
7
-93.64%
Maintainers
3
Weekly downloads
 
Created
Source

Huma Widgets

The @huma-finance/widgets package is an npm package of React components used to provide subsets of the Huma Finance Protocol functionality in a small user interface element for:

  • Invoice factoring borrow and payment
  • Credit line borrow and payment
  • Lend supply and withdraw
  • Superfluid stream borrow

Installation

Install the widgets library via npm or yarn.

yarn add @huma-finance/widgets
npm i --save @huma-finance/widgets

Adding Widget to Your App

import { InvoiceFactoringBorrowWidget } from '@huma-finance/widgets'

export const InvoiceFactoringBorrowPage = () => {
  return (
    <InvoiceFactoringBorrowWidget
      poolName='pool name'
      poolType='pool type'
      tokenId={tokenId}
      handleClose={handleClose}
    />
  )
}

Documentation

For documentation on the different widgets offered please refer to the API

Example Usage

To see how the Huma widgets can be used, feel free to use our interactive example under src/cosmos.

  • Run yarn cosmos
  • Open up localhost:8000 in your browser and choose the fixture to test

FAQs

Package last updated on 14 Jul 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.