OSomkar sahuinoks-ui.hashnode.dev·3d ago · 3 min readDark mode with no flash: the data-theme init patternThe classic dark-mode bug: a user with dark mode saved loads your page, and for one visible frame it's light — then it snaps to dark. The fix isn't complicated, but it only works if you do it in a ver00
OSomkar sahuinoks-ui.hashnode.dev·3d ago · 5 min readBuild an Admin Dashboard in ReactAn admin dashboard is mostly three things: a row of numbers that matter, a chart that shows the trend, and a table of recent activity. In this tutorial we build all three with oks-ui and arrange them 00
OSomkar sahuinoks-ui.hashnode.dev·3d ago · 3 min readReduce React Bundle Size with Per-Component ImportsA component library should cost you only the components you use. In practice, importing everything from a library's main entry point often ships far more than that. This guide explains why, and how to00
OSomkar sahuinoks-ui.hashnode.dev·4d ago · 3 min readBuild a sortable, selectable data tableSearch, sort, select, paginate — almost every admin screen needs the same data table, and almost every team ends up hand-rolling it because no single component quite covers all four. Here's the whole 00
OSomkar sahuinoks-ui.hashnode.dev·4d ago · 3 min readTheme oks-ui to your brand in 10 minutesoks-ui ships with a neutral default look on purpose — every colour, radius, space and shadow it renders is a plain CSS custom property, not a baked-in design opinion. That means re-theming it isn't a 00