React media and file viewer components for Tailwind CSS
Media components play, show and edit photos, video, audio and documents inside your app. Video Player and Audio Player have controls for chapters, captions and speed, and the audio player draws a waveform you can scrub. Carousel runs on embla for photos, listing cards and testimonials, Image Lightbox opens photos full screen out of their thumbnail, and Image Cropper prepares a photo before upload. Document viewers open PDF (on PDFium), Word, Excel, CSV and PowerPoint files in the browser, DOCX Editor edits Word documents with real pages, comments and tracked changes, and File System is a Finder-style file browser.
All Media[17]
QR Code
A React QR code generator with rounded or dotted modules, soft eyes, a center logo, any colors, a caption and one-tap PNG or SVG export.
Carousel
A swipeable React carousel on Embla for photos, cards, testimonials and onboarding, with peek, arrows, dots, thumbnails and autoplay.
PowerPoint Viewer
A React PowerPoint (.pptx) viewer with real slides, thumbnails, zoom, search, speaker notes, a single slide view and a fullscreen presenter.
Image Lightbox
A React image lightbox: a full-screen photo viewer that zooms from its thumbnail, with swipe, pinch zoom and swipe down to close.
Video Player
A React video player with controls that hide while you watch, a chapter scrubber, captions, speed, picture in picture and full screen.
Image Cropper
A React image cropper for photos before upload: aspect presets, pinch or wheel zoom, rotation, a thirds grid and a JPEG, PNG or WebP export.
Location Map
A React location map to pick or show a place: a draggable pin, an optional radius with a towns count, offline search and a static fallback.
Audio Player
A React audio player with a waveform you can see and scrub, as a podcast card, a chat voice message or a thin call-log bar.
Excel Viewer
A React Excel viewer for .xlsx and CSV files with real cell styles, number formats, frozen panes, sheet tabs, a formula bar, sort and search.
DOCX Viewer
A React Word (.docx) viewer with real pages, headers and footers, thumbnails, zoom, search, comments, tracked changes and download.
CSV Viewer
A React CSV viewer for large CSV and TSV files: typed columns, sort, filters, search, selection with copy, frozen columns and zoom.
DOCX Editor
A React Word (.docx) editor with real pages, styles, tables, images, find and replace, comments and tracked changes, saved as .docx.
File System
A React file browser in the style of Finder: a sidebar, icons, list, columns and gallery views, a preview panel and Quick Look on real documents.
Image compare
A before and after slider over two images or any two layers, for photo edits, AI image tools, redesigns and renovations.
Image Gallery
A React image gallery with masonry, cropped grid and justified rows layouts, tag filters, a lightbox and load more.
Guides
Tutorials and guides from the blog that use these components.
Build it: screens and apps
Mobile App Landing Page Template: QR Code and Store Links
Build a mobile app landing page template in React: store buttons on the first screen, a QR code for desktop visitors and one link that opens the right store.
9 min read
Build it: screens and apps
Nextjs Real Estate Template: Search, Map and Mortgage
A nextjs real estate template with buy or rent search, listing cards, a price pin map, a mortgage estimate, a valuation form and a phone layout that works.
10 min read
Build it: screens and apps
Nextjs Restaurant Template: Open Now, Menu, Book a Table
A nextjs restaurant template built around three questions: are you open now, what is on the menu, can I book a table. Live hours, menu filters and booking.
10 min read
Component guides
React File Manager: Folders, Uploads and the Backend API
Build a React file manager for SaaS documents: folders in a grid or list, a folder tree, uploads and bulk actions, plus the backend API that keeps it safe.
10 min read
Component guides
React PPTX Viewer: Slides, Notes and Presenter Mode
Build a React PPTX viewer that draws real slides in the browser, with thumbnails, search, speaker notes and a presenter mode, and learn when a PDF works better.
9 min read
Component guides
Embla Carousel React: Accessible Slides, No Layout Shift
Build an embla carousel react component for photos, listings, testimonials and onboarding, with keyboard controls, pausable autoplay and no layout shift.
9 min read
About Media
Location Map picks or shows a place with a pin you drag, QR Code draws a styled code you can download, and Step Player shows stepped progress with play and pause. On a phone you swipe between photos and slides, pinch and double tap to zoom, and swipe down to close the lightbox. The inline map does not capture the page scroll and opens a full-height sheet on tap, and menus such as playback speed open as bottom sheets. 1 of the 17 media components is free: the source is open to everyone through the CLI, shadcn and the docs page (the MCP server needs a free account key). The other 16 are part of Pro.