Opensea NFT React Gallery with filtering, sorting and other features.
npm install opensea-nft-react-gallerycollection-metadata-url={your_url}
npm install opensea-nft-react-gallery
import { OpenSeaNFTReactGallery } from "opensea-nft-react-gallery";
function Example() {
return
}
`
Using with Next.js
index.tsx
`
const NFTGallery = dynamic(() => import("components/NFTGallery/NFTGallery"), {
ssr: false,
});
export default function Page() {
return ;
}
`
components/NFTGallery/NFTGallery.tsx
`
import React, { FC } from "react";
import { OpenSeaNFTReactGallery } from "opensea-nft-react-gallery";
const NFTGallery: FC = () => {
return (
);
};
export default Gallery;
`
$3
This project uses storybook: npm run storybook`