GlyphfieldDocs
Documentation/System reference

Brand elements

Apply the brand identity to 89 templates for email, product, developer, social, editorial, event and print use, and export PNG, HTML email or JSON.

Maintained with source

Brand elements (tool ID brand-elements) is the Glyphfield Studio tool that applies the active brand identity to a catalog of 89 templates. Each element renders on an artboard at its own pixel size with the identity's fonts, colors, corner radius, logos and graphic device, then scales to fit the canvas. Select an element, edit its copy on the artboard or in the inspector, adjust the composition, and export a PNG, an HTML email or a JSON brief.

Every template takes its content from the identity: products and their one-line summaries, proof, customers, published plans, the code sample and install command, and the sample person and event (see Brand identity). A template does not fall back to Glyphfield's own product copy.

General Translation Brand elements workspace with the element catalog and a rendered welcome email
Brand elements for General Translation89 elements · 7 categories

Layout

RegionContents
Tool headerFile (Export PNG at 2×, Export HTML email, Download element brief and Advanced → Edit source code) and Export PNG
Left sidebarA search field that matches name, category, description, size, format and keywords, the Brand element category select (All elements or one of seven categories), and the catalog grouped by category
CanvasThe element at its pixel size, the hint "Click any text on the artboard to edit it in place.", and chips with the catalog size and format. On narrow screens the Active brand element select replaces the sidebar.
Right sidebarThe Element editor

Catalog

GET /api/elements returns the catalog with each element's id, name, category, dimensions, format, symbol, keywords and preview family. The catalog size (dimensions) is the intended production size. When it is a pixel size with the same proportions as the artboard and larger than it, the PNG export renders at the catalog size. The 3000 × 3000 podcast cover is one example. Component sizes such as the 420 × 560 pricing card and print sizes in millimeters or inches describe the subject, so those elements export at their artboard size. The tables list the PNG size at 1×.

Digital (35)

The 26 emails render 640 px wide at their content height and export as HTML. Their catalog size is "640 px / responsive". The three enterprise emails are plain-text emails.

EmailID
Welcome emailwelcome-email
Start setuponboarding-day3-no-api-key-email
Translateonboarding-day3-api-key-email
Translation liveonboarding-day3-live-email
Setup reminderonboarding-day5-no-api-key-email
First translationonboarding-day6-api-key-email
Activated guidanceonboarding-day6-live-email
Payment confirmationonboarding-payment-confirmation-email
Magic linkauth-magic-link-email
Organization invitationmembership-invitation-email
Enterprise introductionenterprise-intro-email
Enterprise follow-upenterprise-day3-follow-up-email
Enterprise final follow-upenterprise-day7-follow-up-email
Credit balance warningbalance-soft-limit-email
Credit balance depletedbalance-hard-limit-email
Free credit warningfree-credit-soft-limit-email
Free credits exhaustedfree-credit-hard-limit-email
Usage limit warningusage-soft-limit-email
Usage limit reachedusage-hard-limit-email
Payment failedbilling-payment-failed-email
Plan canceledbilling-plan-canceled-email
Plan activatedupgrade-confirmation-email
Locadex setup completelocadex-setup-complete-email
Locadex PR reminderlocadex-pr-reminder-email
Newsletternewsletter-email
Event invitationevent-invitation-email
ElementIDCatalog sizePNG at 1×
Email system sheetemail-system-sheetMulti-template contact sheet1440 × content height
Email signatureemail-signature480 × 160640 × 220
Web cardweb-card720 × 480720 × 480
Logo on backgroundlogo-background1600 × 10001600 × 1000
OpenGraph imageopengraph1200 × 6301200 × 630
404 pageerror-pageResponsive1440 × 900
Favicon setfavicon-set16–512 px1200 × 720
App iconapp-icon1024 × 10241200 × 720
App store galleryapp-store-gallery1290 × 27961600 × 1400

Product (20)

