InfographicNode

1.0.0

Single data node for a Traffo-style constellation: label, value, and idle or active state.

Component data

ID
infographic-node
Category
atoms
Version
1.0.0
Added
2026-09-17
Type
component
Keyboard nav
No
Reduced motion
Yes
infographicnodemetricatom

Dependencies

  • clsx
  • tailwind-merge

Examples

Default

<div className="bg-background p-8">
      <InfographicNode {...infographicNodeMocks.default} />
    </div>

Variants

<div className="flex items-end gap-4 bg-background p-8">
      <InfographicNode {...infographicNodeMocks.alternate} />
      <InfographicNode
        label="Hub"
        value="DB"
        state="active"
        tone="ink"
        shape="hub"
      />
      <InfographicNode {...infographicNodeMocks.default} />
    </div>

Related