Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to extract stylesheets relative to components in a react component library? #454

Open
AdsonCicilioti opened this issue Mar 2, 2023 · 1 comment

Comments

@AdsonCicilioti
Copy link

We all know that Tailwind builds a single stylesheet based on the (final) HTML content that its utility classes use.

But in a lib of React UI components, where we will install the package but we will only use a Button and some Form Inputs, for example, the ideak would be for each component to bring its own style sheet.
Would it be possible to do this with Twind?🤞

@mfissehaye
Copy link

Would it be possible to use twind to style just the library components you are building? Please provide an example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants