Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we use both angular material and bootstrap together for an angular project?

Can we use both angular material and bootstrap together for a angular project? Is there something that should I know?

like image 712
Janitha Rasanga Avatar asked Sep 01 '18 21:09

Janitha Rasanga


People also ask

Can we use material design with Bootstrap?

Yes, material design makes this possible with Bootstrap (also known as mdbootstrap). It is a set of libraries built on Bootstrap and follows other well-known frameworks and content design guidelines such as Vue, Angular, React.

Should I use Bootstrap or material with Angular?

Angular Material Framework can be used to design High-quality websites and web apps that are mobile-friendly. Bootstrap Framework can be used for developing cross-platform apps that work well on desktops. Angular Material Framework does not support the Responsive Oriented Approach (ROA).

Is Bootstrap better than material UI?

While Bootstrap is known for its consistent user experience, full-proof documentation and high-speed development, Material UI is lauded for the artistic freedom it offers developers while creating unique, stylish and modern-looking apps.

Can you use PrimeNG and Bootstrap together?

Bootstrap - does primeng use the bootstrap classes? PrimeNG does not depend on bootstrap in any way however if you need to use PrimeNG components with it, we have a free theme based on bootstrap styling. The theme itself also does not require bootstrap and can be used standalone as well.


1 Answers

Yes, you can. I am doing that in a project right now. But, we started with bootstrap, and then added Material later just to use a few of it's components that don't really look specifically like material design, e.g. the date picker and the autocomplete component.

Given that the two libraries are both collections of UI components and CSS, you're going to have to decide if you want the bootstrap look and feel, or the Material one. I'm not sure if we would have used Bootstrap if we had started with Material Design.

If you want Material, you can probably just go with that - I don't think Bootstrap would get you much extra, unless you just want to use their css grid layout.

If you want the Bootstrap look and feel, there are a few components that either bootstrap does not provide, or where the Material component is subjectively better.

like image 57
GreyBeardedGeek Avatar answered Oct 21 '22 11:10

GreyBeardedGeek