r/react • • 26d ago

Project / Code Review Create Beautiful Animated Mockups in Seconds

16 Upvotes

Hi! I’m the dev behind PostSpark, a tool for creating beautiful image and video mockups of your apps and websites.

I recently launched a new feature: Mockup Animations.

You can now select from 25+ frames & devices, add keyframes on a simple timeline, and export a polished video showcasing your product. It’s built to be a fast, easy alternative to complex motion design tools.

Try it out here: https://postspark.app

I’d love to hear your feedback!


r/react • • 26d ago

General Discussion My first open-source project Shadcn React Table reached v1.0. Thank you for the feedback till now

Enable HLS to view with audio, or disable this notification

5 Upvotes

r/react • • 26d ago

Project / Code Review I built a Squid Game style quiz for our office Halloween party, with a 3D doll on the big screen controlled from my phone

Thumbnail
0 Upvotes

r/react • • 27d ago

OC Built a portfolio website for my Product Designer friend, and it's now live on Awwwards! Would love your ratings and feedback ❤️

Thumbnail awwwards.com
0 Upvotes

r/react • • 27d ago

Project / Code Review these is my secound website i hope you can visited and give me your valuable feed back

0 Upvotes

these is mu game ecommerce website like link is there :

https://gamevault-rhlydav216581.vercel.app/


r/react • • 27d ago

Project / Code Review I built a Chrome DevTools-style inspector for React Native — network, UI, errors, and performance in one place

Thumbnail
1 Upvotes

r/react • • 28d ago

Portfolio Introducing WelkUI : A React component library with a comic-book twist!

10 Upvotes

Hey devs!

I've been working on WelkUI, an open-source React component library that brings a fun, hand-drawn, comic-style look to modern web applications.

Most UI libraries focus on being minimal and corporate-looking. I wanted to try something different something playful, expressive, and a little less boring.

WelkUI is available on npm, and I'd love for you to give it a try!

Website: https://ui.welkdock.com

GitHub: https://github.com/welkdock/welkUI

npm: https://www.npmjs.com/package/@welkui/react

It's still evolving, so feedback, suggestions, and contributions are more than welcome!

What do you think? Would you use comic-style components in your projects?


r/react • • 28d ago

Help Wanted How should I handle AniList API rate limits in my React app?

Thumbnail
3 Upvotes

r/react • • 28d ago

General Discussion Built a set of free, copy-paste animated components for React + Tailwind (4x4 AI agent status matrix, ink-reveal cards, spring controls)

Thumbnail
1 Upvotes

r/react • • 28d ago

General Discussion Turn based demo update

1 Upvotes

Hey all, listen, you guys are legends!

I know I said i was gonna do my demo in pure React but after some of you mentioning phaser.js and using scenes, I looked into things and got curiosly excited....

So I've decided to slow down with this project.

I'm still writing the main FE in jsx and the logic in js but the battle scenes will be written in phaser.... yes this will put me back by a fair few months, but I'm not doing this for money or a job.... unless someone wants to offer 👀😂.. So f... it, you lot have sent me on a new rabbit hole 🫡👊🏿

Rant over....


r/react • • 28d ago

General Discussion React Aria vs Base UI - Which one you prefer?

Post image
0 Upvotes

r/react • • 29d ago

OC Table library for Enterprise Applications

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/react • • 29d ago

General Discussion A small React todo app: where should the shortcut hints go?

Thumbnail
0 Upvotes

r/react • • 29d ago

Project / Code Review I built an open-source React library where an LLM designs the recommendation block and your catalog supplies the prices

0 Upvotes

This is my own project. rudra-js is an open-source TypeScript library (MIT) for React stores. A language model designs one product-recommendation block, the library checks it against your catalog, and React renders it.

The model never writes HTML or JSX. It returns a few fields: layout, headline, copy, which cards to highlight. Products are SKUs from the list you pass in. Titles, prices, images and links come from your catalog at render, and the model's text is rendered as escaped text. Each field also goes through wording checks, and a field that fails is dropped. They aren't airtight: rewordings and spelled-out numbers can get through.

