ProPress
Day Night Hero
One place, sold differently by day and by night.
When to use it
- A campaign hero with different offers by day and by night, like an early bird discount and late-night free shipping
- A site with dark mode where the hero should actually turn to night, not just get darker
- Cafe, food, night market or live stream brands whose story is tied to the time of day
Watch out
- If you pass your own images, keep the day and night versions in the same composition or the crossfade reads as a swap
- clock mode uses the visitor's local time; validate the real offer window on the server
- The night accent is a warm gold; check that your brand color still has enough contrast on deep blue-gray
Let your agent add it
One copy holds the install command, when to use it, the props and the design rules. Paste it into Claude Code, Cursor or Codex.
This is a Pro block
One license unlocks every Pro block, now and in the future.
One-time $129 with a year of updates, or $19 a month. Use it in unlimited personal and client projects; installed blocks stay yours.
Install with your license
- 1. Add the SunUI Pro registry to
components.json.components.json{ "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } - 2. Put your license key in
.env.local.$ SUNUI_LICENSE_KEY=your-license-key - 3. Install the block.
$ npx shadcn@latest add @sunui-pro/day-night-hero
Similar blocks
- Pro
- Pro
- Pro
- Pro
- Pro





