Skip to content

Create a Typography

What It Does

The Create a Typography node generates a composite typography value by combining font properties like family, weight, size, and spacing. It's used to define consistent text styles in your design system.

Inputs

NameDescriptionTypeRequired
Font FamilyThe font family name (e.g., "Inter" or "Roboto")TextNo
Font WeightThe font weight (e.g., "400" or "Bold")TextNo
Font SizeThe font size (e.g., "16px" or "1rem")TextNo
Line HeightThe line height (e.g., "24px" or "1.5")TextNo
Letter SpacingThe letter spacing (e.g., "0.5px" or "-0.01em")TextNo
Paragraph SpacingThe spacing between paragraphsTextNo
Text DecorationThe text decoration (e.g., "none" or "underline")TextNo
Text CaseThe text case transformation (e.g., "none" or "uppercase")TextNo

Outputs

NameDescriptionType
ValueThe composite typography valueTypography

How to Use It

  1. Drag the Create a Typography node into your graph.
  2. Connect values to the typography properties you want to define.
  3. Leave optional properties empty if you don't need them.
  4. The output provides a typography value that can be used in typography tokens.

Tips

  • You only need to specify the properties you want to use, leaving others blank.
  • Font sizes and spacing can use any CSS units (px, rem, em, etc.).

See Also

  • Create Typography Token: For creating a complete typography token with name and metadata.
  • Create Design Token: For creating other types of design tokens.

Use Cases

  • Text Styles: Create consistent typography styles for headings, body text, and captions.
  • Design System: Define a typographic scale with harmonious sizes and spacing.
  • Brand Guidelines: Implement typography according to brand guidelines.