Syed

Daily Ritual Checklist

Component 1

About

Minimalist daily ritual and habit checklist with dashed rounded-square checkboxes, spring-animated ritual emblems, crisp dashed dividers, and an inline pill composer for adding new habits.

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

Code

How Daily Ritual Checklist is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import React from "react";
import {
  DailyRitualChecklist,
  type DailyRitualTheme,
} from "@/components/ui/daily-ritual-checklist";

const settings = {
  theme: "auto",
  allowAdd: true,
  strikethroughCompleted: false,
  accentColor: "#4b22e0",
};

const VALID_THEMES: DailyRitualTheme[] = ["auto", "light", "dark"];

export default function DailyRitualChecklistDemo(
  props: Partial<typeof settings>
) {
  const config = { ...settings, ...props };

  const theme: DailyRitualTheme = VALID_THEMES.includes(
    config.theme as DailyRitualTheme
  )
    ? (config.theme as DailyRitualTheme)
    : "auto";

  const allowAdd =
    typeof config.allowAdd === "boolean" ? config.allowAdd : true;

  const strikethroughCompleted =
    typeof config.strikethroughCompleted === "boolean"
      ? config.strikethroughCompleted
      : false;

  const accentColor =
    typeof config.accentColor === "string" &&
    config.accentColor.trim().length > 0
      ? config.accentColor
      : "#4b22e0";

  return (
    <div className="flex min-h-[420px] w-full items-center justify-center p-8">
      <DailyRitualChecklist
        theme={theme}
        allowAdd={allowAdd}
        strikethroughCompleted={strikethroughCompleted}
        accentColor={accentColor}
      />
    </div>
  );
}

export {
  DailyRitualChecklistDemo as Demo,
  DailyRitualChecklistDemo as demo,
};

Dependencies

More by Syed

View all
  • Animated Beam Integration

    Animated Beam Integration

    146
  • Emotion Wheel v2

    Emotion Wheel v2

    127
  • SpatialCardCarousel

    SpatialCardCarousel

    115
  • Agency Bento Grid

    Agency Bento Grid

    94
  • Morphing Island Navbar

    Morphing Island Navbar

    88
  • Unlimited Design Hero

    Unlimited Design Hero

    82
  • Interactive Eye Tracker

    Interactive Eye Tracker

    67
  • Animated Tree View

    Animated Tree View

    66