Black Friday: 30% off Pro

Get 30% off

Updated

Flaming Todos

Pro

Preview

Customize

Burn1.3s
Ash300
Flight0.60s
Width416px
Max length32

Installation

Pro

Flaming Todos is a Pro component

Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.

Install with a key

  1. Add the Pro registry to components.json:
    components.json
    {
      "registries": {
        "@uibrik-pro": {
          "url": "https://uibrik.com/r/pro/{name}.json",
          "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" }
        }
      }
    }
  2. Put your key in .env.local and add that file to .gitignore:
    .env.local
    UIBRIK_LICENSE=your-license-key
  3. Install it:
    Terminal
    npx shadcn@latest add @uibrik-pro/flaming-todos

Usage

import { FlamingTodos } from "@/components/uibrik/flaming-todos/flaming-todos";​const initialItems = [  "Design the interface",  "Build the components",  "Polish the details",  "Ship it to production",];​<FlamingTodos  placeholder="Add a to-do"  burnDuration={1.3}  ash={300}  flightDuration={0.6}  width={416}  maxLength={32}  initialItems={initialItems}  onAdd={(label) => {}}  onComplete={(label) => {}}/>

Where to use Flaming Todos

  • Playful to-do apps

    Finished items burning away in WebGL flames make completing a task feel rewarding.

    Pairs with Strike Todos

  • Habit trackers

    A strong reward moment encourages users to come back and tick off the next item.

    Pairs with Streak Calendar

  • Creative showcases

    A to-do list with fire is a memorable demo of what WebGL can do in a normal UI.

Props

FlamingTodos
placeholder
Type string
"Add a to-do"
burnDuration
Type number
1.3
How long the flames take to climb through a to-do.
ash
Type number
300
Ash particles per burn.
flightDuration
Type number
0.6
How long a new to-do takes to fly into the list.
width
Type number
416
Width of the list.
maxLength
Type number
32
Longest to-do, in characters.
initialItems
Type string[]
SAMPLE_TODOS
To-dos listed at the start.
onAdd
Type (label: string) => void
–
Called when a to-do is added.
onComplete
Type (label: string) => void
–
Called when a to-do is checked off.
className
Type string
–
Classes for the list.