-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
[WIP][Site] Bootstrapping section to find "UI Components" #1347
base: 2.x
Are you sure you want to change the base?
Conversation
UI Component = Twig component / markup + Stimulus controller
About the naming, at work we faced a similar situation where we were reusing existing things only, without any specific code for that "thing", in the context of Storybook. So what about "UI Recipes"? 😁 |
Recipes is great! Is it possible to decide if we want bootstrap and/or "pure css" on a recipe basis ? Would you accept LiveComponent in here too ? Now that i've played a lot with Live, i'm thinking at some basic component that could be really usefull (custom dropzone, calendar with ranges, some "infinite paginator" ... ) Side not for the name: I think "HowTo" could be a challenger... but i'd really like to keep that name aside for something more "how/why" than "what".. Questions with a project scope (how to structure my folders / how to reuse components / how to decide what's "front" what's "back" .... |
For me, use Tailwind is a good idea. The list of ideas is super interesting :). |
I have no particular opinion on my side about Tailwind or not, but I think having a "no CSS" with semantic class names on elements is good, so it's a matter of copying the markup and styling the classes :) |
We could take an example from Catalyst from Tailwind UI. |
Hi evryone!! I hope it helps |
Just to share so I don't forget: I (re)discovered PicoCSS, looks like to be a good candidate for a semantic markup only variants |
I (re?)discoverd DaisyUI .... and seriously still not sure if this is a joke or not. ![]() ![]() |
I watched the live streaming (https://www.youtube.com/watch?v=anXeWMLHNWE) associated with this Pull Request. |
Toasts/tooltip/popover can be done today with popover api https://mdn.github.io/dom-examples/popover-api/toast-popovers/ |
Can we help with this PR? 😃 |
I've create this bundle based on shadcn-ui |
@dahromy, wow, this is really cool! Very similar to our plans for ux.symfony.com (we'd also like to include demos) |
With pleasure |
UI Component = Twig component / markup + Stimulus controller
I'd like a place to share "solutions". What is the general markup and Stimulus controller needed for a modal? A tooltip? Tabs? Toast notifications, etc? How can we help people discover that, if you need to build a popover, there is a controller for that?
I'm proposing a new section on ux.symfony.com to find these "pieces". It's meant to be solution-based: you search/browse for your need (e.g. modals) vs the package (e.g. "turbo" or "live components"). We talked about this and Bootstrapped a bit on a live stream - https://www.youtube.com/watch?v=3f65q46k6TM - this is the result.
Unstyled example page for toasts
ui-component-demo.mp4
UI Component Ideas
Open questions: