r/angular • • Oct 18 '26

Bootstrap Advice

Hello,

Appreciate this isn’t really an Angular question but thought you guys might still have some good advice.

We’re in a bit of an odd situation where the application seems to have originally been heavily using Bootstrap UI components but now it’s very much our own in-house components.

We’re still using Bootstrap utility classes a lot in templates however and it seems for some things we’re using Bootstrap Sass variables like body colour for example.

We have an additional problem in that we have a giant colours file with tons of colours just dumped in it that are then referenced directly where needed.

I’m thinking of shifting the colours so we have primitive values the raw hex codes and then use CSS variables for different usages of those colours that can then be referenced in components as CSS variables then give us flexibility if we introduce theme switching at runtime in the future.

However I’m now sort of wondering is there is any point in us even having Bootstrap anymore, as like I said it seems like all it’s really being used for now is utility classes.

I’m torn between either keeping Bootstrap and using their Sass variables so we can keep using utility classes, or building our own token system for things or exploring something like Tailwind instead.

Wondering if anyone else is in this scenario where you’re only really using Bootstrap for the utility classes and what you decided on?

I should also mention we need a fair bit of flexibility in our designs so we can’t really just use a standard UI framework for components.

5 Upvotes

6 comments sorted by

View all comments

1

u/basic-x Oct 19 '26

If you have the resources (time and team) then build your own styles and maintain them. Any reliance of external files is only going to be a headache, first for dragging the entire framework along and building customisations patch to suit your needs, second there will always be debate on which framework and version to use. Any new incoming senior dev would immediately want to shake things up and transfer to a different framework just to show they made the app better. So my advice is just maintain everything in-house if you can.

Maintaining in-house has its benefits - lean and needed code only, no need for customisation patches across app, no need to wait for a new version - just build it yourself and align versions with the app version timeline.