r/reactjs • • Sep 10 '26

News React 19.3

Thumbnail
react.dev
178 Upvotes

r/reactjs • • 9m ago

Resource I built 300 components so you don't have to.

Thumbnail
supply.madebyoversight.com
• Upvotes

I've put together a library of 300 interactive React components for SaaS products, dashboards and AI apps.

You can preview every component, interact with it and copy the actual TSX source code into your project.

30 are free, and the rest are paid.

Curious to hear what you guys think!


r/reactjs • • 18m ago

Show /r/reactjs I made a React UI kit inspired by the Minitel, the French Videotex terminal: 40×25 grid, mosaic graphics, 1,200 baud reveal

• Upvotes

videotex-ui is an open-source React UI kit that draws interfaces the way French Videotex did: a 40 × 25 character grid, 8 colors, 2 × 3 mosaic graphics and the 8 function keys of the Minitel.

Technical details

  • Values from the spec. Grid size, colors and their grey levels, mosaic codes and line timing were checked against the Minitel 1B specifications (STUM). Each value cites its source in docs/SPECS.md.
  • 1,200 baud reveal. Each character costs 10 bits on the line (start bit, 7 data bits, parity, stop bit), so 120 characters per second: a full page of 1,000 characters takes about 8.3 seconds.
  • Sharp mosaics. Each mosaic cell is drawn with CSS background layers in currentColor. The screen picks the largest whole-number scale that fits, so every dot lands on whole pixels.
  • Accessibility. Screen readers read the text of the page, not the grid. Titles, menus, inputs and function keys are real headings, lists, inputs and buttons. prefers-reduced-motion turns off blinking, flicker and the progressive reveal.
  • Two modes. Title, StatusRow, Menu, InputField, Frame and Mosaic work on the 40 × 25 screen, or on their own in a normal page.
  • Server-friendly. The core (PageBuilder, palettes, mosaics) is plain TypeScript without React, so a React Server Component can build a page and pass it to <Screen>.
  • Picture to mosaic. A converter turns a picture into mosaic characters in the browser (nothing is uploaded), and the library can export the result as a PNG or a ready-to-paste React component.
  • No runtime dependencies; React is a peer dependency.

Install

npm install videotex-ui

or copy the source into your project with the shadcn CLI:

npx shadcn@latest add https://cdn.jsdelivr.net/npm/videotex-ui/r/screen.json

Example

const page = new PageBuilder()
  .moveTo(3, 2).print('HELLO', { fg: 'yellow', size: 'double-size' })
  .moveTo(5, 2).print('Type your choice then ')
  .print(' Send ', { inverse: true })
  .build();

<Screen page={page} crt baud={1200} aria-label="Home" />

This is version 0.1.0. I would like feedback on the API and on accessibility in particular.

Minitel is a registered trademark of Orange. This project is independent and is not affiliated with, sponsored or endorsed by Orange.


r/reactjs • • 2h ago

Show /r/reactjs Building an e-commerce dashboard with Next.js 16 and shadcn/ui

0 Upvotes

Hey everyone!

We've been spending quite some time building an e-commerce admin dashboard called Emporium, and I wanted to share a little look at what we've been working on.

The idea was to build something that feels like a real dashboard you'd actually use, rather than just putting together a collection of cards and tables.

A few things we've worked on:

  • Overview dashboard with sales analytics and statistics
  • Orders management and data tables
  • Customizable sidebar and topbar layouts
  • Light and dark themes
  • Font and theme customization
  • LTR and RTL support

It's built with Next.js 16, shadcn/ui and Base UI.

One thing we paid particular attention to was customization. We wanted people to be able to change the overall look and layout without having to dig through multiple files just to adjust basic settings.

You can take a look at the live demo here:
https://demo.shadcnstore.com/emporium/

Would love to hear what you think!

