qmetrics.net

React Notion X

TypeScript React renderer for Notion pages

React Notion X screenshot

React Notion X renders Notion page content in React apps using fetched record maps. It is framework-agnostic, supports most block and database view types, and allows lazy-loaded heavy components.

Overview

React Notion X turns Notion page data into React UI so sites can display Notion-hosted content without Notion's own site builder. You fetch a page record map with the companion notion-client API on the server, then pass it to NotionRenderer to output blocks, collections, and formatting.

The default export stays lightweight; PDFs, equations, collection views, and similar blocks live in optional third-party imports that teams can lazy-load with next/dynamic or equivalent. Styling requires importing bundled CSS, and Next.js apps can wire next/image and next/link for image and navigation behavior.

Most standard Notion blocks and many collection view types are supported, including tables, galleries, boards, and lists, with calendar collection views noted as missing. Performance guidance covers stable public image proxy URLs, lazy images with optional LQIP placeholders, and overriding mapImageUrl for CDN caching.

Private workspace pages can be fetched when auth tokens from browser cookies are supplied to the API client. The package ships TypeScript types and is used in production site templates and demos referenced in the documentation.

Key features

  • NotionRenderer for record maps
  • Broad block type coverage
  • Optional lazy heavy components
  • next/image and LQIP support
  • Collection view rendering
  • Framework-agnostic React usage
  • Private page auth token support
  • Custom component overrides

Use cases

  • Publishing Notion pages as websites
  • Next.js sites backed by Notion content
  • Read-only Notion documentation portals
  • Portfolios and blogs from Notion
  • Lazy-loading rich Notion embed blocks

Tags

Similar software

Docusaurus

React-based static site generator for documentation

Docusaurus builds documentation sites, blogs, and marketing pages from MDX content. It ships preset layouts and plugins so teams can publish quickly.

★ 66.8k⟳ todayMIT

Marked

Low-level markdown parser and HTML compiler

Marked parses Markdown and compiles it to HTML for browsers, servers, and the command line. It implements common Markdown, CommonMark, and GitHub Flavored Markdown features with extension hooks.

★ 37.3k⟳ todayMIT · open core

VitePress

Vite and Vue static site generator for docs

VitePress builds documentation and marketing sites from Markdown using Vue and Vite. It targets fast dev feedback and static HTML with client-side navigation.

★ 18.5k⟳ 16 days agoMIT

Taste Skill

Agent skill for designed company sites and browser QA

Taste Skill packages art direction, asset scripts, and headless browser checks so coding agents produce company websites with consistent layout, imagery, and copy rules.

★ 122.3k⟳ yesterdayMIT
AI Assisted CodingDesktop/CLI app

Mermaid

Text-defined diagrams from Markdown-like syntax

Mermaid turns plain-text diagram definitions into flowcharts, sequence charts, Gantt charts, and many other diagram types. It renders in browsers, documentation tools, and GitHub Markdown.

★ 91.3k⟳ 5 days agoMIT

Hugo

Go-based static site generator with flexible templating

Hugo is a static site generator written in Go. It turns content and templates into deployable HTML sites with asset pipelines for CSS, JavaScript, Sass, and images.

★ 90.6k⟳ todayApache-2.0
Build & DeploymentDesktop/CLI app