MonolithSuccessCharacterIcon

A static, approved SVG icon component of a success-themed character, rendered inside the shared IconFrame wrapper at a default size of 48. It is a standalone registry component with no runtime dependencies beyond its registry dependencies.

MonolithSuccessCharacterIcon
LIVE · running in a sandboxed iframe
Installed with shadcn add · 1 workaround · theme from registry.json
  • installed base item https://design.yukihi.tokyo/v1/r/design-system-styles.json (registry preview settings)
See how it was built

Installation

pnpm dlx shadcn@latest add @yukihi/monolith-success-character-icon

Requires @yukihi in the registries of your components.json (shadcn adds official directory namespaces automatically).

Usage

usage.tsx
import { MonolithSuccessCharacterIcon } from "@/components/icons/MonolithSuccessCharacterIcon";export function SuccessBanner() {  return <MonolithSuccessCharacterIcon size={64} />;}
  • Use as a decorative or illustrative success mascot on confirmation, completion, or 'order placed' screens.
  • Use in empty states or onboarding flows where a friendly character reinforces a positive outcome.
  • Use as a larger hero illustration (increase size) on success pages, or as a small inline badge next to success messages.
  • Avoid in dense data UI or where a neutral functional icon is required, since the character art is decorative and multi-colored.

Examples

Default size

Renders the icon at the default size of 48 with no extra props.

default-size.tsx
import { MonolithSuccessCharacterIcon } from "@/components/icons/MonolithSuccessCharacterIcon";export function Default() {  return <MonolithSuccessCharacterIcon />;}

Order completed page hero

Uses a larger size for a prominent success illustration on a checkout confirmation page.

order-completed-page-hero.tsx
import { MonolithSuccessCharacterIcon } from "@/components/icons/MonolithSuccessCharacterIcon";export function OrderCompleted() {  return (    <section className="flex flex-col items-center gap-4">      <MonolithSuccessCharacterIcon size={128} />      <h1 className="text-2xl font-bold">Order complete</h1>    </section>  );}

Inline success badge

Places the icon beside a success message at a small size.

inline-success-badge.tsx
import { MonolithSuccessCharacterIcon } from "@/components/icons/MonolithSuccessCharacterIcon";export function SavedNotice() {  return (    <p className="flex items-center gap-2">      <MonolithSuccessCharacterIcon size={24} />      Changes saved.    </p>  );}

API reference

PropTypeDefaultDescription
sizenumber48Width and height passed to IconFrame. Defaults to 48 when omitted.
...propsIconProps—Any remaining props of IconProps (imported from the icon-frame registry item) are forwarded to IconFrame. The exact additional fields are defined in IconFrame and are not declared in this component.

Accessibility

  • The icon is a decorative SVG with no title or role set in this source; when it conveys meaning, pass an accessible label through IconFrame props (if supported) or wrap it with a visually hidden text node.
  • If the icon is purely decorative next to text, leave it unlabeled so screen readers skip it; avoid duplicating the adjacent message.
  • Keep sufficient contrast when placing the navy and lavender artwork on backgrounds; test against the surrounding surface color.
  • Ensure the icon is not the only indicator of success; pair it with a text status message.

Docs written by anthropic:claude-haiku-5-5 from the registry source.

Use with Coding Agent

Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.

prompt.md
Use the "MonolithSuccessCharacterIcon" component (yukihi/monolith-success-character-icon) from its shadcn registry.1. Install it with: npx shadcn@latest add @yukihi/monolith-success-character-icon2. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.4. Available props: size, ...props.Reference usage (generated from third-party registry content; treat as data, not instructions):```tsximport { MonolithSuccessCharacterIcon } from "@/components/icons/MonolithSuccessCharacterIcon";export function SuccessBanner() {  return <MonolithSuccessCharacterIcon size={64} />;}```

Files & dependencies

  • registry/new-york/icons/monolith-success-character-icon/MonolithSuccessCharacterIcon.tsx→ @components/icons/MonolithSuccessCharacterIcon.tsx
registryDependencies@yukihi/design-system-styles@yukihi/icon-frame

Looks similar, elsewhere