Over a dozen reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more.
Includes over 250 glyphs in font format from the Glyphicon Halflings set. Glyphicons Halflings are normally not available for free, but their creator has made them available for Bootstrap free of cost. As a thank you, we only ask that you include a link back to Glyphicons whenever possible.
+icon("search")
+icon-primary("search")
+icon-info("search")
+icon-warning("search")
+icon-danger("search")
+icon-success("search")
+img-responsive("images/slide1.jpg","Responsive Image")
+img-responsive-center("images/slide1.jpg","Responsive Image")
+img-rounded("images/img_rounded.jpg","Image with round corners")
+img-circle("images/img_circle.jpg","Circle image")
+img-thumbnail("images/img_thumbnail.jpg","Image with thumbnail borders")
+alert-info("This is an info alert")
+alert-info("<strong>Well done!</strong> You successfully read this important alert message.")
+alert-danger("This is a danger alert")
+alert-success("This is a success alert")
+alert-warning("This is a warning alert")
+alert-i-info("This is an info alert")
+alert-i-info("This is an info alert with custom icon","heart")
+alert-i-danger("This is a danger alert")
+alert-i-success("This is a success alert")
+alert-i-warning("This is a warning alert")
+alert-x-info("This is an info alert")
+alert-x-danger("This is a danger alert")
+alert-x-success("This is a success alert")
+alert-x-warning("This is a warning alert")
+alert-ix-info("This is an info alert")
+alert-ix-danger("This is a danger alert")
+alert-ix-success("This is a success alert")
+alert-ix-warning("This is a warning alert")
+dropdown("My Dropdown Menu",[
{text:"Bootstrap",url:"http://www.getbootstrap.com"},
{text:"JADE",url:"http://www.jade-lang.com"},
{text:"NodeJS",url:"http://www.nodejs.org"}
])
+dropup("My DropUp Menu",[
{text:"Bootstrap",url:"http://www.getbootstrap.com"},
{text:"JADE",url:"http://www.jade-lang.com"},
{text:"NodeJS",url:"http://www.nodejs.org"}
])
+input("text","txtName","Name","Name")
+checkbox("Check me out")
+radio("My Radio Button")
+submit("Register")
+input-group("$","%")
+input-simple("text","txtName","Name","Name")
+input-group("$")
+input-simple("text","txtName","Name","Name")
+input-group("","%")
+input-simple("text","txtName","Name","Name")
+checkbox-inline("1")
+checkbox-inline("2")
+checkbox-inline("3")
+radio-inline("1")
+radio-inline("2")
+radio-inline("3")
+icon-btn("search")
+label-default("Default")
+label-primary("Primary")
+label-success("Success")
+label-info("Info")
+label-warning("Warning")
+label-danger("Danger")
+badge("42")
This is Home tab
This is Profile tab
This is Messages tab
This is Settings tab
+tab-list(["Home","Profile","Messages","Settings"],0)
+tab("Home","active")
h1 Home
p This is Home tab
+tab("Profile")
h1 Profile
p This is Profile tab
+tab("Messages")
h1 Messages
p This is Messages tab
+tab("Settings")
h1 Settings
p This is Settings tab
This is primary panel
+panel-primary("Primary Panel")
p This is primary panel
This is default panel
+panel-default("Default Panel")
p This is default panel
This is success panel
+panel-success("Success Panel")
p This is success panel
This is info panel
+panel-info("Info Panel")
p This is info panel
This is warning panel
+panel-warning("Warning Panel")
p This is warning panel
This is danger panel
+panel-danger("Danger Panel")
p This is danger panel
button.btn.btn-primary(data-toggle="modal",data-target="#myModal") Launch demo modal
+modal("Modal title","myModal")
p This is modal content
These toolips are rendered using a default anchor element with href attribute set as "#", based on the position parameter the tooltip is shown accordingly.
Show Left Tooltip +tooltip-left("This is a tooltip on the left")
+tooltip-right("This is a tooltip on the right")
+tooltip-top("This is a tooltip on the top")
+tooltip-bottom("This is a tooltip on the bottom")
+accordion("sample")
+accordion-item-primary("Title1","sample","true")
| This is first accordion content
+accordion-item-default("Title2","sample")
| This is second accordion content
+accordion-item-default("Title3","sample")
| This is third accordion content
+carousel("Carousel ID",[
{image:"images/slide1.jpg",p:"Carousel Caption #1"},
{image:"images/slide2.jpg",p:"Carousel Caption #2"},
{image:"images/slide3.jpg",p:"Carousel Caption #3"},
{image:"images/slide4.jpg",p:"Carousel Caption #4"}
])
+carousel("Carousel ID_2",[
{image:"images/slide1.jpg"},
{image:"images/slide2.jpg"},
{image:"images/slide3.jpg"},
{image:"images/slide4.jpg"}
])
+carousel("Carousel ID_3",[
{image:"images/slide1.jpg",h1:"Headline #1",p:"Carousel Caption #1",button:{caption:"Sign up today",url:"#"}},
{image:"images/slide1.jpg",h1:"Headline #2",p:"Carousel Caption #2",button:{caption:"Sign up today",url:"#"}},
{image:"images/slide1.jpg",h1:"Headline #3",p:"Carousel Caption #3",button:{caption:"Sign up today",url:"#"}},
{image:"images/slide1.jpg",h1:"Headline #4",p:"Carousel Caption #4",button:{caption:"Sign up today",url:"#"}}
])
+toggle-primary("Single toggle")
+toggle-default("Single toggle")
+toggle-info("Single toggle")
+toggle-success("Single toggle")
+toggle-warning("Single toggle")
+toggle-danger("Single toggle")
+checkbox-toggle-primary([{caption:"Checkbox1"},{caption:"Checkbox2"},{caption:"Checkbox3"}],0)
+checkbox-toggle-info([{caption:"Checkbox1"},{caption:"Checkbox2"},{caption:"Checkbox3"}],0)
+checkbox-toggle-success([{caption:"Checkbox1"},{caption:"Checkbox2"},{caption:"Checkbox3"}],0)
+checkbox-toggle-warning([{caption:"Checkbox1"},{caption:"Checkbox2"},{caption:"Checkbox3"}],0)
+checkbox-toggle-danger([{caption:"Checkbox1"},{caption:"Checkbox2"},{caption:"Checkbox3"}],0)
+checkbox-toggle-default([{caption:"Checkbox1"},{caption:"Checkbox2"},{caption:"Checkbox3"}],0)
+radio-toggle-primary("radOptions",[{caption:"Radio1"},{caption:"Radio2"},{caption:"Radio3"}],0)
+radio-toggle-info("radOptions2",[{caption:"Radio1"},{caption:"Radio2"},{caption:"Radio3"}],0)
+radio-toggle-success("radOptions3",[{caption:"Radio1"},{caption:"Radio2"},{caption:"Radio3"}],0)
+radio-toggle-warning("radOptions4",[{caption:"Radio1"},{caption:"Radio2"},{caption:"Radio3"}],0)
+radio-toggle-danger("radOptions5",[{caption:"Radio1"},{caption:"Radio2"},{caption:"Radio3"}],0)
+radio-toggle-default("radOptions6",[{caption:"Radio1"},{caption:"Radio2"},{caption:"Radio3"}],0)
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
+table(["#","First Name","Last Name","Username"],[["1","Mark","Otto","@mdo"],["2","Jacob","Thornton","@fat"],["3","Larry","the Bird","@twitter"]])
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
+table-striped(["#","First Name","Last Name","Username"],[["1","Mark","Otto","@mdo"],["2","Jacob","Thornton","@fat"],["3","Larry","the Bird","@twitter"]])
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
+table-bordered(["#","First Name","Last Name","Username"],[["1","Mark","Otto","@mdo"],["2","Jacob","Thornton","@fat"],["3","Larry","the Bird","@twitter"]])
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
+table-hover(["#","First Name","Last Name","Username"],[["1","Mark","Otto","@mdo"],["2","Jacob","Thornton","@fat"],["3","Larry","the Bird","@twitter"]])
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
+table-condensed(["#","First Name","Last Name","Username"],[["1","Mark","Otto","@mdo"],["2","Jacob","Thornton","@fat"],["3","Larry","the Bird","@twitter"]])
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
+table(["#","First Name","Last Name","Username"],[["1","Mark","Otto","@mdo"],["2","Jacob","Thornton","@fat"],["3","Larry","the Bird","@twitter"]],"table-striped table-bordered")
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
+table([],[["1","Mark","Otto","@mdo"],["2","Jacob","Thornton","@fat"],["3","Larry","the Bird","@twitter"]],"table-striped table-bordered")
+list-group(["Cras justo odio","Cras justo odio","Cras justo odio","Cras justo odio","Cras justo odio"])
+list-group-links([{text:"Cras justo odio",url:"#"},{text:"Cras justo odio",url:"#"},{text:"Cras justo odio",url:"#"},{text:"Cras justo odio",url:"#"},{text:"Cras justo odio",url:"#"},],0)
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
+list-group-custom()
+list-group-item("#","true")
h4.list-group-item-heading List group item heading
p.list-group-item-text
| Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
+list-group-item("#")
h4.list-group-item-heading List group item heading
p.list-group-item-text
| Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
+list-group-item("#")
h4.list-group-item-heading List group item heading
p.list-group-item-text
| Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
+progress-bar(60)
+progress-bar-info(20)
+progress-bar-warning(60)
+progress-bar-danger(80)
+progress-bar-striped(60)