2.11.2
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) |
---|---|---|---|---|
|
string
|
hidden
|
|
|
|
string
|
none
|
|
|
|
Set in milliseconds |
number
|
500
|
|
|
Set in milliseconds |
number
|
0
|
|
|
string
|
ease
|
|
|
|
number
|
1
|
|
|
|
string
|
none
|
|
|
|
Set in milliseconds |
number
|
500
|
|
|
Set in milliseconds |
number
|
0
|
|
|
string
|
none
|
|
|
|
Set in milliseconds |
number
|
350
|
|
|
Set in milliseconds |
number
|
0
|
|
|
string
|
ease
|
|
|
|
number
|
1
|
|
|
|
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.11.4
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) |
---|---|---|---|---|
|
HTML content to edit |
string
| — |
|
|
URL paths to CSS files that the editable content requires |
array
| — | |
|
URL paths to JS files that the editable content requires |
array
| — | |
|
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.
<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) |
---|---|---|---|---|
|
A Drupal-style attributes object with extra attributes to append to this component. |
object
| — |
|
|
Character Size. |
string
|
small
|
|
|
Pre-defined package image. |
string
|
customer-happy
|
|
|
URL of a custom image. |
string
|
https://www.fillmurray.com/g/200/200
|
|
|
Use a bolt-icon in place of an image Url. |
boolean
|
false
|
|
Name | Requred? | Description |
---|---|---|
top
|
No | |
right
|
No | |
bottom
|
No | |
left
|
No |
I'm a small 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!
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.
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 of the animation, typically rotation. |
string
|
1000
|
|
|
Type of predefined animated SVG to use. |
string
|
connectionBand
|
|
|
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) |
---|---|---|---|---|
|
A Drupal-style attributes object with extra attributes to append to this component. |
object
| — |
|
|
Icon name. |
string
|
mobility
|
|
|
Is this an alert message? Changes it to error red. |
boolean
|
false
|
|
|
Direction of the dialogue arrow direction. |
string
|
none
|
|
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!