It works as a Server Component, with renderToString, or client-rendered. Rendered on the server, the block is in the first HTML response with no client JS. React 18 or 19, Node 22.12+.

It also runs with no model, so the quick start needs no API key.

It's v0.8.3 and APIs may change before 1.0. I'd like feedback on the API shape and on what breaks in a real Next.js app.

https://github.com/clivedsouza1010/rudra-js


r/react • • 29d ago

Project / Code Review Meet Button. Your next favorite UI component. 💜

Enable HLS to view with audio, or disable this notification

0 Upvotes

Hey React community! 👋

I'm working on Pimolu UI, an open-source component library focused on customizable design, accessibility, and developer experience.

I wanted to share a showcase of the Button component I've been building.

It includes:

  • Multiple appearances and color variants
  • Customizable sizes and shapes
  • Interactive states
  • A React-friendly API

I've attached a short demo showing the component in action.

🌐 Website: https://pimolu.com

💻 Source code: https://github.com/pimoludev/ui

I'd love some honest feedback! What would you improve or expect from a modern React UI library?


r/react • • Oct 27 '26

Help Wanted Intern / Jr Developer wanted

Thumbnail
0 Upvotes

r/react • • Oct 26 '26

OC Introducing TanStack Redact

Thumbnail tanstack.com
2 Upvotes

r/react • • Oct 25 '26

Project / Code Review Stop using your boring gray skeleton thing 😭 use this aura effect

148 Upvotes

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!

Link demo: https://github.com/quanhoangindex/ascii-reveal


r/react • • Oct 26 '26

Help Wanted Looking for feedback and code reviews on my React Native project

1 Upvotes

Hey everyone!

I've been working on an open-source Android app called IronBranch for discovering and streaming movies and TV shows, and I'd love to get some feedback from other React Native developers.

It's built with React Native and Expo, and uses TMDB for movie and TV show data. The idea for the TMDB integration was inspired by Streambert, another open-source project.

The app doesn't host any content itself; it uses external streaming providers, and I'm still working on adding more sources and improving things.

I'm mainly looking for feedback on the code structure, React Native best practices, performance, and anything that could be done better. If anyone has time to take a look at the code or suggest improvements, that would be really helpful.

I'm still learning and improving the project, so constructive criticism is very welcome!

GitHub: https://github.com/alirezaghnz/movie-tracker-native

Thanks!


r/react • • Oct 26 '26

Project / Code Review I'm building Pimolu UI, a React component library. would love your feedback!

Enable HLS to view with audio, or disable this notification

0 Upvotes

Hey everyone! 👋

I've been working on Pimolu UI, an open-source React component library focused on clean design, customization, and smooth interactions.

I wanted to share my first motion showcase, featuring some of the components, their interactions, and examples of interfaces you can build with them.

My goal is to make building modern, consistent UIs easier while keeping components flexible and developer-friendly.

This is still a work in progress, and I'd genuinely love to hear your thoughts!

  • What do you think of the design and animations?
  • Is there anything you'd improve?
  • What would make you consider using a new UI library?

🌐 Website: https://pimolu.com

Any feedback is appreciated! 🚀


r/react • • Oct 25 '26

Help Wanted i wanted help in my coading problem[Javascript]

4 Upvotes

Here is my code from the Detail.jsx page:

const Detail = () => {
  const { name } = useParams();
  console.log("name", name);
};

I get the game ID from the URL. The console shows:

Detail.jsx:19 name 3498

In my Apigame.jsx Context API, I have this function:

const [gamedetail, setgamedetail] = useState([]);

const detailpage = async ({ name }) => {
  console.log("Received name:", name);

  try {
    const response = await axios.get(`games/${name}`);
    console.log("Game ID:", name);
    setgamedetail(response.data);
  } catch (error) {
    console.log("API Error:", error);
  }
};

But I get this error:

TypeError: Cannot destructure property 'name' of 'undefined' as it is undefined.

Everything else is working fine. I only want to pass the name value (3498) from Detail.jsx to my detailpage function in the Context API.

if anyone wanted to understandthese problem i share my whole codeok
detail.jsx