ElementIDCatalog sizePNG at 1×
Navigation barnavigation-barResponsive1440 × 520
Hero sectionhero-section1440 × 7601440 × 760
Feature gridfeature-grid3–6 cards1440 × 800
Pricing cardpricing-card420 × 5601200 × 760
Testimonial cardtestimonial-card640 × 4001100 × 720
Form controlsform-controlsResponsive1280 × 800
Command menucommand-menu640 × 4801100 × 720
Modal dialogmodal-dialog560 × 3601280 × 800
Toast notificationtoast-notification420 × auto1000 × 600
Data tabledata-tableResponsive1280 × 800
Dashboard widgetdashboard-widget480 × 3201000 × 720
Empty stateempty-stateResponsive1280 × 800
Checkout cardcheckout-card480 × 6001000 × 800
Settings panelsettings-panelResponsive1280 × 800
Authentication screenauth-screenResponsive1280 × 800
Sidebar navigationsidebar-navigation240 px / responsive1280 × 800
Search surfacesearch-surface720 × 5601280 × 800
Onboarding checklistonboarding-checklist640 × 5601280 × 800
File uploaderfile-uploader640 × 3601280 × 800
Status pagestatus-pageResponsive1280 × 800

Developer (9)

ElementIDCatalog sizePNG at 1×
CLI brandcli-banner80 columns960 × 620
ASCII markascii-markMonospace grid1280 × 640
Terminal themeterminal-themeResponsive1280 × 640
GitHub README herogithub-readme1280 × 6401280 × 640
Documentation headerdocs-header1440 × 4801440 × 480
Package cardpackage-card512 × 320512 × 320
API reference heroapi-reference-hero1440 × 7201440 × 720
Code playgroundcode-playground960 × 640960 × 640
Release notesrelease-notes1200 × 6301200 × 630

Social (8)

ElementIDCatalog sizePNG at 1×
X / Twitter postx-post1600 × 9001600 × 900
LinkedIn postlinkedin-post1200 × 12001200 × 1200
Community cardcommunity-card1200 × 6751200 × 675
Social avatarsocial-avatar400 × 4001200 × 720
Product launch cardlaunch-card1600 × 9001600 × 900
Video thumbnailvideo-thumbnail1280 × 7201280 × 720
Podcast coverpodcast-cover3000 × 30003000 × 3000
Social carouselsocial-carousel1080 × 13501080 × 1350

Editorial (7)

ElementIDCatalog sizePNG at 1×
Slide deck titleslide-title16:91600 × 900
Slide sectionslide-section16:91600 × 900
Blog coverblog-cover1200 × 6301200 × 630
Report coverreport-coverA4 / US Letter1000 × 1414
Press kitpress-kitMulti-format1600 × 900
Case study covercase-study-cover1200 × 6301200 × 630
Whitepaper coverwhitepaper-coverA4 / US Letter1000 × 1414

Event (5)

ElementIDCatalog sizePNG at 1×
Lanyard passlanyard90 × 140 mm1000 × 1400
Event badgeevent-badge105 × 148 mm1000 × 1400
Event backdropevent-backdrop16:9 / large format1600 × 900
Partnership lockuppartnership-lockupFlexible lockup1600 × 900
Booth wallbooth-wall10 × 8 ft1500 × 1000

Physical (5)

ElementIDCatalog sizePNG at 1×
Business cardbusiness-card3.5 × 2 in1400 × 900
Sticker sheetsticker-sheetA5 sheet1500 × 1060
Packaging labelpackaging-label4 × 6 in1000 × 1500
LetterheadletterheadA4 / US Letter1000 × 1414
Notebook covernotebook-coverA51000 × 1414

Controls

Click a headline, supporting copy, action, name, role or partner name on the artboard to edit it in place. The accessible labels are Edit headline in place, Edit supporting copy in place and so on. In-place edits stay in sync with the inspector, the source and the brief.

The Element editor shows only the controls an element supports:

SectionControls
ContentReset element, Headline, Supporting copy and Action. Person elements have Name and Role. The partnership lockup has Partner name.
CompositionLayout (Split, Stacked, Centered), Type scale (Compact, Balanced, Bold), Pattern (None, Dots, Grid, Dither) and Pattern opacity (0–100%)
TypographyFont role (any identity role) and Weight (100–550) for the display type
Shared assetLibrary asset (an identity or proof asset, or No shared asset), Placement (Background, Header, Banner, Card) and Asset opacity (0–100%)
ArtworkHorizontal and Vertical offset (−120 to 120 px) and Scale (40–200%)
ColorBackground, Text and Accent
Brand detailsShow logo with the logo appearance controls (invert, dither, outline and shadow), and Show website

Settings are stored per project and per element. Reset element removes the element's settings and returns it to the identity defaults.

Export

The export preview is the dialog that shows an export with its file name and a download button.

ActionResult
Export PNGRenders the element with every edit at its PNG size and opens it in the export preview
File → Export PNG at 2×Renders at twice the PNG size and downloads it
File → Export HTML emailDownloads a send-ready HTML email. Enabled for email elements only.
File → Download element briefOpens the JSON brief in the export preview

PNG files embed the brand fonts and are named <identity>-<element>.png or <identity>-<element>@2x.png. HTML files are named <identity>-<element>.html.

The HTML email is a 600 px table layout with inlined styles, an Outlook (MSO) wrapper, a hidden preheader of up to 140 characters, a table-based button that renders in Outlook, and absolute image URLs. Its footer links to Unsubscribe at /account on the identity's website. The content differs by element:

EmailContent
Lifecycle emailsA wordmark header, header art, a greeting with the sample person's first name, the body, an action button and the template's supporting cards. The Welcome email lists up to three products when its template has no cards.
Enterprise emailsPlain text with a greeting and a signature from the sample person. No header or art.
NewsletterUp to three items from the identity's latest update and up to three products
Event invitationThe date, time and place of the sample event above the headline
Email signatureA standalone signature block instead of the 600 px layout
Email system sheetNo HTML export

The wordmark header and header art appear while Show logo is on. General Translation's lifecycle emails use GT's animated GIF header art, linked by absolute URL. Every other email uses a 1200 × 380 PNG of the brand's graphic device, embedded as a data URL. Host that PNG and replace its src before you send through a client that blocks data URLs, such as Gmail.

Source format

File → Edit source code shows the selected element as glyphfield.brand-element version 2:

{
  "schema": "glyphfield.brand-element",
  "version": 2,
  "elementId": "welcome-email",
  "headline": "Welcome to Stripe",
  "body": "…",
  "cta": "Open workspace",
  "layout": "stacked",
  "accentColor": "#533AFD"
}

Applying source selects elementId when it is present. It stores only the values that differ from the identity defaults, so untouched copy keeps following identity edits. Omitted settings keep their current values, so { "elementId": "x-post" } only selects an element. Colors are six-digit HEX, and enum values must match the editor options. Numbers are clamped: artwork offsets to ±120, artwork scale to 40–200, opacities to 0–100 and font weight to 100–900 (displayed at most 550). Text is limited to 400 characters for the headline, 2000 for the body, 200 for the action and the role, and 120 for the name and the partner name. Unknown keys are ignored. A version 1 document has no elementId and applies to the selected element.

Browser API

The Browser API (window.glyphfield.studio) exposes these actions while Brand elements is the active tool. An export artifact is an object with a non-empty blob and a fileName.

ActionInputOutput
brand-element.export.png{ elementId?, scale?: 1 | 2, download? }An export artifact. width and height are the PNG size. Selects elementId first.
brand-element.export.html{ elementId?, assetOrigin?, download? }An export artifact. previewText holds the HTML. assetOrigin sets the origin of image URLs (default: the Studio origin). It renders elementId without selecting it.
brand-element.export.briefNoneAn export artifact with the brief JSON

The browser brief is { element, settings, identity: { colors, id, name, shortName, tagline, typography, voice, website }, schemaVersion: 2 }.

HTTP

GET /api/elements returns { categories, count, elements, generation, schemaVersion: 1 }. POST /api/generate with kind: "element-brief" and an elementId returns { element, generation: { previewFamily, source }, identity, schemaVersion: 1 }. The HTTP brief resolves the element against an identity but has no editor settings. See Generation API. A document from the source drawer is not an HTTP request body.

Limits

  • PNG export at 1× or 2× of the PNG size, which is the catalog pixel size when it matches the artboard's proportions and the artboard size otherwise.
  • HTML export for email elements only.
  • Font weights display up to 550.

On this page