Led Time Panel

A flexible, customizable LED-style display for clocks, countdowns, and random numbers

Live Demos

See the plugin in action with different configurations:

Digital Clock

Countdown Timer

Random Number

Configuration Options

Customize the display with these parameters:

Parameter Description Default Possible Values
id Container element ID "ledtime" Any valid HTML element ID
type Display type "time" "time", "countdown", "random"
format Time/number format "hh:mm:ss" "hh:mm:ss", "ddd:hh:mm:ss", "mm:ss", custom combinations
color LED segment color "#fff" Any valid CSS color
bgcolor Background color "#000" Any valid CSS color
size Segment size in pixels 16 Positive integers
rounded Segment corner rounding 4 0-10 (pixels)
font Digit font style "font3" "font1", "font2", "font3"
timer Target date for countdown (required for countdown type) N/A "YYYY:MM:DD:HH:MM:SS"
num Range for random numbers "0,9999999" "min,max" or single number

Quick Start

Add the Led Time Panel to your page in just a few steps:

  1. Include the plugin script:
    <script src="time_led.min.js"></script>
  2. Add a container element:
    <div id="led-display"></div>
  3. Initialize with JavaScript:
    const config = {
        id: "led-display",
        type: "time",
        color: "#FF0000",
        size: 14
    };
    new Led(config);