Murphy Logo Murphy
Metaplex

Create Collection Form

A Solana NFT collection creation component with shadcn UI styling

Create Collection Form

Create Collection
Create a new NFT collection on Solana

Loading...

Installation

Install dependencies

Start by installing required Solana dependencies

pnpm add @solana/web3.js @solana/wallet-adapter-react @metaplex-foundation/mpl-token-metadata @metaplex-foundation/umi @metaplex-foundation/umi-bundle-defaults @metaplex-foundation/umi-signer-wallet-adapters

Add Wallet Provider

Make sure you have added the Wallet Provider to your application. If not, follow the steps in the Connect Wallet Button guide first.

Add Create Collection Form

pnpm dlx shadcn@canary add https://www.murphyai.dev/r/create-collection-form.json

Basic Usage

import { CreateCollectionForm } from "@/components/ui/murphy/create-collection-form";
export default function MyPage() {
  return (
    <div>
      <h1 className="text-xl font-bold mb-2">Create NFT Collection</h1>
      <CreateCollectionForm />
    </div>
  );
}

On this page