---
title: "Discussion on \"Typewind: The magic of Tailwind combined with the safety of Typescript\" | Hashnode"
description: "Discussion on \"Typewind: The magic of Tailwind combined with the safety of Typescript\". A type-safe and zero-runtime version of Tailwind CSS"
url: "https://hashnode.com/posts/typewind-the-magic-of-tailwind-combined-with-the-safety-of-typescript/63d12a3ccf098004f0e592b8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Typewind: The magic of Tailwind combined with the safety of Typescript](https://livecode247.com/typewind-the-magic-of-tailwind-combined-with-the-safety-of-typescript?utm_source=hashnode&utm_medium=feed)

A type-safe and zero-runtime version of Tailwind CSS

Jan 25, 2023 · 5 min read · livecode247.com  
Updated Mar 7, 2023  
Read the article

-   [#tailwind-css](https://hashnode.com/tag/tailwind-css)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Kavin Desi Valli](https://hashnode.com/@kavinvalli)

@kavinvalli · Delhi, India

  
[View profile](https://hashnode.com/@kavinvalli)

Fullstack Developer

I am a developer from Delhi, India

## Responses 2

Markdown supported · ⌘↵ to post

[Serge ITinc](https://hashnode.com/@SergeITinc)

[Feb 2, 2023](https://hashnode.com/posts/typewind-the-magic-of-tailwind-combined-with-the-safety-of-typescript/63d12a3ccf098004f0e592b8/comment/63db4e9cfe1a127119c15278)

I think Typewind will have a sequel... Because it's been so long awaited. And this is just the beginning...

[Bruno Prado](https://hashnode.com/@bwprado)

[Jan 25, 2023](https://hashnode.com/posts/typewind-the-magic-of-tailwind-combined-with-the-safety-of-typescript/63d12a3ccf098004f0e592b8/comment/63d1adeb2086bff3543cae6d)

How can we create variants like Class Variance Authority?

[Kavin Desi Valli](https://hashnode.com/@kavinvalli)

[Jan 26, 2023](https://hashnode.com/posts/typewind-the-magic-of-tailwind-combined-with-the-safety-of-typescript/63d12a3ccf098004f0e592b8/comment/63d1adeb2086bff3543cae6d#reply-63d2244086d46f062c9df162)

Typewind works with CVA. Just use `tw` instead of tailwind and you should be good to go!

[youtube.com/watch](https://www.youtube.com/watch?v=B6FrDu2Qbt0&t=11m24s)

Just replace the string classes with their tw equivalents.

Like `bg-white text-text` would be `tw.bg_white.text_text`
