Twin blends the magic of Tailwind with the flexibility of css-in-js

Demo twin on CodeSandbox →

Use Twin’s tw prop to add Tailwind classes onto jsx elements:

import “twin.macro”; const Input = () => <input tw=”border

Curated

Dec 3, 8:46 AM

Source

Tags

Tomorrow's news, today

AI-driven updates, curated by humans and hand-edited for the Prototypr community