Replies: 3 comments 4 replies
-
I personally have not loved using ladle - the hot reload is a mess -- ...but I have also not observed that it has risen to the level of actual pain point to be addressed (yet). Meaning, it's sort of annoying but not an actual barrier. I do think it is worth a discussion in the new year about where the priorities are for the design system specifically - how to improve the system the most, for the most devs for usage in application space. Right now, from working with folks, I would list the biggest pain points as:
I am sort of curious if interoperability is a question, too. If Jeric2o uses ladle and the design system is in storybook, does it matter? |
Beta Was this translation helpful? Give feedback.
-
@brandonjpierce shared in team chat, but for transparency: Storybook dependencies caused many security warnings in DoD pipelines, which was effectively the sole reason the team went with ladle instead of storybook originally. Now that the design system lives in DevTK, that is a non-issue. To me, storybook is a much better experience for people writing component stories as well as people who are reading and interacting with the stories. there is also wide community support, and it works quite well with figma: https://help.figma.com/hc/en-us/articles/360045003494-Storybook-and-Figma, which could also tighten up collab w/ design. I am more than willing to push for getting time allocated to switch to storybook, or explore other options, if the team agrees that we'd like to do that. |
Beta Was this translation helpful? Give feedback.
-
thank you, eveyone, for the input. based on discussion here and some offline discussion, we have decided to proceed with a switch to storybook. i've created a ticket here: #160 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We are currently using ladle for our design system playground. I am curious why we chose this tech instead of Storybook. Based on the ladle docs, the main value props seem to be speed, size, and minimal configuration. I'd like to understand if there were other factors for our projects that were arguments for choosing ladle.
While storybook can be a bit on the heavier side, it is very robust, widely used, and is the standard for playgrounds like this. e.g. react-aria, which we've used to build our design system components, includes storybook in their starter kits. Community adoption and familiarity is important to consider.
Based on my limited experience interacting with ladle so far, it seems to be lacking when it comes to the user experience of viewing and interacting with stories. It could just be a familiarity thing, but compared to prior experience with storybook, the ladle experience is tedious, a little confusing, and just not as robust as storybook.
As we move forward with embedding component previews into our documentation, it should also be noted that the ladle embed is rather inflexible. When a ladle story is focused with the
mode=preview
query param, ALL controls are hidden, so users can't actually change component properties, viewport size, etc. without the query param, the embed includes the component list, which makes the embed a little less focused and takes up embed real estate. not the biggest issue in the world, but it's not as nice as the UX of a storybook embed.Are we open to reconsidering storybook?
Beta Was this translation helpful? Give feedback.
All reactions