Tailwind-Styled-Component icon indicating copy to clipboard operation
Tailwind-Styled-Component copied to clipboard

Create Tailwind CSS React components like styled components with class names on multiple lines and conditional class rendering

Results 40 Tailwind-Styled-Component issues
Sort by recently updated
recently updated
newest added

Looks like components created with this lib remove "duplicate" attributes and it particularly breaks gradient background where we have several `from-`, `via-` values. ```js const Background = tw.div` bg-gradient-to-r from-indigo-500...

Because dark mode css for tailwind seemed bit messy (like i have to add "dark:" to every dark mode class i want to implement), i tried to make it cleaner...

I'm getting this in vitest jsdom tests. All the tests that import a file that contains a tw component fail with this error, regardless of tw(xxx) or tw.xxx.

Error is occurred when I am building next . ```tsx web:build: cache miss, executing 1a17b82bd68f9942 web:build: web:build: > [email protected] build /home/amm834/workspace/component-lib/apps/web web:build: > next build web:build: web:build: info - Linting...

any plans to support react native in the near future?

module.style.ts file import tw from "tailwind-styled-components"; import tw from "tailwind-styled-components"; export const Container = tw.div` bg-blue-600 `; export const Button = tw.button` p-2 `; index.tsx file import React from "react";...

Do you have any plans to create a plugin for windicss to provide compatibility support when migrating from tailwind to windi?

Added JetBrains support for IntelliSense

See details in #105

I've spend some time investigating cryptic message: > Uncaught Error: Objects are not valid as a React child (found: object with keys {$$typeof, type, key, props, _owner, _store}). If you...