Mixins / foldkit-mixins-ui

TypographyView

type · packages/mixins-ui/src/typography.ts:49

type TypographyView<Message = never> = TypographySays & {
  readonly level: TypographyLevel
  readonly style?: NamedStyle<typeof TypographySlots> | undefined
  readonly mixins?: MixinList<Message> | undefined
}

One voice of the type scale in one call: its level, what it says, a style for its slot, and mixins beside the style. The level picks the element and is written as data-level, which the recipe reads. No upstream component stands behind it.