Skip to content

feat(repo): add Mosaic docs site (packages/mosaic-docs) - #10843

Closed
kylemac wants to merge 3 commits into
mainfrom
kylemac/mosaic-docs
Closed

kylemac wants to merge 3 commits into
mainfrom
kylemac/mosaic-docs

Conversation

@kylemac

@kylemac kylemac commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Description

Adds packages/mosaic-docs, a private Next.js docs site for Mosaic that will be served from the root of mosaic.clerk.com. It replaces clerk/clerk#3840.

  • Pages: an intro page, section pages for components (49), primitives (19) and hooks (1), and one page per item with its source link, description, example code, usage and props table.
  • Content is generated from swingset's stories and MDX by scripts/generate.mts, which runs before dev and build and writes to the git-ignored .content/. To change a page, edit swingset.
  • Includes a header beta notice, a GitHub link, a back strip to clerk.com and the docs, and a grouped sidebar. Examples are code only; there are no live previews yet.

To test: pnpm --filter @clerk/mosaic-docs dev, then open http://localhost:6021.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Standalone Next.js app served at /mosaic. Content is generated from
swingset's stories and MDX at dev/build time. Ported from clerk/clerk#3840.
@vercel

vercel Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
clerk-js-sandbox Ready Ready Preview Nov 16, 2026 5:44pm UTC
swingset Ready Ready Preview Nov 16, 2026 5:44pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 47e3f8a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@pkg-pr-new

pkg-pr-new Bot commented Nov 16, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@10843

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@10843

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@10843

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@10843

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@10843

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@10843

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@10843

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@10843

@clerk/expo-biometrics

npm i https://pkg.pr.new/@clerk/expo-biometrics@10843

@clerk/expo-google-signin

npm i https://pkg.pr.new/@clerk/expo-google-signin@10843

@clerk/expo-native-components

npm i https://pkg.pr.new/@clerk/expo-native-components@10843

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@10843

@clerk/express

npm i https://pkg.pr.new/@clerk/express@10843

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@10843

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@10843

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@10843

@clerk/mosaic

npm i https://pkg.pr.new/@clerk/mosaic@10843

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@10843

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@10843

@clerk/react

npm i https://pkg.pr.new/@clerk/react@10843

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@10843

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@10843

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@10843

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@10843

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@10843

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@10843

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@10843

commit: 47e3f8a

@alexcarpenter
alexcarpenter requested review from austincalvelage and removed request for austincalvelage November 16, 2026 20:48
@kylemac kylemac closed this Nov 18, 2026
@kylemac
kylemac deleted the kylemac/mosaic-docs branch November 18, 2026 16:44

This branch was successfully deployed

2 active deployments
Preview – swingset — 47e3f8a4 Deployed Nov 16, 2026 by vercel[bot]
Preview – clerk-js-sandbox — 47e3f8a4 Deployed Nov 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant