Hacker GitHub

← All repos

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

Mentions per year 9 mentions · busiest year 2020 (3)
20082026
  1. …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…
  2. …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)
  3. 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
  4. 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
  5. …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?
  6. Not sure if this would work for you for 1, but I love using Tailwind with https://github.com/ben-rogerson/twin.macro
  7. …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
  8. …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