CoreValuesCard
What a person is known for, as a lead column and a scrolling row of value cards, read from the same insights as ValueRow.
Lifecycle: alpha
Alpha. Scaffolded from source and needs human refinement before production use. See the Changelog for version history.
CoreValuesCard
CoreValuesCard shows what a person is known for. A lead column holds the reading and who it came from, and a row of value cards scrolls beside it. It reads the same insights as ValueRow, so a host can swap one layout for the other without new data. The host card supplies the chrome, and the row bleeds to that card's edge, so the host card needs ProfileSection's inset. The insights carry no emoji, so a value without one leaves its card's corner blank.
Storybook
Loading
Props
Prop
Type
Also takes the attributes of the element it renders.
Tokens
Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.
--augds-background-inverse--augds-background-neutral--augds-font-size-2xs--augds-foreground-inverse--augds-foreground-primary--augds-foreground-secondary--augds-foreground-tertiary--augds-radius-primitive-20--augds-spacing-8--augds-surface-page--augds-surface-sunken-1
Source
src/components/ui/core-values-card/core-values-card.tsx