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

Nested composibility?? #19

Open
The-Code-Monkey opened this issue Mar 22, 2024 · 2 comments
Open

Nested composibility?? #19

The-Code-Monkey opened this issue Mar 22, 2024 · 2 comments

Comments

@The-Code-Monkey
Copy link
Contributor

Just throwing the idea of having nested composibility.

E.g. making a button group from a button component that is also made by mist?

@typicode
Copy link
Owner

Good question. For now, I'll keep it simple and see how it goes.

I think that one of the appeal of MistCSS is that you can't do complex things with it. So your components are atomic and simple to understand.

Also UI libs like shadcn/ui exports multiple components that you compose later.

It's possible to do the same with MistCSS though I didn't have the time to document it yet:
https://github.com/typicode/mistcss/releases/tag/v0.3.4

I may revisit this idea though.

@The-Code-Monkey
Copy link
Contributor Author

Awesome yeah, I'm not the biggest fan on shadcn and was wanting to build something a little more my style/control. I understand it's early days and getting single components working nicely is the priority.

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