r/react • u/avocoipc • Nov 26 '25
Portfolio Portfolio
🚀 Starting my 2025 portfolio! Hero section inspired by Lando Norris web. Next.js 15, React Three Fiber, GLSL & GSAP. The future is here! ✨
r/react • u/avocoipc • Nov 26 '25
🚀 Starting my 2025 portfolio! Hero section inspired by Lando Norris web. Next.js 15, React Three Fiber, GLSL & GSAP. The future is here! ✨
r/react • u/ConstructionNext3430 • Dec 23 '25
Figuring out networking, database connections, client configurations, docker setup, CORs, DNS settings, security, and banging my head against the deployment button over and over to test web sockets gives me goose bumps just thinking about it.
What web socket libraries do you all recommend for a mono repo app that has a next.js app running in a docker container with bun? I am using a PostgreSQL db with logical replication right now to enable “live messaging”, but I am slightly worried it may not scale as well as a dedicated web socket app connection.
r/react
•
u/Prestigious-Bee2093
•
Jan 20 '26
Hey r/react,
I wanted to share a library I've been working on called shimmer-from-structure.
The Problem: We've all been there: you build a beautiful component, then you have to manually build a separate "skeleton" version of it. Then, a week later, you change the layout of the real component (e.g., move the avatar to the right, increase padding, change border-radius). Now you have to remember to go back and update the skeleton component too. If you forget, your loading state looks "janky" and misaligned.
The Solution: I built shimmer-from-structure to solve this by automatically adapting to your component's runtime structure. Instead of creating a separate skeleton, you just wrap your real component in <Shimmer>. It invisibly renders your component (with transparent text) to measure the exact DOM layout, border-radii, and dimensions, then overlays a pixel-perfect shimmer.
Key Features:
Zero Maintenance: Change your layout, and the shimmer updates automatically.
Pixel Perfect: Matches exact padding, margins, and flex gaps.
Auto Border-Radius: Automatically detects if your avatar is circular or your cards have rounded-xl.
Dynamic Data Support: Pass templateProps to inject mock data (e.g., long names vs short names) to test how skeletons look with different content.
Container Backgrounds: Preserves your card backgrounds/borders while shimmering the content.
Usage with Next.js: Since this relies on DOM measurement (getBoundingClientRect), it works as a Client Component.
'use client';
import { Shimmer } from 'shimmer-from-structure';
import { UserCard } from './UserCard';
export default function UserProfile({ loading }) {
// Use templateProps to provide mock data for the structure
const mockUser = { name: 'Loading...', role: 'Please wait' };
return (
<Shimmer loading={loading} templateProps={{ user: mockUser }}>
<UserCard user={null} />
</Shimmer>
);
}How it works under the hood:
It renders your component with visibility: hidden (or transparent text) to let the browser compute the layout.
It uses useLayoutEffect to measure leaf nodes (images, text blocks, buttons).
It overlays absolute-positioned divs with a specialized shimmer gradient.
I'd love to hear your feedback or feature requests!
Links:
GitHub: shimmer-from-structure
r/react • u/buildwithsid • Feb 07 '26
would love some feedback, available for hire
r/react • u/pareylook • Dec 23 '25
r/react • u/Different_Spite_1599 • Mar 08 '26
For the past 3 months I’ve been building a motion editor in React, and the main technical challenge has been getting smooth animation performance inside a browser editor.
The stack is mainly:
React for the editor UI
PixiJS for rendering and manipulating elements on the canvas
GSAP for handling animation transitions between states
The animation model is a bit different from traditional timeline/keyframe editors.
Instead of a timeline, the editor works with state-based animation steps.
When the user clicks Animate, they can move, rotate, resize, or modify any element. The system then compares the previous state with the new state and generates the transition automatically.
So internally it's more like:
state A → state B → state C
and GSAP handles the interpolation between those states.
This approach removes the need for timelines or manual keyframes and makes the editor feel closer to design tools like Canva rather than traditional animation software.
One of the hardest parts so far has been performance optimization, especially for:
low-end laptops
large canvases with multiple elements
mobile devices (still not fully optimized yet)
I'm currently experimenting with things like:
reducing React re-renders around the canvas
pushing more work into Pixi's rendering layer
minimizing object recalculations during animation steps
It's getting there, but mobile performance still needs a lot of work.
I recently opened the free beta 3 days ago and around 140 early users have joined so far, many of them indie founders & canva users using it to create short product visuals and simple motion content for their apps.
If any React devs here are curious to try it or have suggestions around canvas rendering, animation pipelines, or performance optimizations, I’d really appreciate the feedback.
Link : Vevara App
Happy to answer any technical questions too.
r/react • u/mydearcruelworld • Feb 02 '26
Hello everyone. I’ve been working on a personal project called Selia.
I wanted a UI kit that’s composable but looks good by default based on my own taste. I used Base UI as the headless foundation and Tailwind for styling, then focused the rest on the design.
It’s CLI-based, so it just pulls the raw source code into your project. There are no abstractions or hidden dependencies; it's just React and Tailwind code that you can fully own and edit.
Started this to scratch my own itch, but figured I’d share it. If you like the design, feel free to give it a spin.
Check it out here: https://selia.earth/
Thank you!
r/react
•
u/EnthusiasmWild9897
•
Apr 03 '26
Everyday, I see self promoted content here. I'm tired of it
r/react • u/TragicPrince525 • Apr 03 '26
What I envisioned months ago is finally out for use.
My Sketchbook-style React Component Library is Live!
The goal is to make UI feel a bit more human and less perfectly polished. Components that look like they came out of a sketchbook rather than a design system.
Includes 20+ components and I have tried to optimize them as much as possible.
No need to install anything else besides react and react-dom and thus it works with all frameworks based on React.
Using Storybook for docs and I have tried to keep it informational but concise.
The npm package is simply named sketchbook-ui
Feedback is appreciated!
Consider giving a ⭐ if you like it
Github :- https://github.com/SarthakRawat-1/sketchbook-ui
r/react • u/Bubbly_Lack6366 • Dec 02 '25
I have ADHD and here's the thing: I could literally SEE the charges hitting my account every month, but I'd just... forget to cancel them. Like I'd notice it, get annoyed, and then five minutes later it's gone from my brain.
$34/month. $408/year. Just burning away on stuff I didn't even use:
Netboom - cloud gaming for a mobile game I can't even play anymore ($10)
EasyFun - also cloud gaming, same reason ($10)
Patreon - subscribed to some gaming YouTuber I haven't watched in months ($5)
Windscribe VPN - used it for literally one month then forgot it existed ($9)
Every single month I'd see the charge and think "oh yeah I should cancel that" and then immediately forget.
What I tried (and why it all failed):
Spreadsheet templates - opened it once, never again
Google Calendar reminders - snoozed
Phone alarms - again, snoozed
The problem: anything that required me to actively remember to check it wasn't gonna work. I needed something that would actively bug me until I dealt with it.
So I built a website that bugs me EVERY SINGLE DAY starting 7 days before renewal until I mark it as "keep" or "cancel." Like actually can't ignore it even if I wanted to.
The tech stack I used: NextJS, shadcn/ui and prisma (postgresql). PWA for app-like experience with push notifications.
Results: 2 months later:
All 4 subscriptions cancelled
$68 saved so far, $408/year saved going forward
Zero surprise charges since
The key was making it so annoying that dealing with the subscription was easier than dealing with the daily reminder.
r/react • u/zohair636 • Jan 02 '26
Rate this folder structure out of 10. If you have any suggestions, feel free to express them. Your feedback will be very helpful to me.
r/react
•
u/soyluhaliyikama
•
11d ago
I got tired of toasts stacking up, so I built Ding. Only one toast shows at a time, and a new call morphs the one on screen instead of adding another.
Spring physics, no dependencies, no stylesheet to import. Works with React 18+, Svelte 5 and plain DOM.
https://github.com/YusufCeng1z/ding
First library I've published, feedback welcome.
r/react • u/Standard_Ant4378 • Nov 20 '25
This is what the entire React codebase looks like in the codecanvas.app VSCode extension
It's pretty slow with almost 4000 files open at the same time (packages, fixtures, scripts, and compiler) but if you open just one module at a time it's super smooth.
This is a VSCode extension I'm building to help get a better understand of your codebase by getting an overview of the actual code files on an infinite canvas, arranged based on the dependency graph.
It's displaying the actual code, not just nodes for the files and you can ctrl+click on functions, variables and most other tokens that VSCode supports as well to show connections for their references throughout the files on the canvas.
r/react • u/TragicPrince525 • Mar 04 '26
Around 4 months ago I shared an idea here about building a Sketchbook-style React Component Library, and the response was really encouraging.
Since then I've been slowly working on it alongside college and job/internship hunting (still looking), which meant progress was a bit slower than I hoped.
But it's finally live in beta!
The goal is to make UI feel a bit more human and less perfectly polished. Components that look like they came out of a sketchbook rather than a design system.
Right now it includes 20+ components, and I’ve tried to optimize them as much as possible.
A shadcn-style CLI installer and npm package are coming very soon (hopefully within the next couple of days).
For now you can simply copy-paste the components directly into your project.
It's still early and I'm actively improving it, so feedback would mean a lot!
r/react • u/Aggressive-Deal2407 • Jan 07 '26
r/react • u/piemenard • Feb 04 '26
Hi everyone, first time posting here. I’m transitioning into web dev (fullstack) from a 3D/animation background, and I rebuilt my portfolio using React + Three Fiber + Motion to reflect that.
Link: https://pinedog.space/
Any feedback is welcome!
Edit: I followed the helpful feedback some of you gave: made the background a little darker and some other additions but most importantly I added an option to switch to a minimal 2d version with no extra fuss. The changes are live on the link so check that out. I don't think there's a way to edit or change the uploaded video so keep in mind that it is a little different now.
r/react • u/Terrariant • Jan 08 '26
I’ve seen a couple posts from this sub about reducing the amount of rendering React does. This kills me because I was a developer who wanted to perfect my app’s rendering as well.
Then I watched this documentary, and had a lightbulb moment at this part (9 minutes into the video: https://m.youtube.com/watch?v=8pDqJVdNa44)
React is built to rerender and actually that is what sets it apart from other frameworks. By hyper focusing on reducing renders and setting up extra systems, you may be kicking yourself in the foot by working against best practices.
Memos are there for when your rerenders have expensive logic during the render cycle - I.e. this is ok in a component body without a memo
const x = 1+2 But something like this may “hang” your renders because it is running an expensive calculation each time
const x = myReallyLongArray.map(findFoo).filter(findBar)In short, don’t optimize before you need to, react can handle a lot more than you think it can.
r/react • u/Present_Ad3152 • 22d ago
I built an aura ascii-reveal component for reactjs to replace the old ancient gray skeleton. Put this cool effect in your project! I'm happy if there's feedback about the product!
r/react • u/buildwithsid • Feb 04 '26
used framer motion for that buttery smooth feel
r/react • u/Euphoric-Series-1194 • Dec 19 '25
I've been building I.T Never Ends, a dark comedy card game where you play as an IT support guy working for eldritch horrors. It's a Reigns-style swipe-based game with resource management, branching narratives, and minigames. And yes, the whole thing is built in React.
Here's the stack:
React 19 + Next.js 16 (App Router)
TypeScript (obviously)
Tailwind CSS 4 for styling
Framer Motion for animations
React Three Fiber + Drei for 3D elements
Radix UI primitives for accessible UI components
Tauri 2 for desktop packaging
This isn't a physics-based platformer or an FPS. It's essentially a UI-heavy state machine with cards, meters, dialogs, and narrative branching. When you think about it that way, React is actually perfect:
State management is the whole game
The core loop is: display card → player swipes → update 4 resource meters → check win/lose conditions → queue next card based on flags. That's just... React. useState, useReducer, context. The entire game state is a predictable flow of UI updates based on user input.
2. Component composition = content scalability
I have 80+ card definition files. Each card is basically data that gets rendered by reusable components. Adding new content means adding a new .ts file with card data, not touching game logic. The component model makes this trivially scalable.
3. CSS is actually good now
Between Tailwind 4 and Framer Motion, I'm getting buttery 60fps animations without touching canvas or WebGL for 90% of the game. The swipe animations, glitch effects, CRT scanlines—all CSS/Framer. React Three Fiber handles the few 3D scenes I need.
4. Tauri > Electron
This was key. Tauri wraps the Next.js static export in a Rust-based shell. The final build is ~15MB instead of 150MB+. Native performance, tiny bundle, no Chromium bloat. Next.js's static export plays perfectly with Tauri's architecture.
5. Iteration speed
Hot reload means I can tweak card text, adjust animations, rebalance difficulty, and see results instantly. For a narrative game where you're constantly adjusting pacing and "feel," this is invaluable.
Animation orchestration gets complex. Framer Motion is great, but coordinating sequenced animations across multiple components required some custom hooks. AnimatePresence can be finicky.
Audio management is a pain. Had to build a custom sound provider context. React's lifecycle and browser autoplay policies don't mix well with game audio.
Memory leaks are sneaky. Lots of useEffect cleanup debugging. Games tend to create more subscriptions and timers than typical web apps.
I released an early web build for itch.io. It's basically the full game as it looks right now, but there are late game bugs and weirdnesses in it.
Ultimately, the plan is to release it via Tauri for Steam. Same codebase. Tauri is pretty nice to work in. I have previously made and released a game in Godot and honestly I found all the finicky stuff about resolution/window management much easier in Tauri. Maybe because it's closer to the stack I use in my day job.
If anyone's curious about specific implementation details—the card system architecture, how I handle save/load with Tauri's store plugin, the state machine for game flow—happy to go deeper.
🎮 itch.io (playable build): https://dadbodgames.itch.io/it-never-ends
💨 Steam (wishlist): https://store.steampowered.com/app/4225400/IT_Never_Ends/
TL;DR: React is actually great for narrative/card games. The whole "React for games is stupid" take only applies if your game needs a render loop. If your game is fundamentally UI state transitions, React is arguably the right tool.
Would love to hear if anyone else has built games in React or has questions about the architecture!
r/react • u/Vito__B • Apr 09 '26
Hello everyone
I’ve been working on this for a few months.
It started as a simple Windows XP–themed personal website, but gradually turned into a semi Windows XP simulation.
I’d really appreciate it if you could check it out:
Link: irfansubasi.com
I just made it public, so I’m looking for feedback and bug reports. I hope you like it!
P.S.: It’s primarily designed for desktop. There is mobile support, but for the full experience, I recommend using a desktop.
r/react • u/LordSnouts • Dec 11 '25
Hey y'all,
I’ve been working on a little holiday side-project: an Advent-calendar style series of daily SQL puzzles, all running in an in-browser SQLite instance with a custom React workbench.
You can run queries, see results instantly, and track progress. Would love thoughts from fellow React devs on the UI, structure, and performance.
Happy to answer any tech questions like how I embedded SQLite in the browser. It works. It's kinda cool. It's a legit working database.
https://dbpro.app/advent-of-sql
Thanks all and a ho-ho-ho,
J
r/react • u/jmcamacho_7 • Feb 26 '26
Hey everyone! I’ve spent the last few weeks working on a project called "Core".
I was tired of how "cramped" complex web dashboards feel when you only use modals and sidebars. I wanted to build something that feels like a real OS engine but for React projects.
What it does:
Zero-config windowing: Just inject any component and you get dragging, resizing, and snapping out of the box.
Automatic OS Logic: It handles the z-index stack, minimizing/maximizing, and even has a taskbar with folder support.
I’m looking for some feedback, especially on the snapping physics and how it handles multiple windows.
r/react • u/Personal_Cost4756 • Dec 24 '25
Create a full color palette for your next React project. Export to CSS, Tailwind, and JSON.
Try it at kolors.dev
Kolors is live on Product Hunt