Properties
Property (Click to sort Ascending) | Type | Default | Description |
---|---|---|---|
fluid | Boolean | false | Makes the jumbotron full width, and without rounded corners. When set, the inner content will automatically be wrapped into a 'b-container' (fixed width at the various breakpoints) |
container-fluid | Boolean or String | false | When prop 'fluid' is set, this prop will make the inner container wrapper also fluid in width. Can also be set to one of the Bootstrap breakpoint names |
header | String | Text content to place in the header | |
header-html Use with caution | String | HTML string content to place in the header. Use with caution | |
header-tag | String | 'h1' | Specify the HTML tag to render instead of the default tag for the header |
header-level | Number or String | '3' | Scaling factor of the header. Values range from 1 to 5 |
lead | String | Text string to place in the lead paragraph | |
lead-html Use with caution | String | HTML string to place in the lead paragraph. Use with caution | |
lead-tag | String | 'p' | Specify the HTML tag to render instead of the default tag for the lead paragraph |
tag | String | 'div' | Specify the HTML tag to render instead of the default tag |
bg-variant Settings | String | Applies one of the Bootstrap theme color variants to the background | |
border-variant Settings | String | Applies one of the Bootstrap theme color variants to the border | |
text-variant Settings | String | Applies one of the Bootstrap theme color variants to the text |
Caution: Props that support HTML strings
(*-html
) can be vulnerable to
Cross Site Scripting (XSS) attacks
when passed raw user supplied values. You must properly
sanitize
the user input first!