ben-rogerson/twin.macro
View on GitHub ↗ ★ 8,027 TypeScript
🦹♂️ Twin blends the magic of Tailwind with the flexibility of css-in-js (emotion, styled-components, solid-styled-components, stitches and goober) at build time.
9 mentions on Hacker News by 9 people: 1 story, 8 comments · first 2020-12-03 · latest 2023-12-25
20082026
-
…seem to have the same goal. Examples: https://github.com/MathiasGilson/Tailwind-Styled-Component https://github.com/ben-rogerson/twin.macro Would like to see something like this but with compiletime optimization to get rid of the runtime…
comment by mx5 · 2023-12-25 · in Show HN: TWC – A library to create reusable Tailwind components for React -
…React. It basically combines tailwind with styled components and helps immensely with readability: https://github.com/ben-rogerson/twin.macro
comment by EduardoBautista · 2023-01-11 · in Don't use Tailwind for a design system (2021) -
I've been using twin.macro on a side-project of mine, and have really enjoyed it: https://github.com/ben-rogerson/twin.macro I especially like how easy it is to fall back onto ordinary Styled Components if I'm trying to implement things…
comment by vilos1611 · 2022-04-25 · in Free Open Source Tailwind CSS Components -
Author here, have you looked at twin.macro? https://github.com/ben-rogerson/twin.macro
comment by 01brett · 2021-11-05 · in Goodbye CSS Modules, Hello TailwindCSS -
…about UI) [0] https://material-ui.com/ [1] https://ant.design/ [2] https://tailwindcss.com/ [3] https://github.com/ben-rogerson/twin.macro [4] https://tailwindui.com/
comment by namelosw · 2021-09-12 · in Ask HN: How to bypass learning CSS? -
Not sure if this would work for you for 1, but I love using Tailwind with https://github.com/ben-rogerson/twin.macro
comment by ereveles · 2021-04-13 · in Building React and Vue Support for Tailwind UI -
…It also answers the "where do custom styles go" question to some extent (answer: the css prop). https://github.com/ben-rogerson/twin.macro Edit: I had stopped reading half way through! This is what the article is about. I'll leave my…
comment by rattray · 2020-12-07 · in Why I Love Tailwind -
…the How It Works [1] section. You can use this anywhere you use styled-components or emotion. [1] https://github.com/ben-rogerson/twin.macro#how-it-works
comment by m8s · 2020-12-03 · in Twin – Tailwind with the flexibility of CSS-in-JS -
▲ 52
Twin – Tailwind with the flexibility of CSS-in-JSstory by fmoronzirfas · 2020-12-03 · 95 comments