Heading Field

Lets editors pick the HTML heading level (h1 to h6) for text and rich text fields

Community 16 32/wk MIT v2.1.1

Installation

pnpm add @whatworks/payload-heading-field

About

Heading Field lets content editors choose the rendered heading tag for a text, textarea or rich text field while they are writing it. A compact tag dropdown sits beside the field label in the admin, so the heading level is set in the same place as the heading text. On the front end, the page outputs the tag the editor picked, which keeps the page outline in editorial hands instead of hard-coded templates. Existing documents keep loading after a plain heading field is wrapped, so adopting it in a project does not need a data migration.

Package info

Package name
@whatworks/payload-heading-field
Latest version
2.1.1
Unpacked size
78 kB
License
MIT
Weekly downloads
32
Last publish
Jun 30, 2026

More from what-works-global

View profile

Switch the admin panel between production and development databases, and copy production down

Managed redirects with cache-backed Next.js middleware and an orderable admin list

Role-based access control with a per-collection permissions matrix in the admin panel

Stores a computed path on each page so URLs resolve with one indexed lookup

Audit feed of document changes and user logins across every collection and global

Records who created and last edited each document, with names shown in the admin

Similar plugins

More in Fields

Builds site and admin themes from color harmonies, with contrast checks in light and dark

Pedigree fields, relatives and family-tree views for Payload collections

Color, icon, encrypted and unit-aware measurement fields for Payload admin

Adds theme presets, live preview and contrast checks to the Payload admin

Groups Payload fields inside a drawer that opens from a button or icon

Adds a barcode scan button to text fields in the Payload admin panel