Card

Glass Digital Clock

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme
Glass Digital Clock — A digital clock on a frosted-glass card over a shifting gradient and rising sparks: time and date in the chosen language and time zone.

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.club/c/card-173?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

A digital clock on a frosted-glass card over a shifting gradient and rising sparks: time and date in the chosen language and time zone.

React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.

What you can change

  • title — the caption under the clock
  • locale and timeZone
  • showSeconds and particles

How to use

<Card173 title="London" locale="en-GB" timeZone="Europe/London" />

A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.

Settings

Caption
title · default: Studio time
Seconds
showSeconds · default: on
Sparks
particles · default: on
Accent
accent · default: theme colour

Similar style and content

Options in the same category with shared tags or a similar content structure.

  • Timed Alert Card

    A system notification with a severity and a timestamp: "12 min ago" sits inside <time datetime>, so machines still read an exact date.

  • Dashed Rule Divider

    A dashed divider with a controllable pattern: dash length and gap are set as numbers, so the same dash repeats identically across the layout.

FAQ

How do I add Glass Digital Clock with Cursor or Claude Code?
Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
What does Glass Digital Clock depend on?
No npm packages beyond React and Tailwind CSS.
What can I change in Glass Digital Clock?
Adapt: title — the caption under the clock; locale and timeZone; showSeconds and particles. Keep as installed: Intl.DateTimeFormat for time and date — language and zone stay props; dashes until hydration — otherwise server and browser time disagree; deterministic spark positions instead of Math.random().
Is Glass Digital Clock free?
The preview is open to everyone; the source is available with a PRO subscription.

For developers

npx shadcn@latest add https://vibeui.club/r/pro/card-173.json

This command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options

Technical notes

Self-contained: one file, no dependencies, palette in --vibeui-card-173-*. A client component: "use client" is there for useEffect with setInterval. Time and date are formatted with Intl.DateTimeFormat by locale and timeZone. The server does not know the time: the first render shows dashes and fills in after hydration. Spark positions are deterministic rather than Math.random() so the server and client markup match.

Tags

  • clock
  • time
  • glassmorphism
  • widget
  • date
  • timezone
  • gradient
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…