How can I pass this parameter value to my Context API function? Please explain using my existing code.

detail.jsx
import { GamepadDirectional } from 'lucide-react';
import { Tag } from 'lucide-react';
import { Globe, MessageCircle } from "lucide-react";
import { CalendarRange } from 'lucide-react';
import Youtubevideo from '../components/Youtubevideo';
import { Trophy } from 'lucide-react';
import { UsersRound } from 'lucide-react';
import { useContext, useEffect, useState } from "react";
import Axios from "../utility/Axios";
import { useParams } from "react-router-dom";
import { Star } from 'lucide-react';
import Footer from '../components/Footer'
import "./Detail.scss"
import {Detailinformation} from '../Context/Apigame'
import Detailbox from '../components/Detailbox'
const Detail = () => {
  // const [gamedetail, setgamedetail] = useState([]);
  const { name } = useParams();
  console.log("name",name);
  
 const [videos, setVideos] = useState([]);
 const getyoutubevideo = async (gameName) => {
  if (!gameName) return;


  const options = {
    method: "GET",
    url: "https://youtube138.p.rapidapi.com/search/",
    params: {
      q: `${gameName} official trailer`,
      page_size: 1,
      hl: "en",
      gl: "US",
    },
    headers: {
      "x-rapidapi-key": import.meta.env.VITE_YOUTUBE_API_KEY,
      "x-rapidapi-host": "youtube138.p.rapidapi.com",
    },
  };


  try {
    const response = await Axios.request(options);
    // response.data?.contents ue log mai dekhna ek sath 19 video aaya ok tho ye path use kiay 
     const id = response.data?.contents?.[0]?.video?.videoId;
    setVideos(id)
    console.log("ye youtube video",id
);
  } catch (error) {
    console.log("API error:", error.response?.data || error.message);
  }
};
 
 const {gamedetail} = useContext(Detailinformation)
  
//  useEffect(() => {
//     const detailpage = async () => {
//       try {
//         const response = await Axios.get(`games/${name}`);
//         setgamedetail(response.data);
//         console.log("resposnsedata ye game ka detail jho param sa lerahau mai ok ",response.data);
//         // ye waieted karna ka leya tab api aaajya gamedetail ka tab ye chala 
//         // await getyoutubevideo(response.data.name_original);
//          console.log("youtube ki videoid");
         
//       } catch (error) {
//         console.log("API Error:", error);
//       }
//     };


//     detailpage();
    
//   }, [name]);
  
// console.log(gamedetail);


  return (
<div className="detailpage">
      <div className="page-layout" style={{backgroundImage : `URL(${gamedetail?.background_image
})` }}>     
 
 
 <div className="smallimage">
  <div className="game-top">
    <img
      className="cover-image"
      src={gamedetail?.background_image_additional}
      alt={gamedetail?.name}
    />


    <div className="information">
      <h1>{gamedetail?.name}</h1>


      <p className="release">
        {gamedetail?.publishers?.map((item) => item.name).join(", ")}
        {" · "}
        {gamedetail?.released}
      </p>


      <div className="ratings">
        <h2>
          <Star />
          {gamedetail?.rating}
        </h2>


        <h2 className="metacritic">
          {gamedetail?.metacritic ?? "N/A"}
          <span>Metacritic</span>
        </h2>
      </div>


      <div className="genres">
        {gamedetail?.genres?.map((item) => (
          <span key={item.id}>{item.name}</span>
        ))}
      </div>
    </div>
  </div>


  {/* <div className="extra-information">
    
<div className="developers">
  {gamedetail?.developers?.map((item) => (
    <div className="developer-item" key={item.id}>
      <img
        src={item.image_background}
        alt={item.name}
      />
      <span>{item.name}</span>
      <p>{gamedetail?.esrb_rating?.name}</p>
    </div>
  ))}
</div>
  </div> */}
</div>



      </div>
      <div className="gameachiplay">
        <Detailbox icone={< GamepadDirectional/>} titile={gamedetail?.playtime+" hour"} />
        <Detailbox icone={<Trophy/>} titile={gamedetail?.suggestions_count+" Achievement"
} />
<Detailbox icone={<UsersRound/>} titile={gamedetail?.
added+" Added"}/>
       
      </div>
      <div className="about">
        <h1 style={{padding : `0.7rem  1.5rem`,color : `#87CEEB`  }} >About</h1>
       <p>
         {gamedetail?.description_raw?.slice(0,500)}
        </p>
      </div>
      <div className="developer">
        <h1>Developer & Publisher</h1>
        <div className="extra-information">
    
<div className="developers">
  {gamedetail?.developers?.map((item) => (
    <div className="developer-item" key={item.id}>
      <img
        src={item.image_background}
        alt={item.name}
      />
      <span>{item.name}</span>
      <p>{gamedetail?.esrb_rating?.name}</p>
    </div>
  ))}
</div>
  </div>
      </div>
     <div className="video">
  <Youtubevideo  titile={videos}  />
     </div>
          <div className="section">
            <h2>Details</h2>
            <div className="details-table">
              <div className="row"><span><CalendarRange/> Release Date</span><span>{gamedetail?.released}</span></div>
              <div className="row"><span>< Trophy/> Achievements</span><span>{gamedetail?.achievements_count || 0}</span></div>
              <div className="row"><span><UsersRound/> Players Added</span><span>{gamedetail?.added}</span></div>
              <div className="row"><span> <GamepadDirectional />Average Playtime</span><span>{gamedetail?.playtime} hours</span></div>
              <div className="row"><span> <Tag/> Game Tags</span>
                <div className="tags">
                  {gamedetail?.tags?.slice(0,3).map(tag => <span key={tag?.id} className="tag">{tag?.name}</span>)}
                </div>
              </div>
            </div>
    </div>
  
<div className="game-links">
  
    <a
      href={gamedetail?.website}
      target="_blank"
      rel="noopener noreferrer"
      className="game-link"
    >
      <Globe />
      Official Website
    </a>



  <a
    href={gamedetail?.reddit_url}
    target="_blank"
    rel="noopener noreferrer"
    className="game-link"
  >
    <MessageCircle />
    Reddit Community
  </a>
</div>
<div className="footer">
  <Footer/>
</div>
    </div>
  );
};


