A collection of Tailwind Layouts.
The website includes a client-side playground which allows components to be rendered and tweaked in real-time.
tailwind-layouts uses ESBuild to transform and render the component in real-time. JSX and TypeScript is supported, but the compiled code is transformed into ES2017 for browser compatibility. The compiled code format is also in ESM.
Since Tailwind only generates classes during build-time,
tailwind-layouts instead uses
twind to generate classes on runtime, as well as add support for JIT.
Since the compiled code's format is in ESM,
tailwind-layouts allows CDN imports. You can check out Skypack.
To be added
- Support for HTML (Vanilla), Vue and other libraries/frameworks
- Add a tool drawer for tweaking Tailwind code through GUI.