I built a shadcn-style component registry for Slint #11820
Replies: 3 comments 3 replies
-
|
Wow, fantastic work! The design is really simple and elegant, these would fit well into a few different themes. The live previews in the docs are lovely, too. As for feedback, none of the components that I looked at had property docs - that seems like a pretty important part of the API! Otherwise, the interface seems pretty reasonable. Slint doesn't have the best story for designing expressive APIs for external components right now, so considering those constraints I think the limited API that you've gone with is very reasonable. We're currently working on some features such as slots and component factories that would let external component libraries be more expressive (e.g. #6258, #2390). We're also planning support for optionals (#5164), which would also probably help with things like adding optional theme overrides for a single component. It'd be great to hear your experience building something like this and how you think Slint's story for writing third-party components could be improved, that's definitely something that we want to have better support for. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for sharing. I'm adding a reference in our docs: #11893 |
Beta Was this translation helpful? Give feedback.
-
|
The github repo seens to be removed, why? @stevekwon211 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been building slintcn: shadcn/ui-style copy-paste components for Slint native apps.
The idea is to make Slint apps easier to style without depending on a theme API: install components into your repo, edit the
.slintfiles directly, and optionally host your own registry.It currently includes:
Install:
Docs: https://stevekwon211.github.io/slintcn/docs/
GitHub: https://github.com/stevekwon211/slintcn
Intro: https://github.com/stevekwon211/slintcn/blob/main/docs/INTRODUCING_SLINTCN.md
Feedback wanted on component APIs, docs clarity, and which primitives/blocks should come next.
Beta Was this translation helpful? Give feedback.
All reactions