Borrow UI quickstart
Want to see this custom-composition approach in a complete application? The official Borrow SDK Example integrates the SDK with the individual registry components shown below. It does not use the all-in-one
BorrowApp.Recommended: complete flow
wallet only when your application already manages wallet connectivity. Continue below only when you want to compose the atomic components into a custom layout.
Custom composition
Install the flow
borrow-provider, borrow-core, and the required shadcn primitives are installed automatically.
Compose the page
walletProvider, openLoan, and openWorkflow are application integrations. Connect them to your wallet adapter and router.
What happens
BorrowProviderrestores or starts the SDK session.LoanComposercalculates collateral and requests quotes.AvailableOffersexecutes the selected quote.ActiveBorrowFlowshows the Bitcoin deposit and workflow status.UserLoansloads active, pending, and historical loans for the connected wallet.WalletWithdrawalmoves supported platform-wallet assets to an EVM address.