Louis Studios

Daylight Dial

Buttons 1

About

A weighty rotary theme knob: turn it and the glow travels round the scale while a pixel moon rebuilds itself as a pixel sun. More like this, plus a designer your coding agent can use, at studios.lou15.com/?ref=21st

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Daylight Dial to your project and fits it to your theme.

Code

How Daylight Dial is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import * as React from "react";
import { DaylightDial } from "@/components/ui/daylight-dial";

/** The knob turns night to day and back by itself; grab it and turn it, or click it. */
export default function DaylightDialDemo() {
  return (
    <main className="relative flex h-screen min-h-[340px] w-full items-center justify-center overflow-hidden" style={{ backgroundColor: "#131219" }}>
      <DaylightDial autoplay style={{ width: "100%", height: "100%" }} />
    </main>
  );
}

More by Louis Studios

View all
  • Warp Carousel

    Warp Carousel

    1.4K
  • Peak Chart

    Peak Chart

    1.1K
  • Dot Tiles

    Dot Tiles

    195
  • Glow Rocker

    Glow Rocker

    187
  • Chrome Arcs

    Chrome Arcs

    179
  • Cover Flow

    Cover Flow

    175
  • Market Card

    Market Card

    146
  • Chapter Player

    Chapter Player

    140

More in Buttons

View all
  • Button

    Button

    20
  • Button

    Button

    3
  • Button Group

    Button Group

    18
  • Button

    Button

    149
  • Icon Label Subtext Button

    Icon Label Subtext Button

    69
  • Button

    Button

    9
  • Button

    Button

    37
  • Texture Button

    Texture Button

    113