Skip to main content Sidebar Design tokens Components Layout Style utilities

We’d love to hear from you. Please reach out to us with any questions or inquiries you may have.

You can contact us via e‐mail at placer.coc.reports+contact@gmail.com.

We look forward to hearing from you!

Got it!
Skip to table of contents

The Placer Toolkit alpha has arrived! 🎉
Plenty of changes are coming your way—some big, some breaking, some even nuclear! Beware the changelog…

Bring it on!

    Split

    Use the pc-grid class to create a responsive grid with even spacing, allowing the number of columns to adjust when space is limited.

    <div class="split-overview pc-split">
        <div></div>
        <div></div>
    </div>
    
    <style>
        .split-overview div:empty {
            min-inline-size: 4rem;
            min-block-size: 4rem;
            background-color: var(--pc-color-indigo-60);
            border-radius: var(--pc-border-radius-m);
        }
    </style>
    Code Edit

    Demos#

    Splits are especially useful for navigation, header and footer layouts.

    Edit
    Edit

    Direction#

    Items can be split across a row or a column by appending :row or :column to the pc-split class.

    Edit

    Align items#

    By default, items are centred on the cross axis of the pc-split container. You can add any of the following pc-align-items-* classes to an element with pc-split to specify how items are aligned:

    • pc-align-items-start
    • pc-align-items-end
    • pc-align-items-center
    • pc-align-items-stretch
    • pc-align-items-baseline

    These modifiers specify how items are aligned in the block direction for pc-split:row and in the inline direction for pc-split:column.

    Edit

    Gap#

    A split’s gap determines how close items can be before they wrap. By default, the gap between split items uses --pc-spacing-m from your theme. You can add any of the following pc-gap-* classes to an element with pc-split to specify the gap between items.

    • pc-gap-0
    • pc-gap-xxxs
    • pc-gap-xxs
    • pc-gap-xs
    • pc-gap-s
    • pc-gap-m
    • pc-gap-l
    • pc-gap-xl
    • pc-gap-xxl
    • pc-gap-xxxl
    • pc-gap-xxxxl
    • pc-gap-xxxxxl

    To see it in action, use the resize handle on the code demo to resize the demo’s viewport.

    Edit