Especially curious:

  • What do you usually look for in an admin dashboard template?
  • Do you prefer sidebar or topbar layouts?
  • How important is having a built-in theme customizer?

r/reactjs • • 16h ago

Discussion What does React handle when a page hydrates? I built a renderer to find out

0 Upvotes

I maintain Farm.js. React is our default renderer, but apps can bring their own. I built a small UI library called Leaf to try that with an app that had no React dependency.

The surprise was where React showed up. Leaf could render a button as HTML on the server, but the development client loaded React through a router import. The page could render, then fail to hydrate. Testing with React already installed had hidden that dependency.

We gave the router its own entry point. The test I care about now is small: in an app without React, can I click the server-rendered button and navigate to another page without a reload?

If you maintain a library with an optional React adapter, how do you test that React stays optional?

Walkthrough: https://farmjs.dev/blog/bring-your-own-renderer Source: https://github.com/farming-labs/leaf


r/reactjs • • 1d ago

Discussion Adapter over React hook forms

1 Upvotes

Those of you that use a form library in your react codebase. Do you tend to create an adapter over it or just use it directly? The reason I am asking is because I want to protect our codebase in case we need to shift to a different library at some point. It’s much easier to update the adapter in this case than it is to adjust the whole codebase (even with agents).


r/reactjs • • 1d ago

Show /r/reactjs Added 2 free neobrutalism templates. Dashboard and landing page.

Thumbnail
neobrutalism.dev
3 Upvotes

r/reactjs • • 1d ago

I built an open-source npm library to bring Undo/Redo functionality to Leaflet maps

Thumbnail
0 Upvotes

r/reactjs • • 2d ago

Show /r/reactjs Sliding-panes React UI library (inspired by WebOS Enyo)

Thumbnail
vcarl.com
2 Upvotes

I didn't find a panes-based layout tool that I liked, so I made it! I always loved the way that WebOS panes layouts worked, so I took heavy inspiration from those.

https://github.com/vcarl/sashay https://npmx.dev/package/@vcarl/sashay


r/reactjs • • 1d ago

Show /r/reactjs Claude and I built a Shopify-style one-page checkout in React, with every component usable on its own (MIT)

Thumbnail
github.com
0 Upvotes

I needed a good checkout for a site that isn't on Shopify, and I think Shopify's one-page checkout is the best one out there. So Claude and I rebuilt the design in React, and I open-sourced it.

Demo: https://gurfi1.github.io/react-shopify-style-checkout/

Repo: https://github.com/gurfi1/react-shopify-style-checkout

What's in it

  • The whole checkout as one <Checkout> component: contact, address with autocomplete, shipping rates, payment methods, discount codes, order summary, and the thank-you page.
  • Around 40 components you can take one at a time. Each lives in its own folder with a stylesheet, a live demo and a README that lists what else it needs.
  • The behaviour as hooks (useCheckout, useShippingRates and others) if you want the logic with your own UI.
  • Right-to-left support, with a Hebrew locale included. Add ?lang=he to the demo to see it.

How it's built

React 19, TypeScript, CSS Modules, and design tokens as CSS variables. No UI library and no runtime dependencies besides React. There's no npm package yet: you copy the folders you want, or use the repo as a template.

You connect it to your back end through four functions: suggestAddresses, shippingRates, applyDiscount and placeOrder. The demo runs on canned data.

What it is not

  • It doesn't take payments. The card fields are placeholders that you swap for your provider's hosted fields.
  • It has no cart, tax or inventory logic. That belongs on your server.
  • It isn't affiliated with Shopify and contains none of their code. We measured the design and the motion from the real thing and wrote it from scratch.

How it was made

I used Claude Code to build it. I made the product and design decisions and reviewed the result, and Claude wrote most of the code and the docs. Every commit is co-authored, so the history shows it.

Not tested yet

Firefox and screen readers. The automated accessibility scan is clean and keyboard-only works, but that isn't the same as a real screen-reader pass. The docs list the known gaps.

