Build powerful NFT experiences with Crossmint’s React components
Add the Crossmint Client SDK
Display NFT Collections
CrossmintNFTCollectionView
component lets you display NFTs from any wallet or collection:Use the CrossmintNFTCollectionView
component to display NFTs from multiple wallets across different chains:Prop | Description | Example |
---|---|---|
wallets | List of wallets whose NFTs you want to render | [{ chain: "solana", publicKey: "<SOLANA_WALLET_ADDRESS>" }] |
uiConfig (optional) | Customize colors, fonts, and layout | { colors: { background: "#cccccc" } } |
environment (optional) | Switch between production and staging | production (default) or staging |
Show NFT Details
CrossmintNFTDetail
component creates rich NFT detail views that work with any NFT:Prop | Description | Example |
---|---|---|
nft | NFT identifier as locator string | "ethereum:0x123...abc:1" |
uiConfig (optional) | Customize colors, fonts, and layout | { colors: { background: "#cccccc" } } |
environment (optional) | Switch between production and staging | "production" (default) or "staging" |
nft
prop also supports an object format:Customize the Look
uiConfig
prop: