Component Blueprints
Trial Bar
- HTML/CSS:Dev Ready
- Layout:Desktop Only
Trial bar components are used to provide an interactive and educational prospect experience for setup.
Header#
<div class="slds-trial-header slds-grid">
<div class="slds-grid">
<button class="slds-button slds-m-right_small">Take the salesforce tour</button>
<div class="slds-grid slds-dropdown-trigger slds-dropdown-trigger_click">
States#
Menu - Open#
<div class="demo-only" style="height:240px">
<div class="slds-trial-header slds-grid">
<div class="slds-grid">
<button class="slds-button slds-m-right_small">Take the salesforce tour</button>
Overview of CSS Classes#
- Selector
- The CSS class being referred to.
- Summary
- A description of what the class does.
- Support
- Whether the class name is dev-ready (meaning it's fully vetted and tested and safe to use) or prototype (which means it's not fully vetted yet).
- Restrict
- The selector that the class name is allowed to be used on.
- Variant
- The base level pattern for a component. A variant can be extended to create another variant of that component, for example, a stateful button is a derivative of the base button.
- Modifier
- A single class that can be added to an HTML element of a component to modify its output. Typically these will be colors, sizing and positioning.
Selector | .slds-trial-header |
---|---|
Summary | Sets styles for trial header bar |
Support | dev-ready |
Restrict | div |
Variant | True |
Trial Bar Release Notes
2.7.0
Fixed
- Buttons with the new BEM syntax used within an inverse themed component no longer have their text color overridden