Hulian UIv0.93.5413 components0 components
  • Start
  • Components
  • Blocks
  • Pages
  • Demos
  • Changelog
ChineseEnglish
  • ComponentsComponents
  • ThemeTheme

Collections

  • QuestionCard
  • Table
  • Book3D
  • ProTable
  • PricingTable
  • JsonViewer
  • EditableTable
  • List
  • Descriptions
  • RowActions
  • Tree
  • Card
  • Carousel
  • Video
  • Audio
  • BentoGrid
  • Image
  • MagicCard
  • AnimatedList
  • Marquee
  • Sortable
  • Kanban
  • DesignCanvas
  • LayerTree
  • StageDraw
  • SlideDeck
  • PresenterView
  • ComponentPicker
  • EventStream
  • QueueLane
  • DocumentSheet
  • Novel reader
  • Scheduler
  • Org classroom
  • Danmaku
  • LiveChat
  • LivePlayer
  • LogViewer
  • FileTree
  • CodeReviewThread
  • VirtualList
  • InfiniteScroll
  • LogoLoop
  • BounceCards
  • CardSwap
  • ChromaGrid
  • CircularGallery
  • DomeGallery
  • FlyingPosters
  • InfiniteMenu
  • MagicBento
  • ScrollStack
  • ProfileCard
  • TiltedCard
  • PixelCard
  • DecayCard
  • ReflectiveCard
  • Folder

Charts and Diagrams

  • Flow
  • Diagram
  • Paper
  • SequenceDiagram
  • Sankey
  • Sparkline
  • Funnel
  • Treemap
  • Gantt
  • Heatmap
  • ContributionGraph
  • Legend
  • Chart
  • WorldMap

Information

  • ImageViewer
  • LiveProductCard
  • DiffStat
  • ScoreRing
  • ScoreScale
  • Badge
  • Dot
  • StatusDot
  • Chip
  • FilterChip
  • Coupon
  • Tag
  • Annotation
  • Avatar
  • AvatarCircles
  • User
  • QRCode
  • Comment
  • RelativeTime
  • GitCommit
  • DeployStatus
  • ShieldBadge
  • AwardBadge
  • CreditCard
  • IconTile

Metrics

  • Stat
  • Statistic
  • Meter
  • Timeline
  • NumberTicker

Placeholders

  • Empty
  • Skeleton
  • Watermark

DeployStatus

deploy-status

Communicates queued, building, live, failed, canceled, or skipped deployment states.

Usage

Basic usage

Pass status render badge soft fill logo, building status icon spin.

BuildingReadyFailed
tsx
<>
  <DeployStatus status="building" />
  <DeployStatus status="ready" />
  <DeployStatus status="error" />
</>

Six-state spectrum

Covers queuing/building/online/failure/cancellation/skipping the full life cycle.

QueuedBuildingReadyFailedCanceledSkipped
tsx
<>
  {(["queued","building","ready","error","canceled","skipped"] as const).map((s) => (
    <DeployStatus key={s} status={s} />
  ))}
</>

Morphological variant

variant dot + text (building pulse) / icon only (compact cell).

BuildingReady
tsx
<>
  <DeployStatus status="building" variant="dot" />
  <DeployStatus status="ready" variant="dot" />
  <DeployStatus status="ready" variant="icon" />
  <DeployStatus status="error" variant="icon" />
</>

Small size · Inside the line

size="sm" Embed text stream.

Last deployed Ready , preview environment Building

tsx
<p>Last deployment <DeployStatus status="ready" size="sm" /></p>

When to use

Use DeployStatus for a build or deployment moving from queued through building to ready, error, canceled, or skipped. Use StatusDot for a service's current health instead of a deployment lifecycle.

Import

ts
import { DeployStatus } from "@hulianui/ui"

Props

NameTypeDefaultDescription
status*"queued" | "building" | "ready" | "error" | "canceled" | "skipped"-Deployment lifecycle state.
variant"badge" | "dot" | "icon""badge"Soft badge, dot with text, or icon-only presentation.
size"sm" | "md""md"Component size.
spinbooleantrueSpins the building icon.
classNamestring-Custom class name.

Slots

SlotTypeDescription
labelReactNodeReplaces the localized status label.

Pitfalls

DeployStatus describes one deployment's lifecycle, not service health. Built-in labels follow ConfigProvider; use label only for a context-specific override.

Related

Sparkline · ImageViewer · LiveProductCard · DiffStat · ScoreRing · Badge

Playground

Ready
<DeployStatus status={deploy.status} />
PreviousGitCommitData DisplayNextContributionGraph

On this page

  • Usage
  • Documentation
    • When to use
    • Import
    • Props
    • Slots
    • Pitfalls
    • Related
  • Playground