Skip to content

tw-classed vs css-in-js #118

Answered by sannajammeh
kenbankspeng asked this question in Q&A
Discussion options

You must be logged in to vote

TW Classed is nothing more than a class name toggler. All CSS generation is handled via Tailwind as usual. This opens up a lot of doors in terms of both performance and usage, for example, I use tw-classed in React Native to toggle Nativewind classes.

TW Classed is also universal, it can be used to toggle CSS modules, regular class names, tailwind and UnoCSS.

See https://tw-classed.vercel.app/docs/benchmark for comparison to Stitches (the fastest css-in-js library)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kenbankspeng
Comment options

@Seanmclem
Comment options

@sannajammeh
Comment options

Answer selected by sannajammeh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #117 on July 18, 2023 16:36.