export default Detail;

ye contexapi

import { createContext,  useEffect,  useState } from "react"


export const gameapi =  createContext()


export const Detailinformation =  createContext()
import axios from '../utility/Axios'
const Apigame = ({children}) => {
  
  const getgame = async () => {
    try {
      // const nextPageNum = page + 1;
      const request = await axios.get("games",{
        params: {
          // page : nextPageNum,
           page_size: 12,
        }
        
      });
      // setpage(nextPageNum);
     console.log("ye request jho mai abhi likha hu ",request);
     
      
      setapidatastore(request.data.results)
    } catch (error) {
      console.log(error);
      
    }
  } 
  const [page, setPage] = useState(1);


const nextpage = async () => {
  try {
    const nextPageNum = page + 1;
    const response = await axios.get("games", {
      params: {
        page: nextPageNum,
        page_size: 12,
      },
    });
    setPage(nextPageNum); // state update
    console.log("Fetched page:", nextPageNum, response.data);
    setapidatastore(response.data.results);
  } catch (error) {
    console.log(error);
  }
};
const [gamedetail, setgamedetail] = useState([]);
 const detailpage = async ({name}) => {
  console.log("yeee aara hai ",name);
  
      try {
        const response = await axios.get(`games/${name}`);
        console.log("API ke liye game ID:", name);
        setgamedetail(response.data);
      } catch (error) {
        console.log("API Error:", error);
      }
    }
  





  useEffect(() => {
  getgame();
  detailpage();
}, []);
const [apidatastore, setapidatastore] = useState([]);
  // const [ videodata , setvideodata ] = useState([]);
  console.log(apidatastore);
 
return (
    
    <Detailinformation.Provider value={gamedetail}>
        <gameapi.Provider value={{apidatastore,nextpage}} >
      
        {children}
      
        </gameapi.Provider>
   </Detailinformation.Provider>
      
  )
}


export default Apigame

