#Overview

The status component acts as a visual cue, allowing users to quickly identify the tone—whether positive, neutral, or negative — of the text content, thereby enhancing readability and comprehension.

NameTypeDefaultDescriptionControls
children *ReactNode
-

The text content

variant *"negative" | "neutral" | "positive" | "warning"
-

The variant of the status text

iconReactElement
-

Adds an icon

import { Status } from "@blocks/ui";

export const SuccessText = () => <Status variant="positive">Successful</Status>;

#Colors

  • Token
  • TEXT_NEGATIVE#c42#f75#e02#f44
  • TEXT_NEUTRAL#000#fff#000#fff
  • TEXT_POSITIVE#280#8d6#282#4c4
  • TEXT_WARNING#c50#f80#c50#f80