the React.js docs framework you love.

Build excellent
documentations for your patients,
your style.

Patientdocs is a React.js documentation framework for Developers, beautifully designed by Kernelius. Bringing powerful features for your patient documentation workflows, with high customizability to fit your preferences, works seamlessly with any React.js framework, CMS — anything, EHRs, supports HL7, FHIR, and more.

Try it out.

pnpm create patientdocs-app

localhost:3000

New App launched!
Terminal
pnpm create fumadocs-app ◇ Project name│ my-app◆ Choose a framework│ ● Next.js│ ○ Tanstack Start│ ○ React Router

A framework people love.

Loved by teams and developers from startups like Unkey, Vercel, Orama — evolving everyday to be your favourite docs framework.

Showcase

You know how you end up rebuilding a full docs site every time you start a new project? Patientdocs fixes this by giving you all the right blocks that you compose together. Like headless docs to build exactly what you need.

avatar

shadcn

Creator of Shadcn UI

Major shoutout to @kernelius-hq for making patientdocs, a gorgeous documentation framework that composes beautifully into the App Router.

avatar

Anthony Shew

Turbo DX at Vercel

patientdocs is the best Next.js docs framework

avatar

Aiden Bai

Creator of Million.js

I'd have no shot building @arktypeio docs that looked half this good without it 😍

avatar

David Blass

Creator of Arktype

You know how you end up rebuilding a full docs site every time you start a new project? Patientdocs fixes this by giving you all the right blocks that you compose together. Like headless docs to build exactly what you need.

avatar

shadcn

Creator of Shadcn UI

Major shoutout to @kernelius-hq for making patientdocs, a gorgeous documentation framework that composes beautifully into the App Router.

avatar

Anthony Shew

Turbo DX at Vercel

patientdocs is the best Next.js docs framework

avatar

Aiden Bai

Creator of Million.js

I'd have no shot building @arktypeio docs that looked half this good without it 😍

avatar

David Blass

Creator of Arktype

You know how you end up rebuilding a full docs site every time you start a new project? Patientdocs fixes this by giving you all the right blocks that you compose together. Like headless docs to build exactly what you need.

avatar

shadcn

Creator of Shadcn UI

Major shoutout to @kernelius-hq for making patientdocs, a gorgeous documentation framework that composes beautifully into the App Router.

avatar

Anthony Shew

Turbo DX at Vercel

patientdocs is the best Next.js docs framework

avatar

Aiden Bai

Creator of Million.js

I'd have no shot building @arktypeio docs that looked half this good without it 😍

avatar

David Blass

Creator of Arktype

You know how you end up rebuilding a full docs site every time you start a new project? Patientdocs fixes this by giving you all the right blocks that you compose together. Like headless docs to build exactly what you need.

avatar

shadcn

Creator of Shadcn UI

Major shoutout to @kernelius-hq for making patientdocs, a gorgeous documentation framework that composes beautifully into the App Router.

avatar

Anthony Shew

Turbo DX at Vercel

patientdocs is the best Next.js docs framework

avatar

Aiden Bai

Creator of Million.js

I'd have no shot building @arktypeio docs that looked half this good without it 😍

avatar

David Blass

Creator of Arktype

preview

Minimal aesthetics, Maximum customizability.

Patientdocs offer well-designed themes, with a headless mode to plug your own UI.

Pro designer? Customise the theme using Patientdocs CLI.

pnpm dlx @patientdocs/cli customise

> Choose a layout to customise...

Anybody can write.

Native support for Markdown & MDX, offering intuitive, convenient and extensive syntax for non-dev writers, developers, and AI agents.

---
title: Hello World
---

## Overview

I love **Patientdocs**!

```ts tab="Tab 1"
console.log("Hello World")
```

```ts tab="Tab 2"
return 0;
```

The familiar syntax.

It is just Markdown, with additional features seamlessly composing into the syntax.

  • Markdown features, including images
  • Syntax highlighting (Powered by Shiki)
  • Codeblock Groups
  • Callouts
  • Cards
  • Custom Heading Anchors
  • Auto Table of Contents

Docs For Engineers.

Framework Agnostic

Official support for Next.js, Tanstack Start, React Router, Waku — portable to any React.js framework.

Next.jsReact Router

A truly composable framework.

Separated as Content Core UI, offering the high composability that engineers love — you can use Patientdocs as a library, without adapting the entire framework.

patientdocs-mdx

Use MDX in your React framework elegantly.

patientdocs-core

Headless library for building docs + handling content.

patientdocs-ui

UI library for building docs.

patientdocs-openapi

Extend Patientdocs to render OpenAPI docs.

patientdocs-obsidian

Extend Patientdocs to handle Obsidian-style Markdown.

Adopts your content.

Designed to integrate with any content source, Patientdocs works on MDX, Content Collections, and even your own CMS.

Patientdocs MDX
import { loader } from 'patientdocs-core/source';
import { docs } from 'patientdocs-mdx:collections/server';

export const source = loader({
  source: docs.toPatientdocsSource(),
  baseUrl: '/docs',
});

My CMS

My Page
Article
Another Page
Article
Components
Article
Getting Started
Article
MDX Editor
---
title: Hello World
---

# Hello World!

This is my first document.

Enhance your search experience.

Integrate with Orama Search and Algolia Search in your docs easily.

Learn More
Search...

Getting Started

Use Patientdocs in your project.

Components

The UI Components for your docs.

MDX Content

Using MDX for content.

User Guide

How to use Patientdocs.

The shadcn/ui for docs

Patientdocs CLI creates interactive components for your docs, offering a rich experience to your users.

Commands
shadcn

A Framework of Dream.

Made Possible by You.

Patientdocs is 100% powered by passion and open source community.

junaidanjum's avatararyasaatvik's avatarkane50613's avatarsiyamhosan's avatarkyrylolvov's avatarMichaelErmer's avataroutslept's avatarhyoban's avatarsebdanielsson's avatarstaciax's avatarpomber's avatarnikhiltidke101's avatarimliuruiqi's avatarrubenskj's avatarcoderrshyam's avatarYonom's avatargronxb's avatarremorses's avatarTwinki14's avatarjoulev's avatar
+28
Some of our best contributors.

Build Your Docs

light and gorgeous, just like the moon.

  • Battery guaranteed.Actively maintained, open for contributions.
  • Fully open-source.Open source, available on Github.
  • Within seconds.Initialize a new project instantly with CLI.
  • Read docsOpen GitHub