Reusable
TW Classed lets you create reusable components in record time. No more `forwardRef` & Typescript interfaces
Tailwind CSS and CSS-in-JS, the best of both worlds. Great DX and user experience right out of the gate.
npm install @tw-classed/react
Fully typesafe, with automatic intellisense and variant inference.
TW Classed lets you create reusable components in record time. No more `forwardRef` & Typescript interfaces
Write your components in a modular way. Wrap them in a classed method and extend them with more styles
Add custom variants to have complete control over your component's look.
Acheive excellent DX and performance with only ~0kb of code!
Turbocharge your development speed with variants
Style external components with ease.
// Link.tsx
import Link from "next/link";
const ClassedLink = classed(Link, "text-blue-500 hover:text-blue-700");
// In your App
() => <ClassedLink href="/docs">Go to docs</ClassedLink>;
Featured on