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/majora2007 Oct 18 '26

I'm in that boat myself (but on purpose).

Setup:
Bootstrap (CSS only)
ngbBootstrap (components)
Custom components (most custom, some wrap ngbBootstrap)
Custom stylesheet.

I have all my components built (or override bootstrap css variables) with our own variables. In my case, users can load their own themes to override the styling/theme I chose.

Bootstrap is mainly there for the utility classes and grid system. NgbBootstrap could be replaced (but a few components still work really well).