Skip to main content
Question

Best way to manage client-specific styling in shared components? (Like formfields)

  • April 24, 2025
  • 0 replies
  • 12 views

OptimusPrime

Hi all,

I’ve created a form field component that needs to be used across multiple clients. Each client may require slight changes to the styling—such as hover color, border, and text appearance—to match their branding.

The issue I’m facing is that when I use the component for a new client and try to adjust the colors, it doesn’t work as expected. One option would be to create variants for each client, but with dozens of clients, that could get messy very quickly.

Is there a better way to handle this? Would using variables be a good solution? I’m looking for a way to keep the component reusable while still allowing client-specific customizations.

Thanks in advance for any advice!

This topic has been closed for replies.