Docs

This page isn't translated yet

Custom Lexical features

balanceText, lead, small, label and writing your own.

@systhemaui/payload ships custom typography features that aren't part of PayloadCMS by default:

  • balanceText — applies text-wrap: balance to text spans.
  • lead — wrap text in the lead paragraph variant.
  • small — wrap text in the small paragraph variant.
  • label — wrap text in the label paragraph variant.

These are automatically registered by the Systhema editors but can also be imported and used in custom editor configurations.

Using them in your own editorLink to this section

Systhema's own features are importable from @systhemaui/payload/lexical/features (LabelFeature, LeadFeature, SmallFeature, BalanceTextFeature). To change a tier's features without building an editor from scratch, see Extending a tier.