Designing screens
On this page
The studio at a glance

- Top bar: the design's name and whether it is saved, the command search (⌘K) in the middle, the Pega checks count, AI assist, Preview, Run in Pega, Export and Publish (to Pega, the one primary action).
- Rail and side panel (left): Components, Designs, Layers, Themes and Pega checks. Each panel has tabs (for example Built-in · Sections · Saved · Library under Components) and its groups open and close.
- Canvas: the artboard in the middle with two floating toolbars: panel, undo/redo, history and Live data on the
left; artboard width (1024 · 768 · 390) and zoom on the right. The selected component shows its name, size, and the
Pega property it binds (
.Property). - Properties (right): the selected component with tabs Properties · Style · Interaction · Checks. The first Pega check finding sits on top with a Fix button. Sections (General, Pega data, Options, …) fold away and stay folded.
- Status bar: where the selection sits (click a level to select it) and the Pega connection (click to connect).
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
- Artboard sizes: the canvas is a fixed-width artboard (Desktop 1024, Tablet 768, Mobile 390 px) scaled to fit. A design looks the same on any screen. The zoom menu sets 50–200% or Fit.
- Layouts:
- Stack (column);
- Columns (equal columns of at least 240 px that wrap when narrow);
- Free canvas (absolute positions that stack on narrow screens).
- Free placement: drag to move (snaps to 8 px; hold Alt for free). Drag the handles to resize. Smart guides align items with their neighbours.
- Side drop: dropping on the left or right edge of a component places the new one beside it.
- Editing shortcuts:
- multi-select with Shift/Cmd-click;
- copy, paste and duplicate;
- arrow-key nudge;
- align and distribute;
- lock or hide layers (Layers);
- undo and redo (Ctrl/Cmd+Z, Ctrl+Y or Shift+Cmd+Z);
- the command palette (Ctrl/Cmd+K).
Components
- Form fields: input, textarea, select, radio, checkbox, switch, date, slider, range, rating, tags, toggle group, file upload.
- Layout and content: card, heading, text, alert, badge, button, tabs, avatar, progress, region (a slot for Pega fields, views and widgets).
- Rich components (32): data table, chart, KPI (stat), list, kanban, calendar, carousel, image, map, video, breadcrumb, pagination, stepper, timeline, to-do, hero, tree, progress ring, quick links, skeleton, empty state, gauge.
- Pega widgets: case summary, stages, to-do, Pulse, attachments, details.
- Conversation: a layout that asks the fields inside it one at a time, as a chat (answers, attachments, a summary). See Component reference. Step by step: Tutorial: a form as a conversation.
- Sections: 15 ready-made sections, such as a hero, case header, KPI strip, approval panel, my work and details form. Find them under Components → Sections or with ⌘K "Add section".
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:
- shadcn/ui
- Pega React SDK (MUI)
- MUI
- Ant Design
- Fluent
- Mantine
- Carbon
- Bootstrap
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:

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.
Colours: the base theme (20, light and dark), the primary colour and every colour token, grouped (buttons, page, cards, muted, borders and inputs, status).
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 (addfonts.googleapis.comandfonts.gstatic.comto the application's CSP to allow them).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
- Pega Cosmos: closest to what Pega draws (Cosmos blue, Roboto Flex, 4 px corners).
- Ten starting kits whose principles come from DESIGN.md files of the open awesome-claude-design collection (getdesign.md, MIT): Hairline, Fintech indigo, Enterprise square, Gallery, Paper, Marketplace coral, Editorial cream (light) and Midnight lavender, Night studio, Infrastructure (dark). Each kit names its source; brand fonts are replaced with open-licence ones. Every starting kit passes WCAG AA text contrast.
- Your kits: Save this look as a kit turns the current screen's look into a kit draft. Edit changes its name, description and principles (one rule per line) and can take the look from the open screen; each saved change is a new version. It follows the same rule as your own components: you can use your draft at once; in a team space it is submitted when its contrast checks pass and the team owner approves it for everyone; a new version goes through the same approval while the approved one stays in use.
- AI assist follows the screen's kit: when it adds to or changes a screen, the kit's principles go with the request.
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.
A theme restyles the whole application. Try it on a copy of your theme first (⋮ → Save as).
After you copy or download the theme, the panel remembers it. When the kit or the screen's look changes later, it says Changed since you took it to Pega: copy it again and paste it into the same theme rule.
Push to a theme rule saves the theme straight into a theme rule your application already has, without copying and pasting: type the rule's name, Find, check which rule and ruleset it is, then Replace its Theme Json. Put back the earlier one restores what the rule held before. The studio never creates a theme rule and never changes Pega's own themes (those in Pega's rulesets: save one as a copy in your ruleset first).
Push follows your branches. When branch development is on for the operator the studio connects with, the theme is saved into that branch (for example
MyRuleset_Branch_BP-1) and the panel says so before you push. Merge the branch in Pega to put it into the ruleset, as with any other change. The branch must already hold that ruleset: the studio never creates rulesets, so if it is missing it asks you to add the ruleset to the branch in Pega first.Skip branch … and save straight into … is an opt-in for a push that must bypass the branch. It is not recommended: the change skips your branch review and merge. The studio switches branch development off for the save, checks that it is off, and switches it back on right after (it tells you if Pega did not switch it back).
With branch development off, Push saves into the rule's own ruleset.
What goes in: brand and interactive colour, page, card and secondary backgrounds, text and border colours, status colours; body font and size, type scale and line height; corner radius and spacing; button shape, height and colours; field border, radius and fill; card radius, padding and background; heading font and weight. Like Pega's own themes (compared with Bootes (2025) on 26.1): focus rings in the brand colour, the case page header and current stage in the brand colour, finished stages in a soft success tone, navigation and header colours, button text and field label colours.
What Pega's own themes set and the studio leaves to Pega: layout preferences such as detached panels, striped tables, the announcement banner's gradient and condensed badge text.
Only keys from Pega's own theme schema (
themeOverrides.schema.json, shipped with Cosmos) are written; every starting kit is checked against the Pega 25.1 and 26.1 schemas.What stays in studio screens (the panel lists it for your kit): gradients, glass surfaces, slider styles, motion.
Fonts: a Pega theme only names fonts; it cannot bring font files. Pega 26.1's portal already ships Inter, Inter Tight, Lora, Monda, Montserrat, Nunito Sans, Open Sans, Playfair, Poppins, Roboto Flex, Roboto Mono, Roboto Slab, Tinos and Work Sans: a kit using one of these (in the studio: Roboto Flex, Inter, Open Sans, Poppins, Montserrat, Work Sans, Lora) needs nothing else. For any other font, upload its files to the application (binary file rules) and declare them with
@font-facein the application's pyC11nCustomFonts style sheet (it exists, empty, in every Constellation application); until then Pega shows the fallback font. So that the studio, your published components and Pega's own screens always show the same font, Use in Pega does not export a theme with a font Pega does not ship: it names the font and offers Use , the closest font Pega ships (Geist, DM Sans, IBM Plex Sans and Manrope → Inter; Nunito → Poppins; Lato and Source Sans 3 → Open Sans; Roboto → Roboto Flex; Merriweather and Playfair Display → Lora). The check Font Pega does not ship warns the same way on a step form, widget or field, with the same one-click fix. Starting kits with such a font: Hairline, Enterprise square, Marketplace coral, Editorial cream.Keep a font Pega does not ship: Font package for Pega (in the same box) downloads a ZIP with the font's WOFF2 files (Latin, one per weight; one file for a variable font such as Geist),
pyC11nCustomFonts.csswith one@font-faceper file read fromwebwb/, and STEPS.txt: in Dev Studio Create → Technical → Binary File for each file (App Name/Directorywebwb, file typewoff2), then paste the CSS into the text file rule pyC11nCustomFonts. When that is done, tick I uploaded the font to Pega (remembered per Pega server in this browser): the theme then exports with that font. The files come from Google Fonts under the SIL Open Font License; keep the licence with them.To apply it: Application menu → Settings → Themes → Add Theme (or ⋮ → Save as on the theme you use) into an unlocked ruleset; ⋮ → Open the theme, paste the JSON into Theme Json and save; then Channels → Work Portal → Portal UX → Portal theming → Light theme (or Dark theme), save and reload the portal.
On Pega 26.1 the saved theme also appears in the portal's own UI Designer (the purple tab at the top of the portal → Design → Theme gallery), next to Pega's themes and marked with Edit; picking it there applies it to the portal. Paste or type the JSON into Theme Json: text set there by a script is not saved.
Component gradients: "from, to, angle" per component. Text colours switch to stay readable, and the contrast check uses the weaker end of the gradient.
Interaction (per component):
- hover effect (lift, glow, grow, dim);
- entrance (fade, rise, zoom);
- hide on mobile, tablet or desktop;
- sticky;
- tooltip: shown above or below the component on hover and on keyboard focus, read out by screen readers, up to 300 characters.
Motion respects "reduce motion".
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 .Propertyto 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.

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.jsoninside), as a new design.