# Christmas Tree Loader – Progress Bar Loading Screen with Glass Tubes

> Christmas Tree Loader for React and Tailwind CSS (shadcn/ui): a loading screen where stacked progress bars form a Christmas tree and fill with ruby and gold light from the trunk to the top. It is built to make waiting feel like part of the season. Each bar is a photographed glass tube with brass caps, stretched to any length with nine-slice scaling; as the value rises the tubes light up one after another from the centre outward, a percentage counts up beside a message that changes by stage, and at 100 the star switches on and snow starts to fall. Pass a value from 0 to 100, or leave it out for an endless loop. Choose the full or compact size, mixed, gold or ruby tubes, your own messages and row count, turn the snowfall off, and listen for onComplete. It exposes progressbar semantics with live status text and respects reduced motion. Use it for holiday checkout flows, order confirmations, app splash screens and seasonal landing pages. Requires React only, with no animation library.

- Author: [DHxWhy](https://21st.dev/@dhxwhy)
- License: mit
- Tags: Progress, Loading, Loader
- Live preview: https://21st.dev/@dhxwhy/components/christmas-tree-loader

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/dhxwhy/christmas-tree-loader?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/progress.md