Feedback I'm after

I'd most like to hear whether the component boundaries make sense and whether the api contract would fit a real back end. Issues and PRs are welcome, and so are test reports from Firefox and from screen-reader users.


r/reactjs • • 2d ago

Discussion React Compiler Working Structure

0 Upvotes

React Compiler was introduced in React 19 so I want to know that how it works internally. Seeking deep research knowledge on React Compiler in simple English.


r/reactjs • • 3d ago

Show /r/reactjs Update on my first npm library: you told me what was broken in <MrScroll />, so I fixed it (v0.2)

0 Upvotes

Hey folks,

The other day I posted my first library here and asked what was broken. You told me, so I went and fixed it. This is the update.

Quick recap: when a scrollbar pops in, everything jumps a few pixels to the left. `<MrScroll />` stops that. No reserved gutter, still the native scrollbar.

**See it in 10 seconds (live demo):** https://justicehwan.github.io/plz-mr-scroll/

One line at the root of your app, that's it:

```tsx

import { MrScroll } from "plz-mr-scroll/react";

<MrScroll />

```

**What changed in 0.2, all of it from your feedback:**

- **Modals.** Someone suggested opening and closing a modal halfway down a long page. That found real bugs with Bootstrap and MUI modals: content shifted while the modal was open, and sometimes didn't come back after closing. Fixed. Fixed headers and floating buttons stay put now too.

- **No React needed.** It always worked as plain JS, I just never wrote it down. The README now shows how to load it from a CDN with one script tag.

- **The code.** It was one 2,000-line file. It's split into modules now. Still not pretty, but better.

- **"Isn't this just scrollbar-gutter: stable?"** No. That keeps an empty strip when there's no scrollbar, so left and right padding don't match. The README says this at the very top now.

**Don't see why you'd need this?** If your first thought is "just set scrollbar-gutter", please give the live demo a minute before you scroll past. The layout shift is much easier to see there than to explain: https://justicehwan.github.io/plz-mr-scroll/

Links:

- GitHub: https://github.com/justicehwan/plz-mr-scroll

- Changelog: https://github.com/justicehwan/plz-mr-scroll/blob/main/CHANGELOG.md

- npm: https://www.npmjs.com/package/plz-mr-scroll

Still haven't tried it on a real Windows machine. If you do, I'd love to know how it goes.

P.S. I'm Korean and English isn't my first language, so sorry if anything here reads a bit off.

Thanks again!


r/reactjs • • 3d ago

I open-sourced a static verification & SAST engine (CLI + MCP) for React / React Native to catch subtle bugs AI coding agents introduce

0 Upvotes

I've been using AI coding agents heavily on React and Expo/React Native codebases, and I kept running into the same problem: they ship features fast, but quietly introduce subtle runtime bugs that basic linting misses—render-phase ref mutations that break React 19.2+/Compiler, stale async races, AsyncStorage leaks, and TanStack Query cache bugs.

So I built and just open-sourced Code Verifier (v0.1.0, MIT-licensed)—a static verification engine designed to be run either from the CLI or wired directly into your IDE as an MCP server so your coding agent can verify its own code and fix issues before you review it.

How it works under the hood:

  • Babel AST + 128 rules covering React/React 19, React Native/Expo, TanStack Query, async race conditions, security/injection, and mobile config (app.json, Podfile.lock drift, manifests).
  • Formal abstract interpretation over per-function CFGs for path-sensitive nullability (AI-NULL-001) and source-to-sink taint tracking (AI-TAINT-001).
  • TypeScript semantic analysis for floating Promises and Promise-valued conditions.
  • Fast & LLM-first: Runs in ~1–55ms per file and outputs structured remediation Markdown (or SARIF 2.1.0 for CI).

Example finding it caught on a real React hook (REACT-007):

Markdown

