Properties
All property default values are globally configurable.
Property (Click to sort Ascending) | Type (Click to sort Ascending) | Default | Description |
---|---|---|---|
bg-variant | String | Applies one of the Bootstrap theme color variants to the background | |
border-variant | String | Applies one of the Bootstrap theme color variants to the border | |
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 |
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) |
header | String | Text content to place in the header | |
header-html Use with caution | String | HTML string content to place in the header | |
header-level | Number or String | 3 | Scaling factor of the header. Values range from 1 to 5 |
header-tag | String | 'h1' | Specify the HTML tag to render instead of the default tag for the header |
lead | String | Text string to place in the lead paragraph | |
lead-html Use with caution | String | HTML string to place in the lead paragraph | |
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 |
text-variant | 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!