toviszsolt/clsx-react
A custom React JSX runtime that natively supports arrays and objects in the className prop. It automatically applies clsx logic at the runtime level, keeping your code clean and your imports empty.
2 best points · 1 comments · 1 Hacker News post · 5 GitHub stars · View on GitHub
Hacker News discussions
- Show HN: Native array/object support in React className (2 points, 1 comments, by toviszsolt, 2026-01-06)