r/reactjs • • Oct 31 '26

Show /r/reactjs I built a hand-drawn React UI kit. The hard part was making "random" wobble SSR-safe.

PlopUI is a React component library where everything looks sketched: wobbly borders, tilted cards, sticker shadows. Some things that were more interesting to build than they look:

- No Math.random() in render. Every tilt, wobble and jitter comes from a seed function, so the server and the client draw the exact same crooked line and there are no hydration mismatches.

- Native elements first. Dialog is a real <dialog> with showModal(), the upcoming Accordion is <details>/<summary>. The wobble is decoration on top, not a replacement for the element.

- Interactive components are "use client". Static ones stay Server Components, so you don't pay for JS on a card that just sits there.

- Every component has a Vitest test for its keyboard behavior and a story for every state.

- The library never imports from next/*. It's plain React; Next.js only lives in the docs and demo apps.

npm i @plop-ui/react @plop-ui/fonts

Docs: https://plopui.com

Playground: https://plopui.com/playground

Code: https://github.com/Snorlark/plop-ui

I'd really like feedback on the API. If a prop name or pattern feels wrong, tell me now before 1.0 makes it permanent.

29 Upvotes

18 comments sorted by

6

u/minniehajj Oct 31 '26

Your site on mobile has a lot of issues, random bouncing around and scrolling to/landing at the bottom after selecting links. Love the design idea but the site is basically unusable on mobile!

3

u/Repulsive-Beach4801 Nov 02 '26

heyyy, i'm really sorry about this! thank you for taking the time to test it and point this out! i'll definitely look into the mobile issues and get them fixed. really appreciate the feedback and patience, means a lot! 🥹

1

u/wasdninja Nov 01 '26

Same thing here. It randomly scrolls to the bottom all the time. 

1

u/Repulsive-Beach4801 Nov 02 '26

sorry you're experiencing this too 😭 i'll look into it and hopefully get this sorted in the next release.

1

u/spectrum1012 Nov 01 '26

17h later I’m viewing it and have none of those issues. iPhone 16.

2

u/minniehajj Nov 01 '26

I'm on android using Firefox but the same behavior on Chrome too 🤷

3

u/Additional-Grade3221 Nov 01 '26

Wait this is really cute

1

u/Repulsive-Beach4801 Nov 02 '26

AWWWW appreciate that sm <3

2

u/ouvreboite Nov 01 '26

Great job! The slight bounce back on the button is really nice.
Shouldn’t pip and bix colors be swapped ? Pip is meant to represent success but has a red cap

2

u/Repulsive-Beach4801 Nov 02 '26

Bix's tomato beanie is live in v0.7.1 🍅 thanks again for the catch!

1

u/Repulsive-Beach4801 Nov 02 '26

thank you!! the bounce took a little too much trial and error haha 😭 pip's pink cap is actually staying since it's part of the logo, but u're right about bix! giving him a tomato-red beanie in the next release. appreciate the catch! <3

3

u/jeremyStover Oct 31 '26

Honestly, this doesn't feel vibe coded, so I will shout you out everywhere. Great job. Even if you used AI, that is fine, cause it's well crafted, easy to read, and not overbuilt

2

u/Repulsive-Beach4801 Nov 02 '26

yo, this genuinely means a lot 😭 i've put so much love into the little details, so hearing this is really nice. ai or not, i just wanted to make something that feels thoughtfully built. <33

-2

u/Mr-Bovine_Joni I ❤️ hooks! 😈 Oct 31 '26

Hey I love this. Well done

-5

u/BeatsByiTALY Oct 31 '26

Really inspiring work here. Fresh and innovative. Thanks for sharing

0

u/[deleted] Oct 31 '26

[deleted] — view deleted comment

2

u/jodraws Nov 01 '26

Hard AI response