Clock UI: a JavaScript library for rendering animated analog clock components in web applications.
It works with vanilla JavaScript, React, and Vue using a consistent API across frameworks.
Key features:
- Real-time updates with optional smooth sweep animations
- Built-in timezone support using IANA identifiers
- Extensive customization through CSS custom properties
- TypeScript definitions for type safety
- Zero external dependencies
The library handles both static time displays and live updating clocks with automatic cleanup and lifecycle management.
๐ Blog Post
๐ GitHub Repo
๐ Live Demo
Top comments (0)