Embedding NFTs

info

This page contains info about a 3rd-party library that works equally well with Foundation NFTs and those from other NFT platforms. More info here: nfte.app

npm package#

(For websites and apps built with React)

Install with npm i @nfte/react or yarn add @nfte/react

import { NFTE } from '@nfte/react';
<NFTE contract="0x..." tokenId="1"/>

HTML / JS snippet#

<div className="nft-embed"></div>
<script
async
src="https://nfte.app/api/embed.js?contract=CONTRACT_ADDRESS&tokenId=TOKEN_ID">
</script>