Constellation Studio docsOpen the studio

Designing screens

On this page

The studio at a glance

The studio: top bar, side panel, canvas and Properties

The studio follows the computer's light or dark setting; the moon/sun button in the rail switches it. Text size: the Aa button in the rail (or ⌘K → Text size) makes the studio's own text and controls Small, Normal, Large or Extra large. The canvas keeps its real size, so a design still looks exactly as it will render. The choice is remembered in this browser.

Canvas and layout

Components

Each field has a Pega property (for example .Customer.Name). That is how values reach Pega when you record, publish or run a case. After Connect, the property box suggests the app's real properties. Picking one also fills in its label and picklist values.

Pega, Custom or App only: the level of every part

Every component in the palette has a small mark, and the inspector shows it under the selected part's name:

Mark Level What it means
● blue dot Pega Pega's own configuration: Pega's field or control, placed in its region and set up with Pega's gear. It keeps Pega's guardrails.
◇ amber diamond Custom Drawn by a custom component inside Pega. Pega raises a guardrail warning for every custom DX component, and your team maintains it through every Pega upgrade.
■ grey square App only Works in the exported app (your app on Pega); inside Pega it is only a picture (the app menu).
dashed ring Mockup Stands for a Pega product the studio does not connect to: a picture everywhere.

The ⓘ beside the mark says why, what the part does in Pega today (live, needs a data page, or a picture for now), and Pega's own way to do the same job where there is one: a step's instructions instead of a text block, Pega's table or list view instead of a custom table, an existing Insight instead of a custom chart, Pega's Pulse and Attachments on the case page. A form field is Pega when the form is published with "Pega fields" (the default); with "Fields drawn by the template", or inside a conversation, it is Custom. Choosing custom parts is fine; the studio only makes sure the cost is never hidden. The publish dialogs count the parts per level and say how many custom component rules the publish creates.

Libraries

Each design has a default library, and each component can override it:

The canvas shows close look-alikes. The React app export uses the real packages. Publish to Pega always renders with Pega's own components; its "Library" field is just the DX library name.

Design kits, themes and style

Everything about how a screen looks is under Themes, in four tabs, from the broadest to the most specific:

Themes → Kit

  1. Kit: a design kit is a complete look in one step: colours, body and heading fonts, a type scale, a spacing grid, corner radius, input and button shapes and component styles, plus the principles behind it (shown when you open a kit). Apply it to this screen or, when the screen is part of a case flow, to every screen of the case type. The card at the top shows where the screen's look comes from:

    • Kit: the kit and its version;
    • This screen: what you changed on top of it (listed under Changed on this screen; Reset to kit removes them, Leave kit keeps the look without a kit);
    • Components: components with their own colours (Properties → Style).

    When a newer version of the kit is approved, Update brings it in and keeps this screen's changes.

  2. Colours: the base theme (20, light and dark), the primary colour and every colour token, grouped (buttons, page, cards, muted, borders and inputs, status).

  3. Type: a type scale (body size, line height and the ratio between heading levels, with a preview of H1–H4 and body text) and the body font and the heading font, from 5 system stacks or 18 open-licence web fonts (Roboto Flex, the font of Pega's Constellation Figma kit, Geist, Inter, Roboto, Open Sans, Lato, Source Sans 3, Nunito, Poppins, Montserrat, DM Sans, Manrope, Work Sans, IBM Plex Sans, Merriweather, Lora, Playfair Display, JetBrains Mono). The studio, preview and runner load them from Google Fonts; exported React apps bundle them (@fontsource); published Pega templates load them from Google Fonts and fall back to the system font if Pega's content security policy blocks it (add fonts.googleapis.com and fonts.gstatic.com to the application's CSP to allow them).

  4. Style: each group opens on its own:

    • Spacing: density (height and padding of fields and buttons) and a spacing grid of 4 or 8 px. Applying a kit snaps every padding, gap and space above or below a component to the grid's steps (0, 1, 2, 3, 4, 6, 8, 12, 16 × the unit); Snap to the grid does it on request. Undo brings the old values back.

    • Shape (corner radius, input style, button shape);

    • Surfaces, Background and gradient (gradient buttons and accents too) and Motion (screen transitions and entrances; skipped for people who turn on reduced motion);

    • Component styles: sizes and colours per component type for the whole screen.

      • Buttons: height, minimum width, side padding, corner radius, font weight, primary colour and text, uppercase.
      • Inputs: height, corner radius, border width and colour, background, focus ring.
      • Sliders: track height and colour, fill, thumb size and colour.
      • Cards: padding, corner radius, border, background, shadow.
      • Headings: weight, colour, size. Badges: corner radius, weight, uppercase.

      Blank means the theme's default. A colour is a theme colour (it follows the theme, light and dark) or a fixed one. Each group says where it applies: Pega's own views (its action buttons, its Cosmos theme in the portal) keep Pega's theme, because Pega's design system does not allow restyling its controls; the studio's own components follow everywhere.

Style applies on the canvas (in Preview), in the Constellation preview, in the runner, in published FORM templates and in React exports. Kits travel the same way: a kit only fills these settings in.

Starting kits and your own

Use the look in Pega

Themes → Kit → Use in Pega turns the screen's look (its kit plus this screen's changes) into a Pega Constellation theme, so Pega's own screens (portal, case page, worklist and the forms Pega draws itself) match the studio's screens. Download Pega theme saves the JSON; Copy JSON copies it.

This is the way Pega recommends styling an application: the look lives in the application's theme, and components follow it. Components you publish with Look in Pega → Follow the app's Pega theme (the default, see Publishing) take their colours, corners and font from that theme. So the usual order is: build the look as a kit in the studio, paste its theme into Pega once, then publish your components.

Rules that depend on other fields

Properties → Interaction → Rules (on any component; the last three only on fields):

  • Show only when — hidden until the condition holds (also whole cards and sections). Hidden fields are not checked.
  • Required when — required while the condition holds, on top of Required field.
  • Read-only when — shown, but cannot be changed.
  • Check the value — lowest/highest number, fewest/most characters, a pattern (regular expression) and your own message.

A condition is one or more lines property · is / is not / is empty / is filled in / is more than / is less than / contains / is checked, joined by All of these or Any of these. You never write the expression yourself: pick the property, the comparison and the value, and the studio writes it for every target. Properties are Pega properties, so a rule can also read a case value that is not on this screen (the checks warn when no field here fills it in). The editor shows the same condition as Pega writes it (@E .Decision == 'Rejected') and as a sentence.

Groups, for mixed conditions such as (A or B) and C: click A group (A or B). A group is a box of lines with its own All of these / Any of these, joined to the other lines by the condition's own choice. For example Show only when all of these: Difficulty level is Advanced and a group any of these: Servings is more than 10 / Servings is less than 2 reads "Difficulty level is Advanced and (Servings is more than 10 or Servings is less than 2)" and is written @E .DifficultyLevel == 'Advanced' && (.Servings > 10 || .Servings < 2). Groups go one level deep, like Pega's condition builder; up to 8 lines and groups per condition and 8 lines per group. Checked on the canvas Preview and the Constellation preview, on Pega 26.1's server (a validate rule with a grouped "required when" refused and accepted the right submissions) and with Pega 26.1's own expression engine in the portal.

Where rules work:

Target Behaviour
Canvas an amber chip says the rule; Preview applies it as you type
Constellation preview, Run in Pega Cosmos fields: hidden, required, read-only; a failed check shows Cosmos' error status. Run in Pega reads case values too
Published Pega forms (FORM template) the template reads the case values and shows, hides, requires and locks fields; a failed check shows under the field, and Pega's Submit waits for it (the field joins Pega's own form validation; Pega shows the message in its error banner). Browser checks only: keep must-haves in Pega as well, for example with a validate rule.
React app, app on a Pega backend the same, and Submit waits until checked fields are fixed

