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