A webtoon-style chapter reader made only with mangacn: a top bar with the series and chapter, a Full screen toggle (pressed button) and a Chapters button opening a Sheet headed by a VolumeCard of the current volume (the cover you pass, ongoing status, chapters read / out as a running-line bar) above the chapter list (the current chapter is an ink flat, read chapters carry a brush check), a reading-order switch of pressed buttons (Manga RTL / Western LTR) that sets data-reading on the root and flips the previous / next chapter buttons, a ReadingProgress bar with a "Page 3 / 9" counter fed by the strip (the page whose top has crossed the reading line, a third of the way down the view under the sticky bar), a ReaderStrip of the chapter's pages (lazy images, END panel), previous / next chapter buttons and a comments strip (Message, Bubble, ReactionPicker, Input). From @md/main up, on screens at least 36rem tall, the reader fills a 46rem frame that scrolls inside and the progress bar sticks to the top of the frame and measures it; on phones it follows the page and the progress bar sticks to the bottom edge. Full screen makes the reader root fixed inset-0 with its own scroll (data-fullscreen="immersive", also the fallback when the Fullscreen API is missing or refused, e.g. iOS Safari) and asks the browser for full screen on the document element (data-fullscreen="native"), so the Sheet still opens above it; Escape or the button leaves. Works in light, dark, any accent and at phone width.
pnpm dlx shadcn@latest add "https://mangacn.romain-sonnet.fr/r/manga-reader.json"