Replies: 2 comments 1 reply
-
Hey, thank you for your kind words! And great to hear you want to contribute 🥳 The current process of porting a component looks something like this: Step 0: A good starting point is to pick a component from the shadcn/ui lib and copy the code from the // original
<Accordion>
<AccordionItem value="item-1">
<AccordionTrigger>Is it accessible?</AccordionTrigger>
<AccordionContent>
Yes. It adheres to the WAI-ARIA design pattern.
</AccordionContent>
</AccordionItem>
</Accordion> {{-- becomes --}}
<x-accordion>
<x-accordion.item value="item-1">
<x-accordion.trigger>Is it accessible?</x-accordion.Trigger>
<x-accordion.content>
Yes. It adheres to the WAI-ARIA design pattern.
</x-accordion.content>
</x-accordion.item>
</x-accordion> With this we know which components we need to build. The tailwind classes needed to achieve the same visuals can be found in the shadcn source (e.g. Accordion). Please note: For now we only support the Once you have replicated the behavior it's time to move the files into the laravel-luvi package. An example commit for this would be b91c4fa. After that you can submit a PR and we'll have a look 🚀 If you have any questions, feel free to ask. |
Beta Was this translation helpful? Give feedback.
-
Thank you for such a detailed response @anotherfrontendguy ! Looking forward to the boilerplate generator @thoresuenert ! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All! Great work on this project.
I would like to contribute and would very much appreciate if someone can point a direction to me, like what is your high level thought process when porting a specific component from the shadcn/ui lib.
I also noticed the dashboards on the homepage are fully functional as livewire components. Very dope!
Beta Was this translation helpful? Give feedback.
All reactions