BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/thegridcn/derez-timer

Derez Timer

thegridcn/derez-timer
FreeComponent

thegridcn publishes no description for this item.

See it running

Open the demo on thegridcn

thegridcn.com/r/derez-timer
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://thegridcn.com/r/derez-timer.json

Source

src/components/thegridcn/derez-timer.tsxthegridcn.com/r/derez-timer.json
1"use client";
2
3import type * as React from "react";
4import { cn } from "@/lib/utils";
5
6interface DerezTimerProps extends React.HTMLAttributes<HTMLDivElement> {
7 milliseconds?: number;
8 minutes: number;
9 seconds: number;
10}
11
12export function DerezTimer({
13 minutes,
14 seconds,
15 milliseconds = 0,
16 className,
17 ...props
18}: DerezTimerProps) {
19 return (
20 <div
21 data-slot="tron-derez-timer"
22 className={cn(
23 "inline-flex flex-col items-end rounded border border-primary/30 bg-primary/10 px-4 py-2",
24 className
25 )}
26 {...props}
27 >
28 <div className="text-[10px] text-primary/70 uppercase tracking-widest">
29 TIME TO DE-RESOLUTION
30 </div>
31 <div className="flex items-baseline">
32 <span className="glow-text font-bold font-mono text-4xl text-primary tracking-wider">
33 {String(minutes).padStart(2, "0")}:{String(seconds).padStart(2, "0")}
34 </span>
35 {milliseconds > 0 && (
36 <span className="ml-1 font-mono text-lg text-primary/70">
37 -{String(milliseconds).padStart(2, "0")}
38 </span>
39 )}
40 </div>
41 </div>
42 );
43}

Files it writes

  • src/components/thegridcn/derez-timer.tsx

Facts

Registry
thegridcn
Type
registry:component
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-02
Last confirmed
today

Go to the source

Docs on thegridcn thegridcn.com Raw registry item This item as JSON

More from thegridcn

All 139 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AccordionaccordionthegridcnComponentsFree2 deps
Agent Avataragent-avatarthegridcnComponentsFreeno deps
AlertalertthegridcnComponentsFree1 dep
Alert Dialogalert-dialogthegridcnComponentsFree1 dep
Announcement Barannouncement-barthegridcnComponentsFreeno deps
Anomaly Banneranomaly-bannerthegridcnComponentsFreeno deps
Arrival Panelarrival-panelthegridcnComponentsFreeno deps
Aspect Ratioaspect-ratiothegridcnComponentsFree1 dep
BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex