简介
CKB Connect Wallet Kit is a React UI package, ckb-connect-wallet-kit on npm, built on @ckb-ccc/connector-react. Instead of one fixed widget, it gives you separate pieces for the connect button, wallet icon, balance and address, and you lay them out yourself. They share state through React context, so nothing is passed down by hand, and each piece can override the defaults for number formatting, address truncation and styling.
It can also show the avatar, display name and identifier from the did:ckb cells owned by the connected lock. This is read-only: creating or editing a DID is outside the kit. An optional dialog component replaces CCC's own connection popup.
You mount your own ccc.Provider, and the kit needs React 18. The components ship as Tailwind class names rather than a stylesheet, so a Tailwind v4 project has to point at the package with @source.


