Skip to main content
cngx-src documentation

CngxStatCardViz

Directivev0.1.0

projects/ui/stat-card/stat-card-slots.ts

Import#

import { CngxStatCardViz } from '@cngx/ui/stat-card'

Description#

Marks the inline visualisation of a CngxStatCard - a cngx-sparkline, cngx-mini-area, cngx-deviation-bar, or any other compact chart preset.

Rendered beside the stat block and outside its aria-labelledby chain: the accessible name stays the numbers a screen reader can actually read, while the viz stays decorative unless the projected preset carries its own accessible name.

Metadata#