gregberge/twc
Create reusable React + Tailwind CSS components in one line ✨ observed · 2026-08-28
Health v2 · maintenance only
54/100
- Activity 57
- Release rhythm 40
- Longevity 71
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 17
- age_days: 999
- days_rel: 411
- days_push: 262
- n_releases_24m: 2
Adoption not part of the score
1417 stars · 32 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
TWC is a lightweight (0.49kb) TypeScript library for creating reusable React components styled with Tailwind CSS in a single line, using a styled-components-like tagged template API. It supports prop-based styling, the asChild pattern, React Server Components, and first-class tailwind-merge and cva integration.
Use cases
- create reusable tailwind css react components in one line
- reduce boilerplate when wrapping tailwind classes in react components
- merge tailwind classes with class name overrides
- style components based on props with tailwind
- use tailwind components in react server components
- reuse component markup with asChild pattern
When to choose
- you use React with Tailwind CSS and want styled-components ergonomics without runtime CSS-in-JS
- you want a tiny library with editor autocompletion and RSC compatibility
- you already use tailwind-merge or cva and want first-class integration
When to avoid
- you don't use Tailwind CSS or React
- you need full CSS-in-JS with dynamic runtime styles rather than utility classes
- your team prefers plain clsx/cva helpers without an extra abstraction
Facets
library · maturity active
ui-components css-framework frontend-framework templating web-development frontend developer-tools cross-platform tailwindcss react styled-components typescript component-styling tailwind-merge cva nodejs web-server
2 sources
- readme: https://github.com/gregberge/twc · fetched 2026-08-28 · 1d79fad1382c
- homepage: https://react-twc.vercel.app · fetched 2026-08-29 · d8f122004366
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gregberge/twc | main | 54 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem