| title | Sui dApp Kit | |||||||
|---|---|---|---|---|---|---|---|---|
| description | Build Sui apps with framework-agnostic core and React bindings. | |||||||
| keywords |
|
The Sui dApp Kit provides tools and components for building decentralized applications on the Sui network. The SDK consists of two packages that work together:
Framework-agnostic core that works with vanilla JS, React, Vue, or any framework:
- Action-based API for direct wallet operations
- Web Components for universal UI elements
- Automatic state management with nanostores
- Smaller bundle size and improved performance
React bindings for the core package:
- React hooks for state and actions
- React component wrappers for Web Components
- Seamless integration with React applications
Choose the installation method based on your framework:
npm i @mysten/dapp-kit-react @mysten/sui
npm i @mysten/dapp-kit-core @mysten/sui
Check the framework-specific guides:
See the Legacy dApp Kit documentation.
The original React-focused version of the dApp Kit. This package provides:
- React hooks for wallet connection and blockchain queries
- Pre-built UI components with Radix UI
- Integration with TanStack React Query
- Comprehensive wallet state management