Basics
Status
A state as an icon shape and plain text: draft, in progress (a filling pie), in review, done, waiting, late.
src/components/ui/status.tsxNo ui-sdk
Ten states
DrafAkan dikerjakanDesainPengembanganDitinjauSelesaiMenungguTerlambatGagalDibatalkan
Import
tsx
import { Status, StatusIcon } from "@/components/ui/status";Guidelines
- The shape carries the meaning, so it reads without color and without a pill.
- Color only for done (accent) and problems (red). The rest stay neutral.
progressfills the pie, such as 0.25 for the design stage.