Skip to content

    Browse components

    Morning Widget

    A squircle card on a drifting sunrise mesh that greets you by name, rolls a live clock digit by digit and rotates motivational lines.

    Credit: Calamansi UI (MIT)

    Open
    Customize

    calamansi
    white
    slate
    citrus
    12h
    24h

    Installation

    npx shadcn@latest add @glint-ui/morning-widget

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/morning-widget.json

    Usage

    import { MorningWidget } from "@/components/ui/morning-widget";
    
    <MorningWidget name="Gab" variant="calamansi" />

    Props

    PropTypeDefaultDescription
    namestring"Friend"Name the greeting is addressed to.
    variant"calamansi" | "white" | "slate" | "citrus""calamansi"Mesh palette.
    showClockbooleantrueShow the live clock.
    timeFormat"12h" | "24h""12h"Clock format.
    intervalnumber9Seconds each line stays up; 0 holds it. Hover or focus also holds it.
    tiltbooleantrueLean the card towards the pointer.
    quotesReactNode—`{ text, emphasis?: string[] }[]`. Emphasis phrases are matched literally. Ships with five lines.
    classNamestring—Extra classes for the root element.