Aurora OperationIcon
aurora-dinglebear-ai/aurora-operation-iconUnverifiedComponent
Aurora OperationIcon — Claude Design parity.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/dinglebear-ai/aurora/main/aurora-operation-icon.jsonSource
1"use client"23/**4 * Aurora OperationIcon — Axon operation glyph family, tone-coded.5 *6 * A self-contained icon component matching the Claude Design source 1:1. Each7 * Axon operation (`scrape`, `crawl`, `ask`, …) maps to a distinct line glyph and8 * a semantic tone derived from its operation class:9 * - Fetch / read → cyan (scrape, map, retrieve, screenshot, endpoints)10 * - Async jobs → orange (crawl, extract, embed, ingest)11 * - AI / reason → orange (ask, summarize, research, suggest)12 *13 * The visual layer reads Aurora-owned tokens so it14 * renders identically in dark + `.light`. Architecture stays shadcn: a glyph map,15 * `forwardRef`, `displayName`, named + default export, and a11y (role/aria-label16 * with an option to mark the glyph decorative).17 */1819import * as React from "react"20import { cn } from "@/lib/utils"2122// ─── Tones ───────────────────────────────────────────────────────────────────2324export type OperationTone = "cyan" | "orange" | "rose" | "neutral"2526export type OperationName =27 | "scrape"28 | "map"29 | "retrieve"30 | "screenshot"31 | "endpoints"32 | "crawl"33 | "extract"34 | "embed"35 | "ingest"36 | "ask"37 | "summarize"38 | "research"39 | "suggest"4041const TONE_BY_NAME: Record<OperationName, OperationTone> = {42 // Fetch · read (cyan)43 scrape: "cyan",44 map: "cyan",45 retrieve: "cyan",46 screenshot: "cyan",47 endpoints: "cyan",48 // Async jobs (orange)49 crawl: "orange",50 extract: "orange",51 embed: "orange",52 ingest: "orange",53 // AI / reason (orange)54 ask: "orange",55 summarize: "orange",56 research: "orange",57 suggest: "orange",58}5960// ─── Visual layer (ported from Claude Design) ──────────────────────────────────61// Styles: registry/aurora/styles/aurora-components.css (@layer aurora-components).6263// ─── Glyphs ────────────────────────────────────────────────────────────────────64// Each glyph draws on a 24×24 grid with currentColor strokes.6566type GlyphProps = { size: number }6768function svg(children: React.ReactNode, size: number) {69 return (70 <svg71 width={size}72 height={size}73 viewBox="0 0 24 24"74 fill="none"75// … truncated
What it pulls in
Other registry items
Files it writes
More from aurora
All 176 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Aurora Accordionaurora-accordion | aurora | Components | Unverified | 2 deps | |
| Aurora Alert Dialogaurora-alert-dialog | aurora | Components | Unverified | 2 deps | |
| Aurora Aspect Ratioaurora-aspect-ratio | aurora | Components | Unverified | no deps | |
| Aurora Avataraurora-avatar | aurora | Components | Unverified | 1 dep | |
| Aurora Badgeaurora-badge | aurora | Components | Unverified | 2 deps | |
| Aurora Banneraurora-banner | aurora | Components | Unverified | 1 dep | |
| Aurora Breadcrumbaurora-breadcrumb | aurora | Components | Unverified | 2 deps | |
| Aurora Buttonaurora-button | aurora | Components | Unverified | 2 deps |
