Stop Rebuilding UI

Shadcn.io is not affiliated with official shadcn/ui

File Upload Markdown Preview

Markdown file upload block for React and Next.js with split-view raw editor and rendered preview, word count, heading count, and HTML export using shadcn/ui and Tailwind CSS

Upload a Markdown file and see it rendered instantly in a side-by-side split view. The left panel shows the raw Markdown source with monospace formatting, while the right panel displays a styled rendered preview. Includes word count, heading count, and an export-to-HTML button. Built with TypeScript, shadcn/ui Button and Badge components, and Tailwind CSS for seamless integration into documentation and content editing workflows.

File Upload Markdown Preview preview

Loading...
Scroll to load preview

Installation

Install
Pro block

FAQ

Last updated on March 24, 2026

Was this page helpful?

Sign in to leave feedback.