Record from Pega brings Pega's own simple conditions along (visibility, required and read-only written as @E comparisons, also one level of brackets such as (A || B) && C; deeper nesting, or && and || mixed without brackets, stays Pega's). When rules (@W …) and expressions with functions stay in Pega. Questions inside a conversation are always asked: their shown/required/read-only rules are not applied there (the checks say so); value checks are.

Share a clickable prototype

Top bar Share (or ⌘K "Share clickable prototype") lets people click through your screens without Pega or the studio: Back / Next (or ← →), the stages of a case flow, desktop / tablet / phone width.

  • What: this screen, or every designed step of its case flow in order (steps without a design are left out).
  • Download prototype: one HTML file that opens in any browser, offline; nothing is sent anywhere.
  • Private link (online studio, signed in): the screens are stored with your account and open at a link that works 7, 30 or 90 days. Anyone with the link can view it, and, if you allow it, comment on each screen without an account (plain text; at most 300 comments, 30 a minute). Copy the link when it is created (it is shown only then; only a fingerprint of it is stored). Your links are listed in the same dialog with views and comments; Revoke stops a link at once.
  • Screens are static: fields can be typed into, but rules, data and buttons do not run and nothing reaches Pega. The screens are drawn in frames that cannot run scripts, and their markup is cleaned before it is stored and shown.

Data on the canvas

Data components (table, list, chart, KPI, timeline, to-do, board, calendar, carousel, tree, quick links, menu, accordion and selected items) can be bound to a Pega data page under Properties → Data source. You can also insert them bound from the DX workbench.

  • What a row opens (Data source): nothing, the row's case (Pega opens it) or a link from a column; tables can add a link column.
  • Display parts bound to a case property (metric, badge, progress bar and ring, counter, sentiment, avatar, image): set Properties → Pega property and the published form shows the open case's value with Pega's own components. A badge can map values to tones (Approved=success, Rejected=urgent).
  • Live data (canvas toolbar) shows real rows; it refreshes every 30 s and is never saved into the design.
  • Case parameters: parameters can use @P .Property to read the open case's values. A test value shows them on the canvas.

Pega guideline checks

