Astro Lexical

Renders Lexical rich text content from Payload in Astro sites

Community 0 633/wk MIT v0.3.0

Installation

pnpm add @xsynaptic/astro-lexical

About

Astro Lexical turns rich text written in the Payload editor into HTML on an Astro site. Each node is checked as the content loads, so a bad block or upload fails the build with a list of the affected entries instead of breaking a page at runtime. Links are checked against a scheme allowlist before they reach the page, which keeps unsafe URLs out of authored content. You map each custom block and node to an Astro component, so callouts, captioned images and other editor blocks render with your own markup. A plain Lexical mode is also included for content that does not come from Payload.

Package info

Package name
@xsynaptic/astro-lexical
Latest version
0.3.0
Unpacked size
70 kB
License
MIT
Weekly downloads
633
Last publish
Nov 15, 2026

React hook and refresh component for Payload Live Preview in frontend apps

Vue composable that wires a Payload Live Preview into a Vue frontend

React admin bar that puts Payload editing controls on your frontend pages

Client SDK that streams live Payload draft edits into a frontend preview

Manifest, linter and Payload block generator for a design system's components

CLI and registry that installs wired Payload blocks into Next.js projects