🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@suiware/kit

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@suiware/kit

Opinionated React components and hooks for building Sui dApps.

latest
Source
npmnpm
Version
0.11.1
Version published
Weekly downloads
43
-54.26%
Maintainers
1
Weekly downloads
 
Created
Source

@suiware/kit

Opinionated React components and hooks for building Sui dApps.

Demo

Installation

pnpm add @suiware/kit @mysten/dapp-kit @mysten/sui @mysten/suins @mysten/wallet-standard @tanstack/react-query

Usage

1. Import styles once in a higher order component

import '@mysten/dapp-kit/dist/index.css'
import '@suiware/kit/main.css'

Like so:

import '@mysten/dapp-kit/dist/index.css'
import '@suiware/kit/main.css'

function App() {
  return (
    <div className="main">
      Hey there!
    </div>
  )
}

2. Wrap your main component into SuiProvider

import '@mysten/dapp-kit/dist/index.css'
import '@suiware/kit/main.css'
import { SuiProvider } from '@suiware/kit'

function App() {
  return (
    <SuiProvider>
      <div className="main">
        Hey there!
      </div>
    </SuiProvider>
  )
}

3. Use @suiware/kit components and hooks

import '@mysten/dapp-kit/dist/index.css'
import '@suiware/kit/main.css'
import { SuiProvider, Balance } from '@suiware/kit'

function App() {
  return (
    <SuiProvider>
      <div className="main">
        Hey there! Your SUI balance is <Balance />
      </div>
    </SuiProvider>
  )
}

API reference

Providers

  • SuiProvider

Components

Hooks

Keywords

sui

FAQs

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