u/Material_Ganache_931

Help with list group component architecture

Help with list group component architecture

Hey everyone,

I’m working on updating a component and I’m not fully sure what the best architecture approach would be, so I’d love some input.

It’s a List Group component that contains multiple list items. I have different types of list items, ranging from very simple to quite complex.

The challenge is:

  • The list group can have two background styles (white / light grey)
  • Each list item has a hover state that depends on the background
  • I want the background type to be controlled at the List Group level, so when it changes, all child items automatically adapt without uploaded content loss.

On top of that:

  • The number of items inside the group is dynamic
  • I’m unsure whether this should be handled via slots, or props/booleans/variants
  • Or if it makes sense to define variants like 1–10 items

I’m trying to figure out the cleanest way to structure this from a design system / component architecture perspective.

How would you approach this? Thanks!

https://preview.redd.it/5mp0bl5gs31h1.png?width=1366&format=png&auto=webp&s=b511f3b611c67dacebc83b08ee7ece9313d2673f

reddit.com
u/Material_Ganache_931 — 13 hours ago

Is there actually a vegan protein powder that tastes good and comes in eco-friendly packaging?

I’ve been trying to find a vegan protein powder that actually tastes good and doesn’t come in a plastic bag. I use Vivo, but it is in plastic, and I would like to find another one.

Is there anyone else struggling with this? Any recommendations? I am also curious about which brand has the best taste.

reddit.com
u/Material_Ganache_931 — 5 days ago

Is there actually a vegan protein powder that tastes good and comes in eco-friendly packaging?

I’ve been trying to find a vegan protein powder that actually tastes good and doesn’t come in a plastic bag. I use Vivo, but it is in plastic, and I would like to find another one.

Is there anyone else struggling with this? Any recommendations? I am also curious about which brand has the best taste.

reddit.com
u/Material_Ganache_931 — 5 days ago
▲ 12 r/ZeroWaste+1 crossposts

For me, one is that most people don't deal with the topic. It especially annoys me when someone has children. I don't live this lifestyle for fun, but to do less harm to the future generation and the current wildlife 😞 Many people don't even think about it.

And the other is when I'm looking for an alternative. For example, I'm currently looking for a water filtration system to filter out microplastics and chemicals in the water we drink, and I'm trying to find the most environmentally friendly way that doesn't involve a lot of garbage. (I accept the recommendation 😃 but this is not the main topic of the post)

What difficulties do you face with this topic? How do you handle it?

reddit.com
u/Material_Ganache_931 — 6 days ago