BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/pixelflow-ui/status-elevation-lyra

Status Elevation Lyra

pixelflow-ui/status-elevation-lyra
FreeComponent

pixelflow-ui publishes no description for this item.

Live preview

live · rendered by the registry
Rendered by pixelflow-ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://pixelflowui.lok1.dev/r/status-elevation-lyra.json

Source

src/registry/status-elevation/lyra/StatusElevationLyra.jsxpixelflowui.lok1.dev/r/status-elevation-lyra.json · first 6 KB
1"use client";
2
3import React, { useState, useCallback, useEffect, useRef, useMemo } from "react";
4import { AnimatePresence, motion } from "motion/react";
5import { XCircle, Loader, CheckCircle } from "lucide-react";
6
7// ─── Status Config ─────────────────────────────────────────────
8const STATUS_CONFIG = {
9 failed: {
10 priority: 1, label: "Failed", icon: XCircle,
11 color: "#ef4444",
12 borderColor: "rgba(239, 68, 68, 0.25)",
13 },
14 pending: {
15 priority: 2, label: "Pending", icon: Loader,
16 color: "#f59e0b",
17 borderColor: "rgba(245, 158, 11, 0.25)",
18 },
19 success: {
20 priority: 3, label: "Success", icon: CheckCircle,
21 color: "#10b981",
22 borderColor: "rgba(16, 185, 129, 0.25)",
23 },
24};
25
26// ─── Status Pill ───────────────────────────────────────────────
27function StatusPill({ status, duration = 0.3 }) {
28 const config = STATUS_CONFIG[status];
29 const Icon = config.icon;
30 const isPending = status === "pending";
31 const halfDuration = duration / 2;
32
33 return (
34 <motion.div key={status}
35 initial={{ opacity: 0, scale: 0.95 }}
36 animate={{ opacity: 1, scale: 1 }}
37 transition={{ type: "tween", duration, ease: "easeOut" }}
38 className="w-32"
39 >
40 <div className="flex items-center gap-2 px-3 py-1.5 rounded-none border-[0.6px]"
41 style={{ borderColor: config.borderColor, background: "rgba(0,0,0,0.3)" }}>
42 <Icon className={`w-3.5 h-3.5 ${isPending ? "animate-spin" : ""}`}
43 style={{ color: config.color }} strokeWidth={2} />
44 <AnimatePresence mode="wait">
45 <motion.span key={status}
46 initial={{ filter: "blur(4px)", opacity: 0.3 }}
47 animate={{ filter: "blur(0px)", opacity: 1 }}
48 exit={{ filter: "blur(4px)", opacity: 0.3 }}
49 transition={{ duration: halfDuration, ease: "easeInOut" }}
50 className="font-mono text-xs uppercase tracking-widest"
51 style={{ color: config.color }}
52 >{config.label}</motion.span>
53 </AnimatePresence>
54 </div>
55 </motion.div>
56 );
57}
58
59// … truncated

What it pulls in

npm packages

  • motion
  • lucide-react

Files it writes

  • src/registry/status-elevation/lyra/StatusElevationLyra.jsx

Facts

Registry
pixelflow-ui
Type
registry:component
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-12
Last confirmed
today

Go to the source

Docs on pixelflow-ui pixelflowui.lok1.dev lokidotdev/pixelflow-ui on GitHub Raw registry item This item as JSON

More from pixelflow-ui

All 35 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Accordion Lyraaccordion-lyrapixelflow-uiComponentsFree3 deps
Accordion Novaaccordion-novapixelflow-uiComponentsFree3 deps
Accordion Retroaccordion-retropixelflow-uiComponentsFree3 deps
Background 1background-1pixelflow-uiComponentsFreeno deps
Background 1Retrobackground-1-retropixelflow-uiComponentsFreeno deps
Bouncy Input Lyrabouncy-input-lyrapixelflow-uiComponentsFree1 dep
Bouncy Input Novabouncy-input-novapixelflow-uiComponentsFree1 dep
Bouncy Input Retrobouncy-input-retropixelflow-uiComponentsFree1 dep
BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product.

BlockDex

BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product.

BlockDex

BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product.

BlockDex