Motion Graphics

Import the Motion Graphics design and it brings blocks and content types of its own, on top of the main Canvas library. Read this page when you are working on a site built from Motion Graphics and meet a block you cannot find in the main reference.

These items stay registered on every site so that content you have already imported keeps rendering, and they appear in the block inserter only where the design is in use.

Blocks this design adds

Motion Works

canvas-core/motion-works

Portfolio projects as the Motion Graphics demo work tiles, the intro and reel frame of a project page, or a link to every project. In the block inserter it is named Canvas Motion Works.

Select the block on a page and its own settings open in the sidebar, in the panels below:

The Motion Works settings in the block editor sidebar

Layout

  • LayoutDefaultWork grid

    The grid lists projects; the intro and reel frame show the project being viewed; the link points at the project archive.

    ChoicesWork gridProject intro (project page)Project reel frame (project page)Link to every project

Card

  • Grid ClassesDefaultcm-portfolio-grid

    Class names on the grid element.

    Shown when Layout is "Work grid"

  • Card ClassesDefaultcm-portfolio-item

    Class names on every work card.

    Shown when Layout is "Work grid"

  • Feature the First ProjectDefaultOn

    Gives the first card the featured classes, so it spans two columns and two rows.

    Shown when Layout is "Work grid"

  • Featured Card ClassesDefaultcm-featured

    Extra class names on the featured card.

    Shown when Layout is "Work grid"

  • Image ClassesDefaultcm-portfolio-img

    Class names on each card image.

    Shown when Layout is "Work grid"

  • Overlay ClassesDefaultcm-portfolio-overlay

    Class names on the hover overlay.

    Shown when Layout is "Work grid"

  • Play Link ClassesDefaultcm-play-btn

    Class names on the round play link that opens the project.

    Shown when Layout is "Work grid"

  • Play IconDefaultbi-play-fill

    The glyph inside the play link.

    Shown when Layout is "Work grid"

  • Play Link LabelDefaultPlay %s

    What screen readers announce for the play link. %s is the project name.

    Shown when Layout is "Work grid"

  • Caption ClassesDefaultcm-portfolio-meta

    Class names on the caption that holds the type and name.

    Shown when Layout is "Work grid"

  • Type ClassesDefaultcm-portfolio-type

    Class names on the project type (its category).

    Shown when Layout is "Work grid"

  • Name ClassesDefaultcm-portfolio-name

    Class names on the project name.

    Shown when Layout is "Work grid"

Query

  • ProjectsDefault0

    0 shows every project.

    Shown when Layout is "Work grid"

  • Category SlugDefaultEmpty

    Limit the grid to one project category. Empty shows all.

    Shown when Layout is "Work grid"

  • Exclude Current ProjectDefaultOff

    Leaves the project being viewed out of the grid, for a related row on a project page.

    Shown when Layout is "Work grid"

  • Follow the Category Being ViewedDefaultOff

    On a project category page, list only that category's projects. Ignored when a Category Slug is set.

    Shown when Layout is "Work grid"

  • Order ByDefaultMenu Order

    What decides the sequence of the projects. Menu Order lets you arrange them by hand.

    ChoicesMenu OrderDateTitleRandomShown when Layout is "Work grid"

  • OrderDefaultAscending

    Which end of that sequence comes first. Ignored when the order is random.

    ChoicesAscendingDescendingShown when Layout is "Work grid"

Record Page

  • Type Badge ClassesDefaultcm-badge

    Class names on the badge naming the project type.

    Shown when Layout is "Project intro (project page)"

  • Category Page BadgeDefaultSelected Work

    The badge over the title on a project category page, where the title is the category name.

    Shown when Layout is "Project intro (project page)"

  • Title ClassesDefaultcm-hero-title

    Class names on the project title heading.

    Shown when Layout is "Project intro (project page)"

  • Summary ClassesDefaultcm-hero-sub

    Class names on the summary paragraph (the project excerpt).

    Shown when Layout is "Project intro (project page)"

  • Reel Frame ClassesDefaultcm-hero-reel

    Class names on the frame around the project image.

    Shown when Layout is "Project reel frame (project page)"

Link

  • Link TextDefaultSee Full Portfolio

    The words on the link to the project archive.

    Shown when Layout is "Link to every project"

  • Link ClassesDefaultcm-btn-ghost

    Class names on that link.

    Shown when Layout is "Link to every project"

  • Link IconDefaultbi-arrow-up-right

    The glyph after the link text.

    Shown when Layout is "Link to every project"

Was this page helpful?