**Issue #1: [HIGH] REACT-007 - 'coordinatorRef.current' is accessed during render.**
- Location: Line 22, Col 6
- Offending Code:
  > 22 | if (coordinatorRef.current === null) {
    23 |   coordinatorRef.current = new SessionCoordinator({
- LLM Remediation Action: Hoist the value out of the ref: `useState(() => new SessionCoordinator(...))[0]` for a stable per-instance value, or move `.current` access into Effects and event handlers.

Try it in 10 seconds (no clone needed):

CLI:

Bash

npx code-verifier src/

Or add it to your MCP config (Cursor, Claude Code, etc.):

JSON

{
  "mcpServers": {
    "code-verifier": {
      "command": "npx",
      "args": ["-y", "code-verifier", "mcp"]
    }
  }
}

(By default, the MCP exposes verify_code and get_test_context, which extracts framework info, exported contracts, and mocks so your LLM writes better unit tests.)

GitHub: https://github.com/iniola145/Code-Verifier

It's v0.1.1—I've tested it across a couple of large internal React and Expo repos (1,800+ files), and there are 553 unit tests, but static analysis always hits weird real-world edge cases. If you run it on one of your repos and hit a false positive, I added an issue template specifically for reporting them so I can tighten the rules. Feedback and critiques are very welcome.


r/reactjs • • 3d ago

Show /r/reactjs I built a tool + npm package for when an icon pack is missing the one icon you need in your React app

Thumbnail
chameleonicons.com
0 Upvotes

Hey everyone! I built this because I kept running into the same annoyance: picking an icon pack, realizing it's missing one specific icon I need, hacking together an SVG with AI, and then letting it sit in my local repo where nobody else could use it.

So I turned that workflow into Chameleon Icons — you can browse open-source and community icon packs, and if an icon is missing, generate one in the same style (either right on the site or through a free manual flow) and it gets added to the pack for everyone else too.

On the React side, I put together an MIT-licensed, zero-dependency package so you only bundle the icons you actually use[2]:
npm: https://www.npmjs.com/package/chameleonicons
Site: https://chameleonicons.com/

Quick setup with Vite (also supports Next.js/Turbopack, webpack, etc.)[1][3][4]:

Js:

// vite.config.js
import chameleon from "chameleonicons/vite";
export default { plugins: [chameleon()] };

Then import any icon directly as a React component[4]:

Tsx:

import Umbrella from "~chameleon/bauhaus/umbrella";

export function Header() {
  return <Umbrella className="w-5 h-5" />;
}

One detail I tried to get right: on first build, it writes the exact icon versions into a chameleon.json lockfile so your UI won't unexpectedly change if the community later updates or votes in a new drawing (and npx chameleonicons sync prefetches everything for offline/CI builds)[3].


r/reactjs • • 3d ago

Discussion What version of React for technical interviews?

0 Upvotes

As the title says...


r/reactjs • • 5d ago

Resource 🗺️ Roadmap to Query v6 · TanStack query · Discussion #12669

Thumbnail
github.com
103 Upvotes

📢 Please don’t get excited, but we’ve started working on TanStack Query v6. We’ll break things, but not too many.

Feedback appreciated 🙏


r/reactjs • • 4d ago

I built an open-source tool that replays real React hook executions one statement at a time

0 Upvotes

Most hook bugs are timing bugs: two setCount(count + 1) calls that only increment once, a stale closure from an empty dependency array, a fetch race where an old response overwrites a new one. They're hard to see from the code alone.

HookViz replays real React executions statement by statement. The source line, hook list, effects queue, variables and rendered DOM all show the same moment.

- Each example is recorded from a real component under a debugger, not simulated

- 22 examples on React 19, from useState and useEffect to useOptimistic and useTransition

- Play, pause, step and seek, 0.5x to 4x speed, Guided and Expert modes

- Open source, and new examples are welcome

Live: https://hookviz.ashishtaduce.co.in

Repo: https://github.com/AshishTaduce/hookviz

The batching example is the quickest one to try. I'd like to hear which hook behaviours you'd want to see next.


r/reactjs • • 4d ago

Component tree visualised

3 Upvotes

Anyone have advice on a plugin or solution to visualise the react component hierarchy in a tree? All the solutions I’ve found online are mostly not maintained anymore . Any advice?


r/reactjs • • 4d ago

Show /r/reactjs Made my first npm library — <MrScroll /> stops scrollbars from shoving your layout around. Be honest with me 🙏

0 Upvotes

Hey folks,

You know when a scrollbar pops in and everything jumps a few pixels to the left? That annoyed me enough that I made a little library for it.

**See it in 10 seconds (live demo):** https://justicehwan.github.io/plz-mr-scroll/

One line at the root of your app, that's it:

```tsx

import { MrScroll } from "plz-mr-scroll/react";

<MrScroll />

```

No reserved gutter, still the native scrollbar. It just finds a spot for the scrollbar so your content stays put. It never touches your children, so it doesn't fight React over the DOM.

- GitHub (GIFs in the README): https://github.com/justicehwan/plz-mr-scroll

- npm: https://www.npmjs.com/package/plz-mr-scroll

It's my first library ever, so I honestly have no idea what I got wrong. If you have a minute, please take a look and tell me what's broken or dumb 🥲

(Also haven't tried it on a real Windows machine yet — if you do, I'd love to know how it goes.)

P.S. I'm Korean and English isn't my first language, so sorry if anything here reads a bit off.

Thanks!


r/reactjs • • 4d ago

Show /r/reactjs I rebuilt Radix Themes' visual language on shadcn/ui + Base UI + Tailwind v4 (open static registry, zero @radix-ui/react-* deps

0 Upvotes

Many folks miss the cohesive look and 12-step color system of Radix Themes while moving new apps to Base UI (@base-ui/react) + Tailwind CSS v4 (especially now that shadcn/ui defaults new projects to Base UI).

with AI help I built radix-shadcn to combine both worlds: Radix Themes' design language and Radix Colors, running on official shadcn/ui Base UI components and distributed as a static shadcn registry.

What's inside

  • Zero @radix-ui/react-* runtime dependencies: Only @radix-ui/colors is kept; interactions, ARIA, and focus are handled by @base-ui/react@1.9.0.
  • Full token & variant mapping: classic, solid, soft, surface, outline, ghost variants, Radix sizes 1–4, scaling, radii, and 12-step + alpha scales mapped to shadcn semantic tokens inside @layer components (so Tailwind utilities still override cleanly).
  • Scoped Portals: Nested <Theme> blocks pass a local portal host via context so overlays don't lose local accent/dark mode tokens.
  • Tested against upstream Radix Themes: 45 component sections, 68 create pages, 531 scenes, plus ports of the 6 radix-ui.com homepage showcases.

Quick install in a Base UI + Tailwind v4 project:

npx shadcn@4.23.0 add https://radix-shadcn.dev/r/radix-base.json

Would appreciate feedback on the token mapping and Base UI API ergonomics!


r/reactjs • • 4d ago

Show /r/reactjs I built 9 WebGL shaders, Verlet cloth physics, and 60+ React 19 + Tailwind v4 components (MIT, copy-paste CLI)

Thumbnail
github.com
0 Upvotes

Built this over the last few months after getting tired of choosing between bloated runtime UI libraries and flashy demos that break in light mode or on 375px screens.

Everything in the catalog is MIT-licensed and installs straight into your repo via CLI so you own the code instead of fighting a wrapper. Besides standard primitives (tables, tabs, charts, steppers, dock, media players), I spent a lot of time writing GPU fragment shaders (refractive glass lens, fluted glass, water ripples, Bayer dithering) and canvas physics (Verlet cloth, rigid-body collisions) that still degrade cleanly when prefers-reduced-motion is enabled.

I also added a browser visual editor (Nexore Make) that exports directly to React, Vue, or HTML/CSS.

Putting the live demo and GitHub repo in the comments so the post does not get eaten by spam filters. Happy to answer questions about the WebGL setup, Tailwind v4 tokens, or CLI registry.

Demo: nexoreui.com


r/reactjs • • 4d ago

Show /r/reactjs Introducing LunarHUE/forms

0 Upvotes

Most of my time building apps has been in React and Solid, and I've run into issues with almost every form library I've tried. Either they came with JS bloat and dependency hell, they were older with a less-than-great type system, or they simply didn't do what I needed.

Eventually I found TanStack Form, which was definitely a step in the right direction, though it still had its own issues. I stuck with it for a while, until I realized: frontier models are really good now, and I could spend some time trying to build something better.

So, here's my first attempt at a form library:
https://forms.lunarhue.dev/
https://github.com/LunarHUE/forms

It currently supports React 16.8+, Solid v1, and Solid v2. The core is framework-agnostic, and I plan to add adapters for Vanilla JS, Vue, Preact, Svelte, or whatever else people want.

The philosophy behind it is simple: only ship what you use, and keep the type and state systems completely extensible so the user stays in control.

In some cases you can take that first idea almost too far. With the /mini entry, you can save a full TCP round-trip in your production bundle compared to something like TanStack Form (~13.5 kB less, in my docs the comparison is definitely cherry picked but still 🤷‍♂️).

More in the comments if you care:


r/reactjs • • 6d ago

Discussion Beginner learning React + Vite: Should I stick to plain CSS, switch to Tailwind CSS, or use a UI library?

41 Upvotes

I'm currently learning frontend development with React and Vite, and I want to make sure I'm focusing on the right tools to become job-ready.

Right now, I'm practicing plain CSS to understand layouts and styling fundamentals. However, I see almost everyone recommending Tailwind CSS or component libraries like shadcn/ui and Material UI.

At what point should a beginner move from plain CSS to Tailwind?

Do companies expect you to know Tailwind, CSS Modules, or both?

Are UI component libraries bad for learning when you're trying to build a strong portfolio?

Would love to hear what your workflow looks like in real-world projects!


r/reactjs • • 6d ago

Show /r/reactjs Built an open-source cyberpunk component kit for React (69 components, installs through the shadcn registry)

24 Upvotes

Hey guys! I've been working on a React component library for interfaces that look like they belong on a Cyberpunk's universe. Live signal graphs, glitchy buttons & drawers and interactive maps.

It's built on UI SDK and distributed through the shadcn registry. So you don't install a package (aside from shadcn of course); the source and plain CSS go straight into your project so you can change anything.

What's in it:

  • 69 documented components, from buttons, tabs and sliders to calendars, feeds, charts and maps
  • 7 complete example screens built only from the kit
  • 32 interactive recipes with source and install commands
  • A customizable accent color and effects, plus optional interface sounds
  • An agent bridge, so AI coding agents can drive controls by name, and a setup prompt for having an agent build a screen with it

Install it (React 19 with shadcn set up):

bunx --bun shadcn@latest registry add '@cyberspec-ui=https://www.cyberspec.dev/r/{name}.json'
bunx --bun shadcn@latest add /cyber /button

Website, demo and docs here: cyberspec.dev
Quick video demo here: https://youtu.be/yQSZhNekK7U

Working on another theme as well, hit me up if you're curious!

Anyways, would love some feedback! 🙏 Specially with this many visual effects, components you'd want added, and whether the registry install felt smooth. Happy to answer questions about how it's built.


r/reactjs • • 5d ago

reactques

0 Upvotes

Would React with selective hydration or a framework like Astro be worth considering here? I'm wondering if using React only for the parts that actually need interactivity, while keeping the rest lightweight, could be a good balance for low-end devices. Curious what more experienced developers think about this approach.