attributes
|
A Drupal attributes object. Applies extra HTML attributes to the <bolt-layout> tag.
|
object
|
—
|
|
content
|
Content of the layout. While anything can be passed, layout items are preferred.
|
any
|
—
|
|
template
|
Select from a predefined set of layout templates. Numbers represent % of each layout item widths. The @from-* keywords mean "starting from a particular breakpoint".
|
array[string]
|
—
|
-
50 ,
50@from-small ,
50@from-medium ,
67 ,
67@from-small ,
67@from-medium ,
75 ,
75@from-small ,
75@from-medium ,
25/25/50@from-small ,
25/25/50@from-medium ,
25/50/25@from-small ,
25/50/25@from-medium ,
25/75@from-small ,
25/75@from-medium ,
33/67@from-small ,
33/67@from-medium ,
50/25/25@from-small ,
50/25/25@from-medium ,
67/33@from-small ,
67/33@from-medium ,
75/25@from-small ,
75/25@from-medium ,
halves ,
halves@from-small ,
halves@from-medium ,
thirds@from-small ,
thirds@from-medium ,
fourths@from-small ,
fourths@from-medium ,
tiles ,
tiles@from-small ,
tiles@from-medium ,
flag ,
flag@from-small ,
flag@from-medium
|
gutter
|
Set the horizontal spacing in between layout items.
|
string
|
medium
|
-
none ,
small ,
medium ,
large ,
xlarge
|
row_gutter
|
Set the vertical spacing in between layout items.
|
string
|
medium
|
-
none ,
small ,
medium ,
large ,
xlarge
|
padding_top
|
Set the top padding of the layout.
|
string
|
medium
|
-
none ,
small ,
medium ,
large ,
xlarge
|
padding_bottom
|
Set the bottom padding of the layout.
|
string
|
medium
|
-
none ,
small ,
medium ,
large ,
xlarge
|
align_items
|
Control the horizontal alignment of all layout items.
|
string
|
center
|
|
valign_items
|
Control the vertical alignment of all layout items. Unset is required for setting equal-height layout items, do not set this prop if that is the intention.
|
string
|
—
|
|
background
|
A content container that delivers important messages to the user.
|
object
|
—
|
-
-
attributes
A Drupal-style attributes object with extra attributes to append to this component.
-
opacity
Overlay opacity
-
none ,
light ,
medium ,
heavy ,
full
-
shape_group
Add a Bolt Background Shapes group.
-
shape_alignment
Alignment of shape group.
-
fill
Type of fill to use for the overlay.
-
color ,
gradient ,
linear-gradient ,
radial-gradient
-
fill_color
Color of the fill to use in the overlay.
-
default ,
pink ,
navy ,
black
-
focal_point
Where the opacity background should originate.
-
content_items
An array of objects to place in the background.Works with Image and Shape components.Video option is deprecated.
-
overlay
Use opacity instead
-
shapeGroup
Use shape_group instead.
-
shapeAlignment
Use shape_alignment instead.
-
fillColor
Use fill_color instead.
-
focalPoint
Use focal_point instead.
-
contentItems
Use content_items instead.
|