shadcn/ui, inked like a manga. The whole set redrawn in ink and screentone, manga pieces (speech bubbles, panels, speed lines, SFX) and 14 full interfaces. Radix or Base UI.
Manga-styled wrapper around your shadcn Accordion. Items are cases stacked so they share their lines; the open header is an ink flat that sweeps in, the content drops in by steps and the brush chevron turns in two steps. Hover thickens the label underline; disabled items keep the label on paper inside a tone frame. Radix needs type="single" | "multiple" on <Accordion>; Base UI does not.
A full chat with an AI story assistant made only with mangacn: a header with the assistant's name, a model switch (Button Group of pressed buttons that drops a Marker in the conversation) and New chat; the conversation in the Message Scroller with Message + Bubble lines (your own in ink bubbles, the assistant's in paper bubbles), Markers ("Today", "Switched to a faster model"), the reasoning folded in a Collapsible that opens a thought SpeechBubble ("Thought for 4 s"), tool steps in a Trace (done checks, a running Spinner), a Code Block, Reaction Picker chips, Attachments on a user line, an offered Questionnaire ("Plan your one-shot") that folds into a summary card, and an error shouted in an accent shout SpeechBubble with Retry. The composer: Attachments row (uploading line, remove action), attach button, Textarea (Enter sends, Shift+Enter new line), send button that shows the loading lines while the assistant answers. Sending plays a fake reply with no network: a running step, the waiting dots, then the answer types in a TypingBubble. From 48rem wide it is a 48rem frame that scrolls inside; narrower it follows the page (no inner scroller) and sending brings the composer back into view. Works in light, dark, any accent and at phone width.
Manga-styled wrapper around your shadcn Alert: a 3px case with a tone shadow that pops in. destructive: accent line, a "!" column at the start and a shake when it appears. Title in lettering.
Manga-styled wrapper around your shadcn Alert Dialog: a 3px case that pops in over three steps (flash adds a halo of concentration lines, off by default), over the light screentone veil from base. Action and Cancel are drawn as manga buttons; the action hits on click (tone="destructive" for irreversible actions).
Manga-styled wrapper around your shadcn Aspect Ratio. No manga effect: it is a layout tool, so only the data-manga hook is added. Same API: pass a ratio (width / height) and the child fills the box.
Manga-styled wrapper around your shadcn Attachment (a file attached to a message or a prompt): a 2px ink frame, a fine-framed media square, title in the reading face and description in small mono. States via state: done (rest), uploading (a running line along the bottom edge), processing (the manga Spinner in the media square), error (accent line, a mark-error '!' and accent description), idle (a solid line with a '+' mark). AttachmentTrigger makes the whole card clickable (hover-lift, focus ring); AttachmentAction is a small square ink button with hover-thicken. AttachmentGroup wraps. Sizes default, sm, xs; orientation horizontal or vertical.
The site of one manga series, made only with mangacn: its volumes (VolumeCards, an ObiBand for the volume still to come), the week's releases, the most read chapters and the shelf, then the series page and the chapter. Reader: Page by page with PageReader or Panel by panel with GuidedView (a pressed toggle), both fed by the same chapter written as page data (PageData: panels, pictures, real bubbles, captions and sound effects); all pages in PageThumbnails and ReaderSettings (order, mode, fit, background) in Sheets from the toolbar, the strip mode as pages one under the other with a sticky ReadingProgress "Page 2 / 3" counter that follows the reading line (useReadingPage), and a ChapterEnd after the last page leading to the next chapter (or its date, or the end of the series) and back to the series. Each screen slides in; reading progress is remembered per series for Continue. Works at 375 px, in light and dark, with any accent.
Manga-styled wrapper around your shadcn Avatar: a small square panel (2px ink frame), pictures in greyscale, initials in lettering on paper. Badge is a small ink square; groups overlap with a paper gap; the group count is an ink flat. Option toned: the picture goes through the toned-image screentone (dots, lines, cross or noise).
Manga-styled wrapper around your shadcn Badge in lettering type. Variants: default (ink flat), outline, tone (screentone tab at the start, label on paper), destructive (clean accent flat), burst ("NEW!" star) and stamp (tilted accent stamp). Optional square status dot; icons via data-icon.
A title ribbon for announcements and section heads: ink, paper or accent, with swallowtail or straight ends; optional speed lines running out from both ends (never under the text).
A SpeechBubble (wrapped, not changed) that switches between the original line and its translation. Both texts share one grid cell, so the bubble keeps the size of the longer one and never jumps; the hidden one is invisible and aria-hidden, each carries its own lang. A two-cell switch sits on top of the bubble (pressed buttons: the current language an ink flat that sweeps in, cells thicken on hover, a click hits, focus stays inside the cell, 44px on phones); the line that comes in pops in steps. Controlled or not; every SpeechBubble variant and tail.
Manga-styled wrapper around your shadcn Breadcrumb: lettering, links whose underline thickens on hover, the current page as an ink flat, brush chevrons between steps.
Manga-styled wrapper around your shadcn Bubble (conversation): speech bubbles with a 2px ink line and a tail at the bottom pointing at the speaker; only the last bubble of a group keeps its tail; new bubbles pop in. default is an ink bubble (your messages), secondary / muted / outline / tinted are paper bubbles, destructive adds the accent and a "!" mark.
A starburst drawn in SVG (irregular spikes, 3px outline) with its content centred on the flat, never on a tone. Variants ink, paper and accent; it fidgets in steps on hover, or always.
Manga-styled wrapper around your shadcn Button. Variants: default (ink flat), outline, tone (screentone band on the bottom third, label on paper), ghost, link (wavy underline that thickens on hover), destructive (accent colour, jagged edge), shout (burst shape for the one call to action on a page; its focus ring is a second burst). Sizes sm, default, lg, icon. Hover: a screentone shadow appears. Pressed: 2px offset and a negative that stays visible in dark mode. Disabled: dashed line, tone frame, label on paper. Adds loading (concentration lines turning in steps, aria-busy) and fullWidth. A click plays a three-frame impact (negative, recoil, settle) with short speed lines on both sides; the shout burst fidgets on hover.
Manga-styled group of buttons and inputs joined in one row or column. Shared edges collapse to one 2px line; the outer corners follow the radius. A ButtonGroupSeparator is an ink rule (2px, no tone) between two buttons. ButtonGroupText is a label cell in the same frame. Works with the kit Button and Input. Vertical orientation is supported. The focused button draws its ring inside itself, never over a neighbour. Gestures: the buttons keep their own G3 hover, G4 impact and focus.
Manga-styled wrapper around your shadcn Calendar (react-day-picker). No frame of its own: put it in a Card, a Popover or an ink-case. Month caption and weekday heads in the uppercase lettering face; square 2px-framed nav buttons with a brush chevron (hover thickens the line, focus is ink / paper / ink). Day cells are cells of a group: hover draws a 1px line inside, focus stays inside the cell. Selected day, range start and range end are ink flats that sweep in over three frames; today is a 2px ink frame (selected wins); the middle of a range is paper with a fine ink line above and below, never a tone behind the number. Outside days keep the same ink in a lighter weight; disabled days get a dashed line-through and a not-allowed cursor. The dropdown caption draws its month and year selects with a 2px line and a brush chevron. Cells are 40px; under 640px they share the available width up to 44px, so a month fits a 360px screen; several months sit side by side from 640px and stack on phones. Same API as the stock Calendar (mode single, multiple, range).
Manga-styled wrapper around your shadcn Card as a comic panel: 3px frame and an offset screentone shadow. Variants: default, bleed (first image runs to the edges), tilted (slanted bottom edge drawn in SVG; the content stays upright), splash (focus lines around a wide empty centre, title on a paper plate), beta (ink flat). interactive lifts it on hover; selected adds a double ink frame.
Manga-styled wrapper around your shadcn Carousel (embla). Every slide is a panel: its content gets a 2px ink frame on paper (ink-case-inner). Previous / Next are the kit outline icon button with a brush arrow: the tone shadow appears on hover, pressed is a negative with impact lines, focus is the ink / paper / ink ring, disabled is dashed with a tone frame. Under 640px they grow to 44px and sit inside the carousel width, in a row under the slides (stock places them 48px outside). Adds CarouselDots, a mangacn addition built on useCarousel: square dots, the current one an ink flat that sweeps in, 24px hit areas (44px under 640px). Manga reading order: under data-reading="rtl" (or opts.direction "rtl", or dir="rtl") embla runs right to left, slides flow right to left, the arrows and arrow keys follow; text stays left to right. Vertical orientation puts the buttons above and below and uses the up / down keys.
The catalog of one manga series, made only with mangacn: a search field (Input Group with a search icon and a clear button), shelf Tabs in the underline variant (All / Reading / Completed / Wishlist), filters (genre Native Select, status Toggles for new / ongoing / completed / hiatus, sort Native Select), a live result count, and a grid of Volume Cards whose covers you pass in covers (a screentone cover without one). When nothing matches, the kit Empty state offers to clear the search and filters. Mobile first: one column at 360 px with two cards per row and a Filters button that opens the fields in a bottom Drawer; from 48rem of its own width (container query @3xl/main) the filters sit in a case beside a grid of three to five columns. Works with Base UI and Radix, in light, dark and any accent.
The end card of a chapter: a 3px panel whose concentration lines surround a central paper plate, with the chapter line, the big SFX word (To be continued, or The end for a finished series) and a brush arrow in the reading direction (a check at the end of a series). Under it, the next chapter as a full-width button with its number, title and optional cover, or, when it is not out yet, the date in a stamp; then any actions the reader wants (back to the series, comments). Under the manga reading order (data-reading="rtl") the arrow points left. The panel pops in once.
A chapter title page used as a section header: a big number in the SFX face with a small label above it, the title in lettering (a real heading, read as "Chapter 3: title"), a 3px ink rule and an optional subtitle, and an optional column of vertical text at the end side against a narrow band of speed lines on its edge (never under the letters). Paper or ink. animated: the number pops and the rule grows from the start in steps when it appears; still with reduced motion.
A character sheet in a case: a portrait panel (toned as a screentone, or the initials on paper), the name in lettering, the role, stats as bars filled with speed lines, tags (kit Badge) and a short quote in a small speech bubble. Static by default; interactive adds the hover lift and the ink focus ring.
Manga-styled wrapper around the shadcn Chart (recharts). Series are told apart by screentone and hatching, never by colour: chartFill(series) gives each series a pattern (solid ink, 45° hatching, dots, horizontal lines, cross hatching, fine dots), bars and areas are outlined in 2px ink, pie slices are separated by paper gaps. Lines differ by dash and by marker (ChartMarker: square, diamond, dot). The container is a case; the tooltip is a speech bubble with a tail; the legend shows pattern swatches. Exports ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, ChartPatterns, ChartMarker, chartFill, chartPattern, chartPatternFill and type ChartConfig. Ink and paper only, dark mode is the negative.
Manga-styled wrapper around your shadcn Checkbox. Square ink box; hover thickens the line (no screentone under 24px); checked is an ink flat with a brush check that draws itself in three frames; indeterminate is a thick bar; disabled is dashed; aria-invalid uses the accent colour.
Manga-styled wrapper around your shadcn Code Block: a 2px ink frame on paper, the file name in lettering above a fine rule, the code in mono, ink only (syntax colours are monochrome). Line numbers in ink. Line variants: highlighted (a 6px ink bar), added (bar and "+"), removed (accent bar, accent "−", struck text). Size sm, destructive frame. The copy button is an ink-framed square: hover thickens its line, focus draws the ink, click plays an impact, and the check icon shows once copied. Long lines scroll inside the block, never the page.
Manga-styled wrapper around your shadcn Collapsible. The trigger is a frameless lettering row: its underline thickens on hover and its brush chevron turns in two steps when open. The content unfolds with a drop-in by steps. No frame of its own, so it sits on the page or inside a case the caller adds. Disabled keeps the label on paper with a dashed underline and a not-allowed cursor. Works with Radix and Base UI.
Manga-styled wrapper around your shadcn Combobox (Base UI in both shadcn versions). The input is the kit input group: a 2px ink line on paper that thickens on hover (G3, fields) and gets 3px + paper + ink on focus; aria-invalid gives an accent line, a "!" mark and a serrated edge; disabled gives a dashed line and a tone frame. The chevron is a brush mark (mark-chevron) that turns when open; the clear button is a small 2px square that inverts on hover. The popup is a case (3px ink line, tone shadow) with a notch toward the input, popping in over three frames. The highlighted item inverts to ink; the chosen item gets a brush check that draws itself; disabled items keep the label with a dashed underline. Group labels are underlined lettering; the separator is a fine ink rule; the empty state is a solid-line box with a "…" mark and lettering. Chips (multiple) are drawn like Badge (2px frame, lettering, square) with a remove cell that inverts; focus stays inside the chip; chips wrap. Rows are 44px tall under 640px. Exports the class strings of the popup, item, label, empty state and chip for static look-alikes.
Manga-styled command palette (cmdk). The palette is a case (3px ink line, tone shadow) with a search row drawn like an input with a search mark and a 2px line under it. Group headings are underlined lettering; the highlighted item inverts to an ink flat; the chosen item gets a brush check; disabled items keep the label with a dashed underline. Shortcuts are mono lettering in a fine frame. CommandDialog pops in over three steps, and its case is the palette itself. Empty state uses a “…” mark. Gestures: G1 case, G2 flat, G3 hover inversion, G5 pop, G8 check.
Manga-styled wrapper around your shadcn Context Menu: a case that opens at the pointer (no notch), popping in. Rows invert to ink on hover or keyboard focus; checkbox rows get a brush check, radio rows an ink diamond; destructive rows use the accent; sub-menus have a brush chevron. Rows are 44px tall under 640 px. Put ContextMenuLabel inside a ContextMenuGroup: Base UI requires it (Radix does not). Works with Base UI and Radix.
A full dashboard made only with mangacn: a collapsible Sidebar (a sheet on phones), four Stat key figures, a bar chart and a line chart in screentone patterns (Chart), a Data Table of chapters with Badge statuses, a period switch (Button Group of pressed buttons) and a Command palette opened with Ctrl/⌘ K. Works in light, dark, any accent and at phone width.
A sortable, filterable, selectable table built on @tanstack/react-table and the mangacn Table. The table is a case with an ink header; sorted columns show a brush arrow (aria-sort); the hovered row gets its ink bar and selected rows a 6px bar. The toolbar has a filter field (filterColumn) and a column visibility menu (grouped, checkable items). Row selection uses the mangacn Checkbox, with a select-all in the header; pagination uses the mangacn Button. An empty filter result shows the "…" mark (TableEmpty). Props: columns, data, filterColumn?, pageSize?, onSelectionChange?(rows). Also exports selectColumn. On phones (table narrower than 640px) rows become cards: checkbox, title, badge, labelled lines; set `meta: { card: ... }` on a column to choose.
mangacn's own Date Picker (shadcn documents it as a recipe, not an item): DatePicker (one date) and DateRangePicker (from / to), built on the manga Popover and Calendar. The trigger is a field like the Select trigger: 2px ink line, a drawn calendar mark, the placeholder in the same ink (italic, never grey), the date formatted with date-fns. Hover thickens the line, focus is ink / paper / ink, the line goes to 3px while open, disabled is dashed with a tone frame, aria-invalid adds the accent line and a "!" mark. The calendar opens in a speech bubble with a tail toward the trigger and pops in; choosing a day closes it (single). The range picker shows two months from 640px and one on phones, so the bubble fits a 360px screen. Works with Radix and Base UI (the trigger only gets a className).
A developer's portfolio made only with mangacn: a top bar whose section buttons scroll in place, an opening spread of two Panels with a slanted gutter (focus SpeedLines behind the portrait you pass (toned by TonedImage, or shown as it is when inked), a SpeechBubble, Sfx lettering and a band of motion lines), projects as a manga page of Cards (wide, two, wide) with the thumbnails you pass, Badge tags, a CodeBlock install snippet and links that do not navigate, skills as a CharacterCard with stat bars, a career as a vertical Stepper, and a contact form (Field, Input, Textarea, Button) that validates on submit, shakes its errors, shows a loading button and then a brush-check success panel. No network. One column on phones; container queries widen it. Works in light, dark, any accent and in manga reading order.
Manga-styled wrapper around your shadcn Dialog: centred 3px panel with a screentone shadow that pops in over three steps; the overlay is a light screentone fixed to the screen (no blur, no moiré when zooming). Sizes sm, default, lg, full. DialogBody adds a scrolling region that keeps the shadow outside. flash adds a halo of concentration lines around the window as it opens (off by default).
A character dialogue box for a queue of lines: a case with a square portrait (a case inside it) on the start or end side, the speaker on an ink name plate on the top edge (it pops when the speaker changes), the line writing itself at 12 fps with a stepped block caret and no reflow, and a 44px arrow button that shows the whole line at once while it writes, then goes to the next line (the arrow blinks in two hard steps), with a 2 / 5 count. A click on the text does the same. After the last line it loops or stays (loop={false}) and calls onEnd. Controlled or not; progress freezes a line for previews. Each finished line is announced; reduced motion shows lines at once.
Plain re-export of shadcn's Direction provider (DirectionProvider and useDirection), with the same API. Nothing is dressed: direction has no manga effect. It always takes `direction` ("ltr" or "rtl"), which both the Base UI and the Radix versions accept. The writing direction (dir) is what the kit's logical properties and rtl: variants follow; the manga reading order (data-reading) is a separate setting.
Manga-styled wrapper around your shadcn Drawer (Base UI drawer or vaul). Like Sheet docked to an edge: paper, a 3px ink line on the open side and an offset second frame thrown onto the page as its shadow, in all four directions. The grab handle is a 2px ink bar with square ends, 64px wide; the title is in lettering; the footer sits above a 2px rule. The library keeps its own slide and drag transforms; the wrapper only makes their timing stepped (steps(5)), so swiping still follows the finger, and nothing moves with reduced motion. The veil comes from base. Adds DrawerCard, a static look-alike of an open drawer for previews and frozen states. Buttons inside are the kit Button.
Manga-styled wrapper around your shadcn Dropdown Menu: a case with a notch toward the trigger, popping in. Rows invert to ink on hover or keyboard focus; checkbox rows get a brush check, radio rows an ink diamond; destructive rows use the accent. Group labels in underlined lettering, sub-menus with a brush chevron. Put DropdownMenuLabel inside a DropdownMenuGroup: Base UI requires it (Radix does not).
Manga-styled wrapper around your shadcn Empty: a 2px solid frame (dashes mean disabled in this kit), title in lettering, media in an ink frame. Adds EmptyMark, a heavy ellipsis that pops in.
Manga-styled wrapper around your shadcn Field family (Field, FieldLabel, FieldDescription, FieldError, FieldSet, FieldLegend, FieldGroup, FieldSeparator). Labels in lettering, descriptions in ink, errors in the accent with a "!" mark and a shake. A choice card (FieldLabel wrapping a Field) is a 2px case; checked, it gets a 6px ink bar at the start.
Reading face for body text and form fields (SIL OFL). Sets --font-manga-body. Installed by base.
Very heavy face for onomatopoeia, covers Latin and katakana (SIL OFL). Sets --font-manga-sfx. Installed by base.
Hand-lettering face for titles, buttons and badges (SIL OFL). Sets --font-manga-letter. Installed by base.
Japanese reading face (kana and kanji, SIL OFL) for furigana, vertical text and original-language bubbles. Sets --font-manga-jp, which base adds as the Japanese fallback of every text face. Optional: not installed by base; without it the system's Japanese font is used.
The password-recovery screen of the mangacn auth flow, made only with the kit. A manga Panel: the picture you pass for each state (pictures), focus SpeedLines, a SpeechBubble ('Forgot it? It happens.', a shout bubble 'Huh?!' on error, 'Yes!' on success), a Manpu sweat drop and the Sfx ハッ. From 48rem of container width the panel stands full height on the start side of the form; narrower, it sits above the form in 4:3 with the character whole. The form, in a case (G1) when there is room: an email Field, a Send code Button with its loading state (the field stays enabled) and a 'Back to sign in' link. Errors with focus on the field: empty or invalid email; an unknown email (demo: an address containing 'unknown') shows a jagged accent box with a '!' mark that shakes, role=alert (G8). Success: an accent Stamp 'Sent!' and an 'Enter the code' button. Links call onNavigate and never navigate. One column on phones with 44px touch targets; container queries widen it. Works in light, dark, any accent and with Radix or Base UI.
The JavaScript half of the mangacn grammar: punch() and withImpact() play the G4 impact on click or keyboard validation (data-impact for ~250 ms), <ImpactLines> draws the short speed lines outside the element, <FocusFlash> draws an optional halo of concentration lines around a window as it opens (G5, never full screen). Everything is skipped with prefers-reduced-motion.
A manga read panel by panel, made for phones: the screen zooms from one panel to the next. It reads the panel geometry of the page model (pageGeometry: every panel's box in reading order, insets included), so a page written as PageData is drawn by Page and guided without any extra data; scans work too, with the box of each panel in percent of the page. The page is drawn once at a fixed width and a camera fits the current panel in the stage, moving in four steps (333 ms); the panels around it hide under a paper veil with wide dots that steps aside while the camera travels. A new page slides in from the side it comes from. Next and previous by tapping the page edges (on hover a paper plate with a brush arrow), the arrow keys following the reading order, Space, Page Up / Down, Home / End, a swipe (the page follows the finger, then turns or snaps back) or the toolbar. Whole page shows the page with every panel as a target (the current one framed, hover thickens a panel's line). A ReadingProgress counts the panels; a live region reads each panel's label. Optional end view (e.g. a ChapterEnd) and a slot for your buttons. Reduced motion: the camera jumps.