55 rules check your design, for example contrast, labels, long forms, sample data and overlaps on a free canvas (plus the 14 Looks AI-made rules below). Several come from Pega's own guidance:

  • Pega's design system (design.pega.com, Forms): no placeholders, one primary button, two notes for conversations, Three columns of fields (Pega advises one or two; one click makes it two) and Tall input beside other fields (text areas, radio buttons and checkbox groups change height, so they get their own row).
  • Pega's text guidelines for forms: Label written as an instruction ("Enter your date of birth" → name the field, "Date of birth", and move the instruction to helper text) and Field help in a tooltip (Pega keeps tooltips for icon buttons; one click moves the text to More information (ⓘ)).
  • Pega's writing and layout advice: no "&" in text, sentence case for labels and titles, no "(s)" plurals, no filler words ("please", "simply"), at most a handful of tabs and no tabs inside tabs, a switch is for settings that apply at once (a checkbox in a step form), no text forced to upper case. Contrast problems are warnings.
  • Four follow from what the design is Used for (see below).
  • Many rules have a one-click fix.
  • Errors block publishing unless you override them.
  • You can mute rules in the Checks panel.

Used for

Click the design's name in the top bar to open Design settings. Used for says what the design becomes in Pega:

  • Step form: the form of a case step. Only a step form saves what people type.
  • Page content (widget): shown in a page region, for example a landing page. It saves nothing.
  • Single field: one field, published as a Pega Field.
  • App page: Home, the case page or the app shell of the exported app. It is not published into Pega.

Left on Automatic, the studio works it out from the case flow and the content. The checks then warn, for example, when page content has inputs, or when a field on a step form has no Pega property (this one only when you publish). See How the studio decides. Used for picks the main kind; the same design can also be published as other kinds (a Read-only display, an editable widget, a Field…) with Also publish as….

Looks AI-made

14 more rules look for the habits of generated, template-looking screens:

  • emoji in labels and headings, exclamation marks and hype words ("seamless", "supercharge");
  • greetings as headlines, capitals and periods on short labels, PRO, New and Beta badges;
  • colour-to-colour gradients (purple to blue above all) and gradients on many components;
  • glass, mesh glows and gradient buttons all at once, glow on hover, and entrances from many directions;
  • spacing off the grid, and a sparkline on every KPI.

They are suggestions and never block publishing. Most have a one-click fix, for example removing the emoji, using sentence case, quieting the style or snapping spacing to the grid. The AI assistant follows the same rules when it builds a screen. The list is adapted from unslop by Damir Sokolovsky (CC BY 4.0).

Accessibility audit

Checks → Run audit checks the screen with axe-core (WCAG 2.2 A and AA) on what each target really draws, not on the design file:

  • Studio preview: the screen as people see it in Preview (the look of the React app export);
  • Constellation (Pega): the same screen drawn with Pega's Cosmos components in the runner (start it with npm start).

Each finding names the component (click it to select), how serious it is, what axe measured (for example the contrast ratio and both colours) and what to do in the studio; where a Pega check already has an automatic fix for the same problem, its Fix button is there too. Findings that come from Pega's own component markup say so: they are not something to change in the design. Animations are paused while auditing, so colours are measured as they end up.

AI assist

AI turns a prompt, a screenshot or an exported Figma frame into a new design or a section of the open one, using the Claude API (Opus 5.5 by default).

  • Key storage: online, your own key is saved to your account encrypted with a secret only the studio's server has (see The online studio). Never in the browser.
  • Pega rules built in: the AI's instructions carry every rule the studio's Pega checks enforce (generated from the checker itself, so they stay in step), and they win over a conflicting request. Example: asked for "an approval panel with approve and reject buttons", it shows the decision and the facts and points to Pega's own Approve and Reject assignment actions, because Pega adds those buttons itself.
  • Checked after generating: every result runs through the Pega checks; errors with an automatic fix (a missing label, a property name Pega refuses, low contrast…) are fixed straight away, and the dialog says what is left.

AI assist following the Pega rules: a review decision panel that uses Pega's own Approve and Reject actions

Presentation mode (demos and screen shares)

⌘K → Presentation mode (hide server and names) before you share your screen or record. While it is on, the top bar shows Presenting (click it to turn the mode off) and the studio:

  • shows the Pega server's address, the application path and both OAuth client IDs as dots in Connect to Pega, and says "your Pega server" wherever it would name the server (Connect to Pega, the DX API workbench);
  • hides people in Pega's raw data in the DX API workbench: who created or updated a record (pxUpdateOpName, pxCreateOperator…), owners, operator IDs, and any email address in a value;
  • passes the choice to Run in Pega, whose header then leaves out the server's address.

Everything keeps working the same; only what is shown changes. The setting is per browser and stays on until you turn it off. It does not hide what Pega itself shows in its own pages (the address bar, Pega's sign-in page, the portal), so keep those out of the recording or blur them.

Saving

  • Where designs live: in your account (your personal space or a team space), saved as you work, from any browser.
  • History and trash: every saved version is in History; deleted designs and flows stay in Trash for 30 days.
  • Files: Save editable design downloads a design; Import design opens a design file, or a ZIP you exported from the studio (it reads the design.json inside), as a new design.