メインコンテンツへスキップ
BlueAI
ホーム/コンポーネント/データ表示/ステータスドット StatusDot

StatusDot

2px の小さなカラードットでステータスを示す。テキストと組み合わせて使用する。

|
import { StatusDot } from "@blueai/ui"

Examples

プリセットカラー
オンライン
オフライン
離席中
取込中
不明
アクティブ
<StatusDot color="green" /> オンライン
<StatusDot color="red" /> オフライン
<StatusDot color="amber" /> 離席中
<StatusDot color="blue" /> 取込中
<StatusDot color="gray" /> 不明
<StatusDot color="brand" /> アクティブ
カスタム HEX カラー
カスタム紫
カスタムピンク
<StatusDot hex="#8b5cf6" /> カスタム紫
<StatusDot hex="#ec4899" /> カスタムピンク

Props

PropTypeDefaultDescription
color"green" | "red" | "amber" | "blue" | "gray" | "brand"プリセットカラー(hex と排他)
hexstring任意HEXカラー(color と排他)
classNamestring追加CSSクラス