Syncfusion JS Components with Twitter Bootstrap | Syncfusion Blogs
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (180).NET Core  (28).NET MAUI  (224)Angular  (113)ASP.NET  (49)ASP.NET Core  (81)ASP.NET MVC  (87)Azure  (41)Black Friday Deal  (1)Blazor  (234)BoldSign  (14)DocIO  (24)Essential JS 2  (110)Essential Studio  (199)File Formats  (72)Flutter  (135)JavaScript  (226)Microsoft  (121)PDF  (83)Python  (1)React  (105)Streamlit  (1)Succinctly series  (131)Syncfusion  (960)TypeScript  (33)Uno Platform  (3)UWP  (3)Vue  (46)Webinar  (53)Windows Forms  (59)WinUI  (72)WPF  (162)Xamarin  (159)XlsIO  (38)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (10)Business intelligence  (55)Button  (4)C#  (163)Chart  (145)Chart of the week  (57)Cloud  (15)Company  (440)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (73)Development  (676)Doc  (7)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (7)Essential Tools  (13)Excel  (43)Extensions  (23)File Manager  (7)Gantt  (20)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (519)Mobile MVC  (9)OLAP server  (2)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (45)Performance  (13)PHP  (2)PivotGrid  (5)Predictive Analytics  (6)Report Server  (3)Reporting  (8)Reporting / Back Office  (9)Rich Text Editor  (12)Road Map  (12)Scheduler  (54)Security  (5)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (32)Solution Services  (4)Spreadsheet  (11)SQL  (15)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (113)UI  (400)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (19)Web  (624)What's new  (337)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)

Using Syncfusion JS Components with Twitter Bootstrap

What is Twitter Bootstrap?

Twitter Bootstrap is a free set of tools for building web applications. It is one of the easiest CSS frameworks to use in the industry today. It comprises template files as well as optional JavaScript extensions. It provides a uniform, modern appearance and basic style definitions for all key HTML components. Since it is an excellent, responsive framework that is easy to use, most developers use it to speed up the client side of their development process.

Issues While Using Bootstrap with Third-Party Components or Widgets

In your project or application you may wish to use third-party components like Syncfusion alongside Bootstrap. However, Bootstrap applies CSS styles for HTML elements globally. This means that the third-party vendor components that you use in your project may have glitches in their appearance. This arises due to Bootstrap overriding the CSS styles of your components. The overhead involved in debugging to fix these CSS issues is a tedious task and waste of time.

Syncfusion Includes Support for Bootstrap Compatibility

Our JavaScript components can be used in the Bootstrap environment without any issues. We have made the necessary CSS corrections to prevent Bootstrap styles from affecting our JS components, so you can make use of Bootstrap together with our components to create responsive applications. The following sample showcases how to configure JS components together with Bootstrap:

<!DOCTYPE html>

<html >=””>


<title>Essential Studio for JavaScript : Accordion </title>

    <!–CDN link for bootstrap.css–>

    <link href=””

rel=”stylesheet” />

    <!– style sheet for default theme(flat azure) –>

    <link href=””

rel=”stylesheet” />


    <script src =””></script>

    <script src =””></script>

    <script src =””></script>


Bootstrap.css and the script and theme files necessary for essential JS components are included.

The following code demonstrates how the accordion control is wrapped inside a container created using Bootstrap classes:


<!–Accordion component is wrapped inside the container created using Bootstrap classes–>

    <div class=”content-container-fluid”>

        <div class=”row”>

            <div class=”cols-sample-area”>

                <div id=”multiAccordion” style=”width: 500px”>


                        <a href=”#”>Orubase</a></h3>


Orubase is the only mobile application development framework built especially for developing complex line-of-business mobile applications targeting iOS, Android, and Windows Phone platforms in the shortest possible timeframe.



                        <a href=”#”>WinRT XAML</a></h3>


Essential Studio for WinRT contains all the controls you need to build line-of-business tablet applications including grid, chart, map, tree map, SSRS report viewer, rich-text editor, PDF viewer, gauges, barcode, editors, and much more.

It also includes a unique set of controls for reading and writing Excel, Word, and PDF documents in Windows store apps.



<a href=”#”>Metro Studio</a></h3>


Syncfusion Metro Studio is a collection of over 2500 Metro-style icon templates that can be easily customized to create thousands of unique Metro icons.






</script type=”text/javascript” class=”jsScript”>

$(function () {

// Declaration

$(“#multiAccordion”).ejAccordion({ multipleOpen: true });





All our JS components can be used together with Bootstrap which helps in creating web applications with rich UI interface.

Responsive Support

By default all Essential JS components are provided with responsive support. Our components will adjust automatically based on the browser size.

We have not provided responsive support for our controls using Bootstrap. It doesn’t mean our controls will not be responsive when used with Bootstrap, however, we have not used the classes of Bootstrap to make our controls responsive.

Setting width to 100% will make all our components responsive. We have provided the file “default-responsive.css” in this sample file. Including this file will make some components like menus and dialogs change their appearance in mobile devices. We have also attached a sample in the file that demonstrates the responsiveness of the menu tab and accordion control when the width is set to 100%.

Syncfusion has currently no support for Bootstrap themes, meaning Essential JavaScript components do not replicate the look of Bootstrap themes. This is in the to-do list for future releases.



Share this post:

Popular Now

Be the first to get updates

Subscribe RSS feed