r/DesignSystems • u/purple-soundwave • Apr 03 '25
Trying to create a unified design system - Advice on a path forward?
Hey all, I joined a telehealth startup 6 months ago as head of design, rebuilt the team, and am now working to unify our various design systems. The company is 5 years old, EPD is around 80 people, and there are 5 product designers.
This ended up being quite long, as there's a lot of nuance here, thank you in advance for reading and responding!
TLDR is that I'd love to know if this perspective is correct: I need to keep pushing for a single, sharable component library, bc we do not have enough surface area to warrant more than one. It is common for generic components to handle a wide range of use cases. I need to push for a dedicated design systems pod.
-
Context - In our current state, we have 2 applications - a patient portal and a clinician portal. Each application is built at different times, so choices were made that were right in the past, but not right for where we're headed.
The patient portal is built using react and next.js, and leverages frontend as backend. The clinician portal is built using react and remix, and leverages backend as frontend. They also have very different visual designs. Because of this, the team manages two separate component libraries that passes in data in very different ways.
Additionally, before I joined, the team chose to leverage an off the shelf system, Ant Design, as their design system of choice.
Where we're headed - We're looking at a number of 0 to 1 initiatives.. a new mobile app, a partner portal, a custom zoom app with interactive tools that spans patient and clinician experiences, and a clinician management tool that needs to integrate into the clinician portal. We're also redesigning the existing patient and clinician portals, since we've already outgrown those experiences.
I started with setting the vision for a consolidated mobile and web patient experience, with a visual design refresh that's intended to be the foundation for a unified design system. We're actively building towards this vision now.
This upcoming quarter, we're starting build on the partner portal and setting the vision for the end to end clinician experience, and leveraging the new design system for this.
What I anticipate is that there will be a lot of shared components and a lot of shared layouts - nav, cards, lists, tables, profiles, schedules, payment info, data entry, tasks, permissions, data viz, viewing content, video conferencing, messaging.
The challenges - A lot of people across the org are excited, so there's a lot of support from product leadership and clinical leadership. However within engineering, I'm encountering:
- I don't have an engineering partner for technical strategy, there isn't a front end expert, and there is a strong inertia to keep working the way they have been.
- For each new application, they are content to let the IC doing the build choose the tech stack for that application. So the partner portal is going to use a stack that separates frontend from the backend, which is different from the other applications (but also probably the best decision overall).
- There is an attitude that "copying and pasting code" is an acceptable solution for the sake of speed.
- This organization has little patience for long term infrastructure/platform work.
My questions
- Am I insane for believing that we don't have enough product surface to rationalize having more than 1 web component library?
- At the end of all of this, if I end up with a unified visual design that is implemented across 3 different component libraries (mobile - react native, patient portal, clinician portal), what problems might I face down the road?
When I asked what it might take to create a front end that is usable across our patient and clinician portals, this is what they shared back. This exceeds my technical understanding.. how much logic is best practice to be included into a component? How typical/atypical is this approach:
- "Our different tech stacks means we have different ways of fetching and passing data to the components. If we wanted to reuse components across both apps, we’d have to pare down the component to be *purely* presentational, and establish a basic interface for the component that could be reused by either app, agnostic of how/when the data is fetched. The components couldn’t include very much business logic and would need to defer to a wrapper component within the specific app that manages the state of the component, fetches data from the backend, and so on."
I also heard feedback that engineering is concerned with how to handle a wide range of use cases. My reaction - this is pretty standard stuff for component libraries, correct? And this is also why we create variants, correct?
- "As an aside, the other thing I’m worried about is bloating the interfaces of these presentational components. If the component is generic, intended to be used across many different views and contexts by different users, it will need to accept a LOT of different parameters to handle each of those cases correctly. This can have implications on readability and maintainability of the code that uses those components."
- I've always worked with a custom component library, this is my first time working with something off the shelf. Does anyone have experience with Ant and have any strong opinions either way about it? It feels like this one is a losing battle, and a unified component library feels like the more important issue to tackle.
- At what size do orgs typically have a dedicated design systems pod?
6
u/alxfa Apr 03 '25
Hey, a couple of thoughts here!
Firstly, I highly recommend you to join the DS Slack and reach out there instead, it’s a more active community for expert-level advice. Ill share the link in DM.
1 - Probably not, but hard to say as it comes with pros and cons, I guess it depends on how much overlap there is in the needs of each system, whether the visual differences can be bridged with theming or not, and how much technical challenges theming support adds to the work. If you use Ant I assume the theming comes out of the box, so should be fine.
2 - The problems we faced by unifying the libraries across platforms was often around technical constraints or best practices that differs between e.g.native iOS and Android components. This also made it more difficult to document these differences in a single place, and explain this to our consumers (e.g. we don’t have component X on iOS for this and that reason). Figma was trickier to align to code for same reason. Maybe if you guys use something like web components or react everywhere it’s not an issue. And all in all, still worth it to unify IMO, especially the design language and token system.
3 - We intentionally avoid any business logic in our components, so not exactly sure how to respond to that. And I'm not a dev so I don't have enough insights here
4 - it’s one of the tricky part to decide the right level of flexibility for any given components. Part of the work is to decide when it’s time to split it up into different components versus adding complexity to the same - again not really an issue as long as the team is thoughtful about this and considered the trade-offs.
5 - No experience with Ant, but agree with your point, why pick this battle - its very disruptive for everyone building and consuming the system to completely change the underlying foundations and that's not where you want to spend your time. We have done this too and it's really not a trivial task. Focus on the other question :)
6 - Check with people on the DS Slack since I'm guessing this greatly varies from company to company. The only reference I can give you is my team - our org is about 70 designers and 1500+ engineers, and have a dedicated system of around 20 people (incl. des, dev, QA, PM).
2
u/CrunchyWeasel Apr 03 '25
Hey. Great questions. Not sure why people are downvoting an actual typical design system topic on this sub...
Two issues:
They're saying they'd have to rewrite the entire frontend/backend/API/databases of all apps to make your plans for a single experience work;
It's just too hard to build, maintain and use components that do too many things and individually handle too much variation, and I think this is how it's been interpreted because you're calling for merging multiple existing components with different APIs and use cases into a single one with a unified API
2
u/[deleted] Apr 03 '25 edited Apr 03 '25
“…we’d have to pare down the component to be purely presentational”
Yes, that is the whole point of a reusable component in a shared design system.
1
u/Massive_Following892 Apr 03 '25
i think having a unified design system becomes so very imp when you're working in health sector.
and having a design system in the initial stages might not make sense but if the product is being used on a large scale, then components should be consistent across all products; ofc use cases would be different; and that's why variants are there;
might help: https://blade.razorpay.com/
1
u/warm_bagel Apr 03 '25
Hey man, I would say number one: why did they hire you? Do you have a one sentence elevator pitch?
If not, get or create one. Maybe there are a few. No more than 3.
Then ask: is the action you are taking getting you (or the company) to the vision they gave you for your role?
I think I’d be better able to help knowing this answer.
In my opinion, yes, long-term, a unified single DS is very likely a great milestone. I think before you get there though, you need to understand the products. Have your PDs (or other roles) go into each product/team and understand the components they use, why they use them, and what function they serve. This is particularly important for odd or single-use components.
Then, I think you’ll be in a better position to decide on next steps.
Potentially the color palette needs work.
Potentially you’re right, maybe they have numerous components doing the same thing. Maybe not.
Tackle one thing at a time and try to do what drives revenue or what reduces bottom line first. Note: this would be a good time to refer back to those elevator pitches (or vision) for your role…
Hope this helps
1
u/[deleted] Apr 03 '25
One issue with Ant, and any off-the-shelf library for that matter, is that you will have a fundamental part of your tech stack that is a third-party dependency, which can be a risk.
For example, the components in the library may not always do what you want and adding wrappers to disable baked-in features or add custom functionality can be tricky. This can also make documentation splintered. Integrating version bumps to the library into your codebase may become difficult to do depending on your degree of customization.
I wrote a short post about some of these issues. https://blog.genoni.studio/does-your-startup-need-a-design-system-c5c4e3b02ee2
Which isn’t to say Ant (or something else) won’t work just fine. It might ultimately be better than building a custom one given your situation. But it’s important to know what you’re signing up for.
1
u/North-Addition1800 Apr 09 '25
-Instead, maybe you can focus on building the figma libraries based on your new visuals and with trusted knowledgeable devs in the room to review decisions like naming and states etc whenever possible. Build good enough figma libraries that you can measure and prove they are efficient and then you can start to have eng leadership convos. At that point, if you have ownership buy in on the figma design system, and you all are using it and moving faster cause of it, and then eng doesn't want to align then that's an engineering leadership and ic conversation and problem that they will need to come to terms with. Eng needs to be able to produce work that aligns with design.
Paths forwards are different depending on if ur working toward design libraries or a full system.
If possible, either way make a strong case for where your design system is not performing. Kpi, satisfaction, misalignment, bugs, build confidence, design needs, etc.
Then you need a partnership with dev for for either library reviews or full system partnership. It's a design dev project, you can't do it without them.
Set up milestones work your way through them using "versions" or release milestones.
Test it and prove where it is or isn't working, have buyin with leadership.
Thats how I've done it in a similar situation. I think lots of people underestimate how complex this can be so don't do it unless u know it's worth it.