← Back to the directory

lukeed/clsx

View on GitHub

A tiny (239B) utility for constructing `className` strings conditionally.

lukeed/clsx is #9,573 on the bestofgithub Elo ladder, in Copper III, with a rating of 1,310 (+8 this week). It has 9,847 stars, 2 gained in the last week.

Copper III

1,310 Elo

  • #9,573 on the ladder
  • +1 today · +8 this week
  • Peak 1,343
12 Elo to Copper II

Stars

9,847

  • +0 today
  • +2 this week
  • – this month

Repository

Forks
189
Language
JavaScript
Last push

Achievements

bestofgithub badgeMaintainer? Show your league in your README

Card: your league's emblem, from Copper to Legendary

[![bestofgithub](https://bestofgithub.dev/badge/lukeed/clsx.svg?style=card)](https://bestofgithub.dev/repo/lukeed/clsx)

Flat: fits beside your other badges

[![bestofgithub](https://bestofgithub.dev/badge/lukeed/clsx.svg)](https://bestofgithub.dev/repo/lukeed/clsx)

Install

git
git clone https://github.com/lukeed/clsx.git

README

Loading README…