Reference
Kit blocks
Reference, generated from the plugin source
The plugin ships 27 blocks of its own in its blocks/ folder, read here from each block's block.json and block.fields.json. They are ordinary GCB blocks: a theme overrides one by putting a block folder with the same slug in its own blocks/ folder (the theme's folder is scanned first).
| Block | Title | Parent | What it is |
|---|---|---|---|
gcb/accordion-item | Row | gcb/accordion | One row of an Accordion: a title that opens any blocks beneath it. |
gcb/accordion | Accordion | Rows that open and close, each with a title and any blocks inside. FAQs, specs, long lists. | |
gcb/card-stack | Card stack | Cards you fill with any blocks. As the page scrolls each card stays near the top of the screen and the next one slides over it, while the covered one shrinks back. With no script they are simply one under another. | |
gcb/carousel | Carousel | Slides you fill with any blocks, shown one or a few at a time with arrows and dots. Swipe on a phone. | |
gcb/edge | Edge | Add it inside any block (a Box, a Group, a section) and that block's top or bottom edge is cut to a shape: pixels, steps, a zigzag, a wave, scallops. The edge can grow in as the block comes onto the screen, or slide sideways as the page scrolls. It takes no room itself. | |
gcb/headline | Headline | Big words with a look: every line as wide as its box, in outline, with a band of light crossing them, or with a picture seen through the letters that moves as you scroll. | |
gcb/icon-list-item | Icon list item | A single icon-list row — icon + text. Only usable inside an Icon list block. | |
gcb/icon-list | Icon list | A list whose bullets are icons from the site icon library. Each row is its own icon-list-item block. | |
gcb/icon | Icon | One icon, from the site's icon sets or an SVG of your own, at the size and colour you set. Give it more icons and it cycles through them on a loop. | |
gcb/layout-box | Box | gcb/layout, gcb/steps, gcb/path, gcb/card-stack, gcb/tilt | One box of a Layout: any blocks inside; where it sits and how big it is are set on the Layout. It can have a background behind what is in it: a picture, a video, a colour or a gradient, with a scrim over it so words can be read, and an optional mask that shapes the background. |
gcb/layout | Layout | Boxes on a grid, arranged by hand: drag each box where it goes and how big it is, and put any blocks inside. Columns without the columns, a bento you fill yourself. | |
gcb/map | Map | A Google map of a single location, styled by pasted Styling-Wizard JSON. Renders a real interactive map (Maps JS API), not a static image. | |
gcb/mask | Mask | Add it inside any block that holds other blocks (a Box, a Group, a card) and that block is shown through a shape: a circle, an arch, a blob, a star, big letters, or a logo or icon of your own. It takes no room itself. To mask a picture, put the Picture and a Mask in a Box. | |
gcb/parallax | Parallax | A hero with depth: pictures laid over each other, each scrolling at its own speed, with the blocks you put inside it among them. Slow layers look far away, fast ones near. | |
gcb/path-rider-source | Path rider source | Goes in a box of a Path. It is the source the Path's rider shows when the line reaches that box: a post (its featured image, title, date and link are looked up) or a picture and title set by hand. On a phone, where there is no line and no rider, it shows its picture in the box. | |
gcb/path-rider | Path rider | Goes in a box of a Path that is set to ride the line. It travels with the tip of the line and shows what each box has given it (a Path rider source block in that box) as the line reaches the box: a picture, a title, a date. One rider serves the whole path, however many nodes are added. On a phone there is no rider; each box shows its own picture. | |
gcb/path | Path | A line across or down the page with stops along it, each with a box you fill with any blocks. The line draws itself as you scroll and each stop appears as the line reaches it. It can carry a Rider (a picture that travels the line and changes at each box, such as each post's featured image) and can be filled from posts, repeating its boxes once per post: a timeline. On a phone the boxes are a list. | |
gcb/picture | Picture | One picture, shown the way you want it: its shape, the point to keep in view and the zoom are all in the picture's own settings. | |
gcb/reel | Reel | Posts in groups on one long strip that travels across the screen as the page scrolls. Each group has a title, a few words and its own colours, which take over as its posts come through: your work by pillar, news by topic, anything by category. | |
gcb/scale | Scale | One thing, a picture, a video or any block, that starts as a small box and grows to its full size as the page scrolls to it. On a phone it is simply shown at its full size. | |
gcb/scene | Scene | A stage held on the screen while the page scrolls, with layers you set at moments along a timeline: where each is, how big, and any CSS (opacity, rotate, blur). Between the moments the page eases from one to the next. For a designer or a developer. | |
gcb/scrim | Scrim | Add it inside any block that holds other blocks (a Box, a Group, a card) and it lays a colour or a gradient over that block, edge to edge, at a strength you set: so words over a picture can be read, or to tint it. It takes no room itself. Blocks before it are under it, blocks after it are on top. Add several for layers. | |
gcb/slide | Slide | gcb/carousel | One slide of a Carousel: any blocks inside. |
gcb/steps | Steps with pictures | Rows of words beside their picture. On a wide screen the picture stays put while you scroll through the words, and changes with them. On a phone each picture sits under its words. | |
gcb/tab | Tab | gcb/tabs | One tab of a Tabs block: its title on the strip, any blocks in its panel. |
gcb/tabs | Tabs | A strip of tabs, each opening a panel you fill with any blocks. Stacks on a phone. | |
gcb/tilt | Tilt | Layers at different depths that lean toward the pointer in 3D: a card with layers on it at different depths that slide against each other as it turns: a product card with its name, a photo and a badge standing off it. Its layers are one list: pictures, and each block you put inside it. Flat on a phone. |
gcb/accordion-item
One row of an Accordion: a title that opens any blocks beneath it.
- Category:
gcb-kit - Only inside:
gcb/accordion - Supports:
html,reusable - Renders with:
render.php
| Field | Type | Label |
|---|---|---|
title | text | Title |
gcb/accordion
Rows that open and close, each with a title and any blocks inside. FAQs, specs, long lists.
- Category:
gcb-kit - Supports:
html,align - Renders with:
render.php, plus aview.json the page
gcb/card-stack
Cards you fill with any blocks. As the page scrolls each card stays near the top of the screen and the next one slides over it, while the covered one shrinks back. With no script they are simply one under another.
- Category:
gcb-kit - Supports:
html,align - Renders with:
render.php
gcb/carousel
Slides you fill with any blocks, shown one or a few at a time with arrows and dots. Swipe on a phone.
- Category:
gcb-kit - Supports:
html,align - Renders with:
render.php, plus aview.json the page
| Field | Type | Label |
|---|---|---|
perView | range | Slides across |
gap | range | Gap |
arrows | toggle | Arrows |
dots | toggle | Dots |
autoplay | range | Autoplay |
gcb/edge
Add it inside any block (a Box, a Group, a section) and that block's top or bottom edge is cut to a shape: pixels, steps, a zigzag, a wave, scallops. The edge can grow in as the block comes onto the screen, or slide sideways as the page scrolls. It takes no room itself.
- Category:
gcb-kit - Supports:
html,reusable,multiple - Renders with:
render.php, plus aview.json the page
| Field | Type | Label |
|---|---|---|
shape | select | Shape |
where | toggle-group | Which edge |
size | range | How deep |
moves | select | As the page scrolls |
gcb/headline
Big words with a look: every line as wide as its box, in outline, with a band of light crossing them, or with a picture seen through the letters that moves as you scroll.
- Category:
gcb-kit - Supports:
html,align,color,typography - Renders with:
render.php, plus aview.json the page
| Field | Type | Label |
|---|---|---|
text | textarea | Words |
more | repeater | More headlines, shown in turn |
fit | toggle | Fit to width |
look | select | Look |
image | image | Picture |
moves | select | The picture |
arrive | select | How the lines arrive |
wait | range | Wait before it starts |
seconds | range | Seconds each shows |
level | select | Heading level |
gcb/icon-list-item
A single icon-list row — icon + text. Only usable inside an Icon list block.
- Category:
gcb-kit - Supports:
html,inserter - Renders with:
render.php
| Field | Type | Label |
|---|---|---|
icon | icon | Icon |
gcb/icon-list
A list whose bullets are icons from the site icon library. Each row is its own icon-list-item block.
- Category:
gcb-kit - Supports:
html - Renders with:
render.php
gcb/icon
One icon, from the site's icon sets or an SVG of your own, at the size and colour you set. Give it more icons and it cycles through them on a loop.
- Category:
gcb-kit - Supports:
html,color - Renders with:
render.php
| Field | Type | Label |
|---|---|---|
icons | repeater | Icons |
size | range | Size |
align | toggle-group | Align |
speed | range | Seconds each icon shows |
change | select | The change between icons |
gcb/layout-box
One box of a Layout: any blocks inside; where it sits and how big it is are set on the Layout. It can have a background behind what is in it: a picture, a video, a colour or a gradient, with a scrim over it so words can be read, and an optional mask that shapes the background.
- Category:
gcb-kit - Only inside:
gcb/layout,gcb/steps,gcb/path,gcb/card-stack,gcb/tilt - Supports:
html,reusable,color,__experimentalBorder - Renders with:
render.php
| Field | Type | Label |
|---|---|---|
name | text | Name |
inset | range | Inset |
valign | toggle-group | Line up |
align | toggle-group | Align |
bg | background | Picture, video or colour |
scrims | repeater | Scrim |
bgMasks | repeater | Mask the background |
minHeight | range | Minimum height |
bgMaskSpeed | range | Seconds each shape shows |
bgMaskChange | select | The change between shapes |
gcb/layout
Boxes on a grid, arranged by hand: drag each box where it goes and how big it is, and put any blocks inside. Columns without the columns, a bento you fill yourself.
- Category:
gcb-kit - Supports:
html,align - Renders with:
render.php
gcb/map
A Google map of a single location, styled by pasted Styling-Wizard JSON. Renders a real interactive map (Maps JS API), not a static image.
- Category:
gcb-kit - Supports:
html - Renders with:
render.php, plus aview.json the page
| Field | Type | Label |
|---|---|---|
location | google-map | Location |
mapId | text | Map ID (style) |
gcb/mask
Add it inside any block that holds other blocks (a Box, a Group, a card) and that block is shown through a shape: a circle, an arch, a blob, a star, big letters, or a logo or icon of your own. It takes no room itself. To mask a picture, put the Picture and a Mask in a Box.
- Category:
gcb-kit - Supports:
html,reusable,multiple - Renders with:
render.php
| Field | Type | Label |
|---|---|---|
shapes | repeater | Shapes |
fit | select | Fit |
speed | range | Seconds each shape shows |
change | select | The change between shapes |
gcb/parallax
A hero with depth: pictures laid over each other, each scrolling at its own speed, with the blocks you put inside it among them. Slow layers look far away, fast ones near.
- Category:
gcb-kit - Supports:
html,align - Renders with:
render.php, plus aview.json the page
| Field | Type | Label |
|---|---|---|
layers | repeater | Layers |
height | range | Height |
hold | range | Hold on the screen |
face | color | Colour behind the layers |
gcb/path-rider-source
Goes in a box of a Path. It is the source the Path's rider shows when the line reaches that box: a post (its featured image, title, date and link are looked up) or a picture and title set by hand. On a phone, where there is no line and no rider, it shows its picture in the box.
- Category:
gcb-kit - Uses context:
gcb/item,gcb/path-fill - Supports:
html,reusable - Renders with:
render.php
| Field | Type | Label |
|---|---|---|
post | post-object | A post |
image | image | Picture |
title | text | Title |
gcb/path-rider
Goes in a box of a Path that is set to ride the line. It travels with the tip of the line and shows what each box has given it (a Path rider source block in that box) as the line reaches the box: a picture, a title, a date. One rider serves the whole path, however many nodes are added. On a phone there is no rider; each box shows its own picture.
- Category:
gcb-kit - Supports:
html,reusable,color,__experimentalBorder - Renders with:
render.php, plus aview.json the page
| Field | Type | Label |
|---|---|---|
picture | toggle | Show the picture |
shape | select | Picture shape |
title | toggle | Show the title |
date | toggle | Show the date |
link | toggle | Link to the post |
gcb/path
A line across or down the page with stops along it, each with a box you fill with any blocks. The line draws itself as you scroll and each stop appears as the line reaches it. It can carry a Rider (a picture that travels the line and changes at each box, such as each post's featured image) and can be filled from posts, repeating its boxes once per post: a timeline. On a phone the boxes are a list.
- Category:
gcb-kit - Provides context:
gcb/path-fill - Supports:
html,align,color - Renders with:
render.php, plus aview.json the page
| Field | Type | Label |
|---|---|---|
path | path | The line and its nodes |
scroll | range | How long it holds |
fill | toggle | Fill from posts |
posts | query-loop | Which posts |
gcb/picture
One picture, shown the way you want it: its shape, the point to keep in view and the zoom are all in the picture's own settings.
- Category:
gcb-kit - Supports:
html,align - Renders with:
render.php
| Field | Type | Label |
|---|---|---|
image | image | Picture |
gcb/reel
Posts in groups on one long strip that travels across the screen as the page scrolls. Each group has a title, a few words and its own colours, which take over as its posts come through: your work by pillar, news by topic, anything by category.
- Category:
gcb-kit - Supports:
html,align - Renders with:
render.php, plus aview.json the page
gcb/scale
One thing, a picture, a video or any block, that starts as a small box and grows to its full size as the page scrolls to it. On a phone it is simply shown at its full size.
- Category:
gcb-kit - Supports:
html,gcbShapesChild,align,__experimentalBorder - Renders with:
render.php
gcb/scene
A stage held on the screen while the page scrolls, with layers you set at moments along a timeline: where each is, how big, and any CSS (opacity, rotate, blur). Between the moments the page eases from one to the next. For a designer or a developer.
- Category:
gcb-kit - Supports:
html,align - Renders with:
render.php, plus aview.json the page
| Field | Type | Label |
|---|---|---|
layers | repeater | Layers |
hold | range | How long it runs |
height | range | Height |
face | color | Colour behind the layers |
stage | repeater | The stage's own keyframes |
gcb/scrim
Add it inside any block that holds other blocks (a Box, a Group, a card) and it lays a colour or a gradient over that block, edge to edge, at a strength you set: so words over a picture can be read, or to tint it. It takes no room itself. Blocks before it are under it, blocks after it are on top. Add several for layers.
- Category:
gcb-kit - Supports:
html,reusable,multiple - Renders with:
render.php
gcb/slide
One slide of a Carousel: any blocks inside.
- Category:
gcb-kit - Only inside:
gcb/carousel - Supports:
html,reusable - Renders with:
render.php
| Field | Type | Label |
|---|---|---|
inset | range | Inset |
gcb/steps
Rows of words beside their picture. On a wide screen the picture stays put while you scroll through the words, and changes with them. On a phone each picture sits under its words.
- Category:
gcb-kit - Supports:
html,align - Renders with:
render.php
| Field | Type | Label |
|---|---|---|
gap | range | Gap |
gcb/tab
One tab of a Tabs block: its title on the strip, any blocks in its panel.
- Category:
gcb-kit - Only inside:
gcb/tabs - Supports:
html,reusable - Renders with:
render.php
| Field | Type | Label |
|---|---|---|
title | text | Title |
gcb/tabs
A strip of tabs, each opening a panel you fill with any blocks. Stacks on a phone.
- Category:
gcb-kit - Supports:
html,align - Renders with:
render.php, plus aview.json the page
| Field | Type | Label |
|---|---|---|
phone | select | On a phone |
gcb/tilt
Layers at different depths that lean toward the pointer in 3D: a card with layers on it at different depths that slide against each other as it turns: a product card with its name, a photo and a badge standing off it. Its layers are one list: pictures, and each block you put inside it. Flat on a phone.
- Category:
gcb-kit - Supports:
html,align,color,__experimentalBorder - Renders with:
render.php