BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/dedevs-ui/defi-nft-card

defi-nft-card

dedevs-ui/defi-nft-card
FreeComponent

Defi nft-card component

See it running

Open the demo on dedevs-ui

ui.dedevs.com/components/defi-nft-card
Open
This registry sends X-Frame-Options, so its page cannot be embedded here. The link is the same page the frame would have shown.

Install it

npx shadcn@latest add https://ui.dedevs.com/r/defi-nft-card.json

Source

packages/defi/nft-card.tsxui.dedevs.com/r/defi-nft-card.json
1"use client";
2
3import React from 'react';
4
5// TypeScript interface for the props of each NFT card
6export interface NftCardProps {
7 id: string;
8 imageUrl: string;
9 title: string;
10 highestBid: string;
11 price: string;
12 timeLeft?: string;
13 onFavorite?: () => void;
14 isFavorited?: boolean;
15 className?: string;
16}
17
18// SVG Icon Components
19const ClockIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => (
20 <svg {...props} fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
21 <circle cx="12" cy="12" r="10"></circle>
22 <polyline points="12,6 12,12 16,14"></polyline>
23 </svg>
24);
25
26const HeartIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => (
27 <svg {...props} fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
28 <path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>
29 </svg>
30);
31
32const EthIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => (
33 <svg {...props} viewBox="0 0 24 24" fill="currentColor">
34 <path d="M12 1.75L5.75 12.25L12 16L18.25 12.25L12 1.75Z" opacity="0.6"/>
35 <path d="M12 17.5L5.75 13.5L12 22.25L18.25 13.5L12 17.5Z"/>
36 </svg>
37);
38
39// The NFT Card Component
40export const NftCard: React.FC<NftCardProps> = ({
41 imageUrl,
42 title,
43 highestBid,
44 price,
45 timeLeft,
46 onFavorite,
47 isFavorited = false,
48 className = ""
49}) => {
50 return (
51 <div className={`relative group overflow-hidden rounded-2xl sm:rounded-3xl bg-white dark:bg-black border border-gray-200 dark:border-gray-800 shadow-lg shadow-gray-200/50 dark:shadow-black/20 transition-all duration-300 hover:shadow-xl hover:shadow-gray-300/50 dark:hover:shadow-black/40 hover:-translate-y-1 hover:border-gray-300 dark:hover:border-gray-700 w-full ${className}`}>
52 <div className="relative p-2 sm:p-2.5">
53 {/* Card Image Section */}
54 <div className="relative">
55 <img
56 src={imageUrl}
57 alt={title}
58 className="w-full h-auto rounded-xl sm:rounded-2xl object-cover aspect-square"
59 />
60
61 {/* Time Left Overlay */}
62 {timeLeft && (
63// … truncated

Files it writes

  • packages/defi/nft-card.tsx

Facts

Registry
dedevs-ui
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-12
Last confirmed
today

Go to the source

Docs on dedevs-ui ui.dedevs.com DeDevsClub/dedevs-ui on GitHub Raw registry item This item as JSON

More from dedevs-ui

All 30 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
ai-branchai-branchdedevs-uiComponentsFreeno deps
ai-conversationai-conversationdedevs-uiComponentsFreeno deps
ai-inputai-inputdedevs-uiComponentsFreeno deps
ai-messageai-messagededevs-uiComponentsFreeno deps
ai-reasoningai-reasoningdedevs-uiComponentsFreeno deps
ai-responseai-responsededevs-uiComponentsFreeno deps
ai-serverai-serverdedevs-uiComponentsFreeno deps
ai-simpleai-simplededevs-uiComponentsFreeno deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex