Skip to content

feat(docs): rebuild component preview, code tab and demos - #73

Merged
sapatmohit merged 1 commit into
feat/remove-formattersfrom
feat/docs-preview-demos
Oct 19, 2026
Merged

sapatmohit merged 1 commit into
feat/remove-formattersfrom
feat/docs-preview-demos

Conversation

@sapatmohit

Copy link
Copy Markdown
Member

Description

  • Preview / Code use Fumadocs tabs and its code block (title, copy, capped height with scroll).
  • Preview toolbar: shadcn accent theme picker and dark mode (shared across previews, persisted), reset, Open in v0 / Lovable / Bolt.
  • Demos are one component and its props, with sample data in src/lib/elements-config.ts.
  • Removes the custom preview shell, code panel and their CSS. ARCHITECTURE.md directory map updated.

Closes #64

Type of change

  • Enhancement

Checklist

  • Dark mode / responsive styles considered
  • bun run lint passes
  • bun run typecheck passes
  • bun run test passes
  • CI checks pass

Notes

Stacked PR — base is feat/remove-formatters. Merge in order; GitHub retargets to main as each base merges.

Preview / Code use Fumadocs tabs and its code block. The preview toolbar
adds a shadcn accent theme picker, dark mode, reset and Open in v0 /
Lovable / Bolt. Demos are short: one component and its props, with sample
data in src/lib/elements-config.ts.

Closes #64
@sapatmohit sapatmohit added documentation Improvements or additions to documentation enhancement New feature or request website Landing page, docs site, or content labels Oct 19, 2026
@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 692d49cd-a99b-4876-9146-e07cd914b93d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sapatmohit
sapatmohit merged commit 2a37233 into feat/remove-formatters Oct 19, 2026
2 checks passed
@sapatmohit
sapatmohit deleted the feat/docs-preview-demos branch October 19, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request website Landing page, docs site, or content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant