Frame quartet: WordPress Block Pattern, Pattern Paste Canonical: https://patternpaste.com/pattern/frame-quartet.html Core Patterns (https://patternpaste.com/patterns/) Gallery (https://patternpaste.com/patterns/gallery/) Catalogue access Standard # Frame quartet Four square photographs in a two-by-two grid, each one inset inside its own ruled plate with a generous mat of white space around it and a small tracked caption underneath, so the four read as framed prints rather than tiles. Includes replaceable example images. ## All patterns Search patterns Loading patterns… The signature moment ## The mat, not the tile Every other gallery in the library runs its photographs to the edge of their cell; here each one is inset inside a ruled plate with real white space around it, so the section reads as four framed prints on a wall rather than four tiles in a grid. The mat is made of two things and only two: a style.border on each plate group (currentColor, solid, 1px, written in both the block's settings and the rendered style= in the order the style engine emits them, border-color then border-style then border-width) and var:preset|spacing|40 of padding on all four sides. Theme handoff ## What comes from where ### Theme and pattern Inherits: every colour (the band is a base chain with contrast type, the captions are contrast chains, the frame is currentColor), the typeface, and the spacing scale (spacing|80 above and below the band, spacing|60 between the intro and the grid, spacing|50 as the grid's gutter in both directions, spacing|40 as the mat, spacing|30 between a photograph and its caption). Decides: the mat itself, the 1:1 crop on all four images (aspectRatio: "1" with "scale":"cover", so whatever the buyer uploads is cropped square rather than letting four different shapes ruin the grid), the 1240px measure and the clamp(1.25rem, 4vw, 4rem) gutters that make it a full-bleed section rather than a cramped column, the 34rem intro measure held by a nested constrained group, and the type proportion: a 13px tracked caption against a 15px to 17px lede at 1.55. Every heading-weight line in this pattern is a paragraph, and every one of them states its own text colour, so no theme's element style can repaint it to match its ground. Full pattern notes ## Why it works, and how it is built Open a topic for the complete design reasoning, editing guidance and implementation notes. Design rationaleComposition, intent and nearest alternatives ### Overview Four square photographs in a two-by-two grid, each one inset inside its own ruled plate. A tracked label and one short line sit above them on a 34rem measure. Every photograph is matted: a 1px hairline runs all four sides of the plate and a generous band of the band's own ground stands between that rule and the picture, with a 13px uppercase caption below the image and inside the same plate. Nothing sits on a photograph. Take frame-sextet where the same mat has to hold six prints in two rows of three. ### The signature moment: the mat, not the tile Every other gallery in the library runs its photographs to the edge of their cell; here each one is inset inside a ruled plate with real white space around it, so the section reads as four framed prints on a wall rather than four tiles in a grid. The mat is made of two things and only two: a style.border on each plate group (currentColor, solid, 1px, written in both the block's settings and the rendered style= in the order the style engine emits them, border-color then border-style then border-width) and var:preset|spacing|40 of padding on all four sides. It survives colourlessness because the frame is a currentColor hairline. currentColor cannot blank, needs no chain and follows whatever text colour the theme puts on the band, so the rule is always exactly as dark as the caption beside it: in a light theme it is a fine ink line on paper, in a dark one a fine pale line on ink, and in both it is the same idea. The white space inside it is the band's own ground, which is a base chain, so the mat is never painted and never needs to be. It survives 390px because the mat is padding, not layout. Below 782px core stacks the two core/columns rows, each column becomes its own flex line, and the four plates become a vertical run of four. Each one keeps its padding and its rule at full strength, so a phone shows the same framed print at a different rhythm: one wide mat after another down the page, instead of two beside two. Nothing is dropped and nothing collapses; only the number of prints per line changes. Make it yoursVariations and the edits to make first ### Variations - Filled mats (quartet-filled): the mat becomes solid instead of ruled. Each plate takes a contrast chain as its ground and a base chain as its caption type, and the border is dropped entirely. The four frames, the spacing|40 mat, the square crops and the grid are identical; only the mat's treatment changes, which is one axis. The photographs now sit on dark card, which suits a set that is mostly light, and the section reads heavier without reading louder. - Cobalt and chalk (cobalt-and-chalk). States a chalk ground, cobalt frame rules and Avenir Next for the opening and print captions. Theme behaviourInheritance, fixed decisions and contrast ### What it inherits, what it decides Inherits: every colour (the band is a base chain with contrast type, the captions are contrast chains, the frame is currentColor), the typeface, and the spacing scale (spacing|80 above and below the band, spacing|60 between the intro and the grid, spacing|50 as the grid's gutter in both directions, spacing|40 as the mat, spacing|30 between a photograph and its caption). Decides: the mat itself, the 1:1 crop on all four images (aspectRatio: "1" with "scale":"cover", so whatever the buyer uploads is cropped square rather than letting four different shapes ruin the grid), the 1240px measure and the clamp(1.25rem, 4vw, 4rem) gutters that make it a full-bleed section rather than a cramped column, the 34rem intro measure held by a nested constrained group, and the type proportion: a 13px tracked caption against a 15px to 17px lede at 1.55. Every heading-weight line in this pattern is a paragraph, and every one of them states its own text colour, so no theme's element style can repaint it to match its ground. Technical notesBlock mechanics, responsive behaviour and constraints ### What a buyer changes first The photographs. All four image blocks include example photographs; choose Replace to select an image from your media library, and the square crop is already set. The captions are the second thing. They are set in caps at 13px with 0.2em tracking, which is a glanced label rather than a read line, so keep each one under about 30 characters or it stops being incidental type. If the mat feels too wide or too tight for the pictures, change the plate group's padding preset: spacing|30 for a narrower mat, spacing|50 for a gallery wall. The rule is currentColor, so it needs no change in any theme; if you want it heavier, raise the width in two places, in the block's settings and in the style=, or the block stops matching itself. ### Included images The copied markup includes WordPress Photo Directory example photographs. The public image URLs keep the examples visible after pasting. Select an image or cover and choose Replace to use your own Media Library files. See image credits (https://patternpaste.com/image-credits/) for the sources and licenses. Pasting an image URL does not import a Media Library attachment. Questions ## Frame quartet: common questions Does Frame quartet need a plugin? No. It is built only from core WordPress blocks (column, columns, group, image and paragraph), so it pastes into the block editor with nothing to install. Will Frame quartet match my theme? Choose by variation. Ruled mats and Filled mats take your theme’s palette; Cobalt and chalk brings its own colours. How many variations does Frame quartet have? 3: Ruled mats, Cobalt and chalk and Filled mats. Each is its own markup; choose one in the toolbar above the preview before you copy. Can I use my own images? Yes. Sample images stay in the copied blocks. Replace them in WordPress; pasting does not upload them to your Media Library. Is Frame quartet free? It is included with a subscription, with every Core Pattern and variation. 62 Core Patterns are free to copy without one. 9.6KB of core-block markup, 5 blocks (column, columns, group, image, paragraph), and nothing else: paste it into the block editor and it becomes editable blocks wearing your theme. Subscribe to copy it, £49 a year (https://patternpaste.com/account/#plan) What you copy is yours forever. Not for you? We refund within 14 days. Back to Core Patterns (https://patternpaste.com/patterns/) Catalogue access ### £49 a year All patterns, variations and theme downloads. What you copy is yours forever. Not for you? We refund within 14 days. Subscribe, £49 a year (https://patternpaste.com/account/#plan) Sign in (https://patternpaste.com/account/) Everything you copy is yours to keep, forever, on any site; access to the rest of the library runs while you subscribe. Not for you? Tell us within 14 days of a payment and we refund you. After that, cancelling stops the next renewal and access runs to the end of the year you have paid for. Prices are in pounds and are the full price in the UK, the US and eleven other countries; elsewhere the checkout adds your local VAT or sales tax. The terms name every country. #### Pair with Hero Hero aperture An opening section on your theme's own paper: a tracked line, a display headline, one short paragraph on a reading measure, and then a picture that stops short of the edge on every side. The signature is the margin: the image is a window cut in the page rather than a band across it, and the paper around it is what you notice. A small opaque plate in the picture's bottom-right corner carries the caption, so no type ever sits on the photograph. The still-image version includes an example photograph; select your own clip for the video version. States no colour and no font of its own. (https://patternpaste.com/pattern/hero-aperture.html)Editorial Article footer The close of an article: a portrait of the author beside their name, the biography under both inside a currentColor slip held to the middle half of the measure, and the previous and the next post hanging off the two outer edges so the section reads as a doorway rather than a footer. The name, the biography and the two neighbours are dynamic core blocks, so they are the post's own and the preview here is sample data; the portrait is an ordinary image block you swap for your author's own. The previous and next links only resolve on a single post template, which is where this pattern belongs. (https://patternpaste.com/pattern/article-footer.html)Contact Contact cover ledger A full-bleed contact cover: a display heading in the top left, and a ruled ledger of address, hours, phone and email in the far lower-right corner, label left and value right between hairline rules, with the photograph running between them. A heavy veil of your theme's contrast colour keeps every line legible whatever photograph you choose. The ledger drops under the heading on a phone. Includes a replaceable example photograph. States no colour and no font of its own. Ships with a short hand-off row on your theme's paper below it. (https://patternpaste.com/pattern/contact-cover-ledger.html) #### Before you paste Requires a block theme on WordPress 7.0 to 7.1. Classic themes and page builders are outside our supported setup. Adaptive patterns use the block theme’s colour, spacing and typography presets; styled variations declare their own colours or type. How we test patterns (https://patternpaste.com/how-we-test/) Sample images stay in the copied blocks. Replace them in WordPress; pasting does not upload them to your Media Library. Video variations need your own clip. Image credits (https://patternpaste.com/image-credits/). ## Specifications Section Gallery Access Subscription Plugin None, core blocks only Variations 3 Colour From your theme or its own palette Type From your theme or its own type Motion None Blocks column, columns, group, image, paragraph Presets color 5, spacing 5, font-size 1 WordPress 7.0+ Continue exploring ## Next in Gallery Explore all 30 Gallery patterns (https://patternpaste.com/patterns/gallery/) Shot in Twenty Twenty-Five Gallery No plugin needed ### Duo weight Two photograph frames at deliberately unequal weight: a tall 3:4 portrait across 64% of the width and a small square at 36%, sitting on the same bottom line. Gallery Preview pattern (https://patternpaste.com/pattern/duo-weight.html) Shot in Twenty Twenty-Five Gallery No plugin needed ### Six framed prints Six square photographs in two rows of three, each one inset inside its own ruled plate with a mat of the band's own ground around it and a small tracked numeral and caption below, so the wall reads as six framed prints rather than six tiles. Gallery Preview pattern (https://patternpaste.com/pattern/frame-sextet.html) Shot in Twenty Twenty-Five Gallery No plugin needed ### Frieze band Five portrait frames butted edge to edge with no gutter between them, running the full width of the page as one continuous band, with a constrained intro above and a small tracked caption line below. Gallery Preview pattern (https://patternpaste.com/pattern/frieze-band.html)