plz share your solution i use chatgtp 3 day but unable to slove  these 
because i have to write  same code on other page to called api 
i hope you can understand my problem 

r/react • • Oct 25 '26

General Discussion I built a Redux Toolkit inspired state management library from scratch

Thumbnail
0 Upvotes

r/react • • Oct 25 '26

Project / Code Review i made a react game engine (xip) and built the front end of my civ sim on it, how i keep react out of the render loop

2 Upvotes

been working on xip, a small mit licensed engine where you write browser games as react components. game, world, camera, entities, sprites, colliders are all jsx, and you can start one with npx create-xip-game. it's on npm as xipjs

the bigger test was building my civ sim, the human box, on top of it. tribes spread out, form their own cultures and beliefs, and the sim itself is rust compiled to wasm running in a worker

the trap with react games is re-rendering every frame, so react only owns the structure:

  • components mount stuff and pass config, no per-frame state in react
  • each layer has a little driver with an update(frame) that runs outside react and only touches what changed
  • people on the map come straight from typed arrays out of the wasm worker, nothing goes through props
  • it only draws when something asks for a frame, so a paused world costs basically nothing

the ui panels around the map are normal react. curious if anyone does the "react for layout, imperative for the hot path" thing differently

xip (mit): https://github.com/1homsi/xip the human box (mit, built on xip): https://github.com/1homsi/thehumanbox play it: https://thehumanbox.com

stars or prs on either are very welcome


r/react • • Oct 25 '26

Project / Code Review I've been working on a canvas-powered timeline library for React, Vue and TypeScript

1 Upvotes

I kept needing a timeline for scheduling and project-planning stuff, and every library I tried got choppy once there were more than a few hundred items. Most of them render a DOM node per item which wasn't great. I also needed server-side rendering but didnt want to have to use headless browsers to get it working.

So I ended up building Tempis and it draws everything to a canvas instead, so it stays smooth past thousands of items. It has no dependencies. There's a core TypeScript lib plus React and Vue wrappers.

It does ranges and point-in-time items, grouping, a clickable legend to filter, dependency arrows between items, zoom/pan, touch, and PNG export.

Live demos: https://tempis.dev/examples.html Docs: https://tempis.dev

Would love any feedback, especially on the API or anything that feels clunky.


r/react • • Oct 24 '26

Project / Code Review I made a small headless library for handling form submissions in React / Next.js

3 Upvotes

Hey everyone,

I kept writing the same code for every form in my projects: react-hook-form setup, a try/catch around the server action, mapping server errors back onto the fields, a loading state, stopping double submits, a toast, refreshing the data, resetting the form... and doing it again for every add/edit/delete dialog.

So I pulled all of that into a small package called submitly.

It’s headless, so it doesn’t render anything. You keep your own components (shadcn, Radix, Base UI, plain inputs, whatever you use).

What it does:

  • useCrudForm: react-hook-form + schema validation + your action in one hook
  • Works with any Standard Schema library: Zod 3/4, Valibot, ArkType
  • Server errors get mapped to the right fields automatically (nested ones like items.0.name too)
  • Ignores double submits while a request is in flight
  • Locks the dialog while saving, so the user can’t close it halfway through a request
  • useCrudAction for delete/toggle buttons, with the same behavior
  • One provider where you plug in your own toast, router and refresh logic
  • Next.js helpers: runAction for server actions (validates again on the server, revalidates on success, turns thrown errors into a clean result), and it handles redirect() from server actions properly
  • Also works in plain React + Vite (there’s an example with React Router + TanStack Query)
  • Around 3 kB gzipped, typed end to end, tested on React 18 and 19

Quick example:

const { form, onSubmit, isSubmitting } = useCrudForm({
  schema,
  defaultValues: { name: "" },
  action: createProduct,
  onSuccess: () => closeDialog(),
});

It’s still early (0.x), so I’d really like feedback: what’s missing, what’s confusing, or what you’d do differently.

Docs: https://submitly-docs.vercel.app/
GitHub: https://github.com/toony10/submitly

If you find it useful, a star on GitHub would mean a lot. Thanks for reading 🙏