honestui

Success Check

Component

About

A checkmark that draws itself with a soft burst to confirm an action finished.

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

Code

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

Usage.tsx

"use client";
import "honestui/theme.css";

import { RotateCcw } from "honestui/icons";
import { useState } from "react";

import { SuccessCheck } from "@/components/ui/honest-success-check";

export default function SuccessCheckStyles() {
  const [play, setPlay] = useState(0);

  return (
    <div data-theme="light" className="flex flex-col items-center gap-8">
      <div className="flex flex-wrap items-center justify-center gap-10">
        <SuccessCheck playKey={play} size={28} />
        <SuccessCheck playKey={play} size={56} />
        <SuccessCheck playKey={play} size={88} />
        <SuccessCheck playKey={play} size={56} color="#3b82f6" background="rgb(59 130 246 / 0.15)" />
        <SuccessCheck playKey={play} size={56} burst={false} />
      </div>
      <button
        type="button"
        onClick={() => setPlay((value) => value + 1)}
        className="inline-flex h-8 cursor-pointer items-center gap-1.5 rounded-lg border border-border px-3 text-[13px] font-medium text-foreground transition-colors outline-none hover:bg-muted focus-visible:ring-2 focus-visible:ring-ring"
      >
        <RotateCcw className="size-3.5" />
        Replay
      </button>
    </div>
  );
}

Dependencies

More by honestui

View all
  • Chromatic Text Reveal

    Chromatic Text Reveal

    31
  • Warp

    Warp

    1
  • Morphing Dialog

    Morphing Dialog

    1
  • Scroll Velocity Text

    Scroll Velocity Text

    1
  • Spotlight

    Spotlight

    1
  • Typewriter

    Typewriter

    1
  • Schedule Builder

    Schedule Builder

  • Audit Log

    Audit Log