Skip to main content
VelinStyle v0.9.0
⌂ Home
  1. Docs
  2. Components
  3. Countdown

Countdown

The <velin-countdown> Web Component shows a live timer toward an ISO datetime target. Ideal for launches, event pages, and maintenance windows.

Basic

<velin-countdown datetime="2030-01-01T00:00:00Z"></velin-countdown>

Attributes

AttributeDefaultNotes
datetimeISO 8601 target (required)
show-daystrueSet false to hide the days segment
sizesm or lg
label-dayslabel-secondsDays/Hours/Min/SecSegment captions

Events

velin-countdown-end fires once when the timer reaches zero.

Accessibility