• Get Started
    • Introduction
    • Installation
    • Theming
  • Layout
    • Drawer
    • Footer
    • Hero
    • Indicator
    • Join
    • Stack
    • Divider
  • Navigation
    • Breadcrumbs
    • Dock
    • Menu
    • Link
    • Navbar
    • Pagination
    • Steps
    • Tabs
  • Data Display
    • Accordion
    • Avatar
    • Badge
    • Calendar
    • Card
    • Carousel
    • Chat
    • Collapse
    • Countdown
    • Diff
    • Kbd
    • List
    • Mask
    • Mockup
    • Stat
    • Table
    • Timeline
  • Feedback
    • Alert
    • Loading
    • Modal
    • Progress
    • Skeleton
    • Status
    • Toast
    • Tooltip
  • Forms
    • Button
    • Checkbox
    • Dropdown
    • File Input
    • Fieldset
    • Filter
    • Input
    • Label
    • Radio
    • Range
    • Rating
    • Select
    • Toggle
    • Textarea
  • Effects
    • Hover 3D Card
    • Hover Gallery
    • Speed Dial
    • Swap
    • Text Rotate
    • Theme Controller
jsx daisyUI

    No recently viewed docs

  • Get Started
    • Introduction
    • Installation
    • Theming
  • Layout
    • Drawer
    • Footer
    • Hero
    • Indicator
    • Join
    • Stack
    • Divider
  • Navigation
    • Breadcrumbs
    • Dock
    • Menu
    • Link
    • Navbar
    • Pagination
    • Steps
    • Tabs
  • Data Display
    • Accordion
    • Avatar
    • Badge
    • Calendar
    • Card
    • Carousel
    • Chat
    • Collapse
    • Countdown
    • Diff
    • Kbd
    • List
    • Mask
    • Mockup
    • Stat
    • Table
    • Timeline
  • Feedback
    • Alert
    • Loading
    • Modal
    • Progress
    • Skeleton
    • Status
    • Toast
    • Tooltip
  • Forms
    • Button
    • Checkbox
    • Dropdown
    • File Input
    • Fieldset
    • Filter
    • Input
    • Label
    • Radio
    • Range
    • Rating
    • Select
    • Toggle
    • Textarea
  • Effects
    • Hover 3D Card
    • Hover Gallery
    • Speed Dial
    • Swap
    • Text Rotate
    • Theme Controller

© 2026 jsx-daisyui. All rights reserved. | Built with DaisyUI and React.

Countdown

Countdown displays an animated number that counts down to zero.

Installation
npx jsx-daisyui add countdown

Simple

countdown-simple
59

Clock

countdown-clock
1:30:0

Timer

countdown-timer

Timer Boxed

countdown-timer-boxed

Ecommerce

countdown-ecommerce

Props

Countdown.Value

PropTypeDefaultDescription
valuenumber-The number to display.
digits2 | 3-Minimum digits to display (pads with leading zeros).
aria-labelstring-Accessible label for the countdown value.

Countdown.Clock

PropTypeDefaultDescription
hoursnumber0Hours value.
minutesnumber0Minutes value.
secondsnumber0Seconds value.
colonsbooleanfalseUses colons (10:24:59) instead of h/m/s suffixes.
sizestring'text-2xl'Tailwind text size class.
classNamestring-Custom CSS class.

Countdown.Timer

PropTypeDefaultDescription
daysnumber-Days value (hides if omitted).
hoursnumber-Hours value (hides if omitted).
minutesnumber-Minutes value (hides if omitted).
secondsnumber-Seconds value (hides if omitted).
boxedbooleanfalseWraps each unit in a styled background box.
sizestring'text-5xl'Tailwind text size class.
classNamestring-Custom CSS class.

useCountdown

PropTypeDefaultDescription
initialnumber-Starting value. Wraps back to this value after reaching zero.
intervalnumber1000Tick interval in milliseconds.
3days
12hours
45min
0sec
3days
12hours
45min
0sec
👟
−40%

Air Max Sneaker

€59.99€99.99
Deal ends in2h 0m 0s