Discover Performative-UI, a hilarious React component library designed to simulate fake loading screens and slow AI typing to manipulate user psychology.

Have you ever been forced by a PM to write a fake progress bar just to make users feel like your app is "thinking hard"? Welcome to the theater of modern web development, where speed is sometimes a curse, and artificial delay is a feature. Today, we're diving into a hilarious project that recently went viral on Hacker News: Performative-UI.
Created by a developer named vorpus, Performative-UI is a React component library of "design tropes." Instead of optimizing performance to make your app run faster, this library focuses on performative actions—making your app look like it is doing heavy lifting when it's actually doing absolutely nothing.
With over 700 points on Hacker News, the library features several incredibly satirical yet painfully relatable components:
<SuspenseForDramaticEffect>: Deliberately holds back rendering for a randomized period of time, ensuring users feel the gravity of the "complex computation" taking place.<SlowType>: Simulates a slow typing effect. Even though your server returned the entire JSON payload in 10ms, your UI will act like an exhausted AI typing out words one by one.<FakeProgress>: A progress bar that quickly fills to 99% and then awkwardly stalls, building suspense before finally finishing.The thread on Hacker News turned into an impromptu group therapy session for developers who have had to implement these shady patterns in real life:
<FakeSecurityScanner> component to show scary red progress bars that magically turn green, giving users a false sense of security.At the end of the day, UX is as much about psychology as it is about technology. In the era of AI hype, users don't trust instant results. They want to feel like a massive brain is working behind the scenes. If your clients want a show, sometimes you just have to give them a show.
If you want to host your next "performative" masterpiece and show off your theatrical front-end skills to stakeholders, drop it on a reliable vps. It's the easiest way to spin up a demo without worrying about infrastructure bottlenecks.
Source: Hacker News