thirdweb's NFT Drop lazy mints your NFT and makes it available to be claimed by your users.
When you create a drop inside your NFT Drop contract, the NFT is not minted yet. We prepare everything for your audience, so that they can mint it. The user who claims an NFT mints it, and transfers it to their wallet.
import { Web3Button } from "@thirdweb-dev/react";export default function NFTDrop() {return (<Web3ButtoncontractAddress={"{{contract-address}}"}action={(contract) => contract.erc721.claim(1)}onSuccess={() => alert("Claimed NFT!")}onError={(err) => alert(err)}>Claim NFT</Web3Button>);}