StealThis .dev
Pages Medium

Web3 — NFT Detail (traits · history · buy)

A glassy, dark-mode NFT detail page for a fictional marketplace: a CSS-drawn generative artwork with fullscreen zoom, favorite and share actions, a verified collection link, owner chip, and a gradient-bordered price panel with Buy now, Make offer, and a live auction countdown. Includes a traits grid with rarity bars and hover tooltips, plus Properties, Offers, and Activity tabs with an animated price-history chart, sales table, and a confirm sheet with fee breakdown and signing risk warning.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

NFT Detail (traits · history · buy)

A full NFT detail page for the fictional Nebula Drifters collection on Lumen Chain. The left column holds a pure-CSS generative artwork — a drifting violet orb with spinning rings, a comet streak, and a perspective grid — wrapped in a gradient-border frame with a fullscreen zoom toggle, favorite counter, share (copies a mock link), and metadata refresh. A details card lists the contract, token standard, and royalty in monospace.

The right column carries the verified collection link, rarity rank, owner chip, and a glassy price panel: current price in NOVA with a fiat estimate, top offer, and a live auction countdown that turns red when under fifteen minutes and self-extends with an anti-snipe toast at zero. Below it, a seven-trait grid renders rarity bars and floor-price tooltips on hover or keyboard focus, with a legendary trait highlighted in amber.

Tabs switch between Properties, Offers (open bids table), and Activity — an SVG price-history chart that draws itself in plus a sales/transfer table with event pills. Buy now and Make offer open a bottom confirm sheet with a live fee breakdown (marketplace fee, royalty, gas), an editable offer input, an explicit risk warning to verify the contract, a focus trap, and a simulated signing spinner that resolves into a success toast with a fake tx hash.

UI-only simulation — no real wallet, RPC, or on-chain calls. Mock data, fictional tokens.