Reliqio.AI · production
A design system the whole app runs on
165 React components exported from 80 modules, with one consistent API on top of headless libraries. Same idea as shadcn/ui.
165 components
60 components wrap Radix UI primitives, and 17 are built on Base UI, which has the combobox Radix lacks. The headless libraries bring behavior and accessibility (keyboard, focus, ARIA), and the system adds Tailwind CSS 4 styling. The other 88 range from primitives to charts and a DataTable, including wrappers for react-day-picker, Embla, Recharts, Sonner and react-virtuoso.
When the large tables outgrew ordinary scrolling, the textbook fix was to swap the ScrollArea primitive for a virtualized list. Then the app would have two ways to scroll and a migration nobody wanted. So I patched ScrollArea to forward a ref to its Radix Viewport and ran react-virtuoso on top of it. DataTable got an opt-in virtualized mode for the longest lists, the combobox search list works the same way, and no screen had to change.
The first charts and multi-step forms were built by other developers, and the number of scenarios kept growing. I maintained and refactored them for a while, then moved the shared logic, states and styling into a common base with one small component per scenario. One configurable component would have grown a special case for every scenario, because they differed in behavior as well as in fields. Now a new scenario adds only its differences and leaves the others alone.
- Radix UI
- Base UI
- Tailwind CSS 4
- react-virtuoso
- compound components
- 60 on Radix UI
- 17 on Base UI
- 88 other
Fuel dispatch at Reliqio.AI
Booking, dispatch, customs clearance and ordering all had to work in one web app. I took it from an empty repository to production in under three months. Today 5+ logistics companies use it.
I split the frontend into 16 feature modules and built a shared design system with 165 components. A circular import was pulling UI and icon code into the entry bundle. I broke that import, moved Mapbox GL and file uploads into lazy chunks, prefetched them during browser idle time and added gzip and immutable caching in Express. The entry bundle fell from 3,232 to 1,390 kB. First-load JavaScript over the wire fell from 3,232 to 446 kB.
Stack: React 19, TypeScript, Vite, Radix UI, Mapbox GL, Express, Vitest, Playwright.