2.20.0
Animations for Bolt Design System
<bolt-animate in="fade-in"> ...</bolt-animate>
Note: when assigning component props as HTML attributes on a web component, make sure to use kebab-case
.
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
initialAppearance | string
|
hidden
|
|
|
in | string
|
none
|
|
|
inDuration | Set in milliseconds |
number
|
500
|
|
inDelay | Set in milliseconds |
number
|
0
|
|
inEasing | string
|
ease
|
|
|
inOrder | number
|
1
|
|
|
idle | string
|
none
|
|
|
idleDuration | Set in milliseconds |
number
|
500
|
|
idleDelay | Set in milliseconds |
number
|
0
|
|
out | string
|
none
|
|
|
outDuration | Set in milliseconds |
number
|
350
|
|
outDelay | Set in milliseconds |
number
|
0
|
|
outEasing | string
|
ease
|
|
|
outOrder | number
|
1
|
|
|
showMeta | boolean
|
false
|
|
Name | Required? | Description |
---|---|---|
default
|
No | wrapped content to animate |
Name | Description |
---|---|
triggerAnimIn() => boolean
|
start the in animation, will go to idle animation after
|
triggerAnimOut() => boolean
|
start the out animation
|
Name | Detail | Description |
---|---|---|
bolt-animate:end:in
|
{}
|
Indicates when the in animation concluded
|
bolt-animate:end:out
|
{}
|
Indicates when the out animation concluded
|
in="none"
in="fade-in"
in="slide-down"
in="fade-in-slide-up"
in="fade-in-slide-down"
in="fade-in-slide-left"
in="fade-in-slide-right"
in="fade-in-fade-out"
out="none"
out="fade-out"
out="fade-out-slide-up"
out="slide-up"
out="fade-out-slide-down"
out="fade-out-slide-left"
out="fade-out-slide-right"
2.20.0
Next Generation live editor for Bolt Web Components
{% set content %}
<bolt-text>Hello World!</bolt-text>
{% endset %}
{% include '@bolt-components-editor/editor.twig' with {
styles: ['/build/bolt-global.css'],
scripts: ['/build/bolt-global.js'],
content: content,
} only %}
Note: when assigning component props as HTML attributes on a web component, make sure to use kebab-case
.
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
content * | HTML content to edit |
string
| — |
|
styles * | URL paths to CSS files that the editable content requires |
array
| — | |
scripts * | URL paths to JS files that the editable content requires |
array
| — | |
id | ID for this content. Useful for saving back to a data store like Drupal by passing in the paragraph ID. ID emitted in save event. |
string
| — |
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
You are about to reach your monthly data limit...
<bolt-character size="small"></bolt-character>
Note: when assigning component props as HTML attributes on a web component, make sure to use kebab-case
.
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
attributes | A Drupal-style attributes object with extra attributes to append to this component. |
object
| — |
|
size * | Character Size. |
string
|
small
|
|
characterImage | Pre-defined package image. |
string
|
customer-happy
|
|
characterCustomUrl | URL of a custom image. |
string
|
https://www.fillmurray.com/g/200/200
|
|
useIcon | Use a bolt-icon in place of an image Url. |
boolean
|
false
|
|
constrainBottomSlot | Constrain the bottom slot to the width of the character. Used when right or left slots overflow character height and encroach on bottom slot. |
boolean
|
false
|
|
addBackgroundPadding | Add padding around the character equalling the width/height of the background. Collapses on mobile. |
boolean
|
false
|
|
Name | Requred? | Description |
---|---|---|
top
|
No | |
right
|
No | |
bottom
|
No | |
left
|
No |
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Uh oh!
Why is my bill so high? Let me check.
Uh oh!
Bill is due!
Bill is due!
Bill is due!
Very long. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
I'm a small character
I'm a medium character
I'm a medium character
I'm a medium character
I'm a large character
Bill is due!
I'm a large character. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Bill is due! Lots more text. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
I'm a large character
Bill is due!
Bill is due!
Bill is due!
Bill is due!
Very long. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Why is my bill so high? Let me check.
Corporis expedita labore
You are about to reach your monthly data limit...
Customer is 79% likely to call about their bill.
Offer to waive late fee.
You have a data roaming charge and a late fee. Would you like to waive the late fee?
Why is my bill so high?
Thanks for being a valued customer!
Thanks so much for waiving my late fee!
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Uh oh!
Why is my bill so high? Let me check.
Uh oh!
Very long. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Short text.
Not very long. Lorem ipsum dolor.
Very long. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Very long. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Very long. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
<bolt-connection size="small"></bolt-connection>
Note: when assigning component props as HTML attributes on a web component, make sure to use kebab-case
.
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
speed | Speed of the animation, typically rotation. |
string
|
1000
|
|
animType | Type of predefined animated SVG to use. |
string
|
connectionBand
|
|
direction | Direction of animation, currently only available on Connection Band |
string
|
left
|
|
<bolt-status-dialolgue-bar size="small"></bolt-status-dialolgue-bar>
Note: when assigning component props as HTML attributes on a web component, make sure to use kebab-case
.
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
attributes | A Drupal-style attributes object with extra attributes to append to this component. |
object
| — |
|
iconName | Icon name. |
string
|
mobility
|
|
isAlertMessage | Is this an alert message? Changes it to error red. |
boolean
|
false
|
|
dialogueArrowDirection | Direction of the dialogue arrow direction. |
string
|
none
|
|
boxFloatDirection | The direction in which the dialog box should be floated given extra space in container if no arrow dialog arrow direction is given. |
string
|
center
|
|
Bill almost due
Bill almost due
Bill almost due!! Take action now before this text wraps to another line.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab dolores fuga in ipsum minus modi nihil nulla odit recusandae sapiente! Aspernatur inventore minima nobis odio reprehenderit? Aliquam laudantium quos repudiandae.
Up Arrow
Down Arrow
Left Arrow
Right Arrow
<bolt-icon-group icon-one-name="eye" icon-two-name="eye" icon-three-name="eye" icon-color="teal"></bolt-icon-group>
Simple Steps
You are about to reach your monthly data limit...
Why is my bill so high? Let me check.
Customer is 79% likely to call about their bill.
Offer to waive late fee.
You have a data roaming charge and a late fee. Would you like to waive the late fee?
Why is my bill so high?
Thanks for being a valued customer!
Thanks so much for waiving my late fee!
You have a data roaming charge and a late fee. Would you like to waive the late fee?
Why is my bill so high?
Thanks for being a valued customer!
Thanks so much for waiving my late fee!
You are about to reach your monthly data limit...
Why is my bill so high? Let me check.
Customer is 79% likely to call about their bill.
Offer to waive late fee.
You are about to reach your monthly data limit...
Why is my bill so high? Let me check.
Customer is 79% likely to call about their bill.
Offer to waive late fee.
You have a data roaming charge and a late fee. Would you like to waive the late fee?
Why is my bill so high?
Thanks for being a valued customer!
Thanks so much for waiving my late fee!
You have a data roaming charge and a late fee. Would you like to waive the late fee?
Why is my bill so high?
Thanks for being a valued customer!
Thanks so much for waiving my late fee!
You are about to reach your monthly data limit...
Why is my bill so high? Let me check.
Customer is 79% likely to call about their bill.
Offer to waive late fee.
You are about to reach your monthly data limit...
You are about to reach your monthly data limit...
Why is my bill so high? Let me check.
Customer is 79% likely to call about their bill.
Offer to waive late fee.
You have a data roaming charge and a late fee. Would you like to waive the late fee?
Why is my bill so high?
Thanks for being a valued customer!
Thanks so much for waiving my late fee!