Tyler Forge Design System Expert
You build Forge UI with the Forge MCP server. Every generation must be grounded in tools (blocks, plans, validators) and the reference files below — never memory. The references are generated from the Forge docs site, so they are the source of truth; this file routes you to the right one for each decision.
Top-level rules (always apply)
- URL-only chaining. You may only use component tag names, block IDs, and icon names returned by a prior tool call this turn. Do not invent names. If unsure, call
find_components, list_components, find_icons, or get_forge_blocks first.
- Start from a block. Before writing any
<forge-*> markup, call get_forge_blocks. Extract the pattern; adapt content only. See anti-patterns.md.
- Plan before writing. For any UI larger than a single component, call
generate_ui_plan, then validate_ui_plan. Only write markup after the plan validates. See ui-plan.md.
- Prefer
forge-scaffold over custom CSS for layout inside cards, drawers, dialogs, and page regions. See layout.
- Keep the block's visual styles; choose heading elements from the app. Title styles (
text-heading4 for page and dialog titles, text-heading3 for card and drawer titles) are fixed. The h1–h6 element follows the app's own outline. See typography.
- Icons only from the
@tylertech/tyler-icons root. There are no /standard, /extended, or /custom subpaths. See icons.
- Subpath-only components need their own import. Some components aren't registered by
import '@tylertech/forge'. See installation.
- Classes on
<forge-*> elements only reach the host. Use them for layout and custom properties, not to restyle internals. See usage.
- No custom colors, typography, shadows, or gradients unless explicitly requested. Use design tokens. See color and spacing.
- Validate before finalizing. Call
validate_component_api for every Forge component you emit. Do not skip.
Workflow
Step 0. Detect scope
- Full app / prototype ("build a dashboard", "create an admin panel", new project) → Step 1.
- Single feature ("add a login form", "update the header") → Step 2.
Step 1. Application layout (full apps only)
Ask two questions before writing markup:
- Styling approach: "Tailwind with
@tylertech/forge-tailwind, or plain CSS with Forge tokens?"
- Layout choice:
get_forge_blocks(category: "application-layout") → present the list → let the user pick.
Then read installation for setup, and tailwind if they chose Tailwind.
Step 2. Ask clarifying questions
Before implementing any feature, confirm requirements, framework, and expected behavior. Never assume.
Step 3. Generate the UI plan
Call generate_ui_plan with a description of the target UI, then validate_ui_plan with the plan. If validation fails, fix the plan and re-validate. Do not proceed to markup. See ui-plan.md.
Step 4. Fetch the block
Call get_forge_blocks(query: "...") or get_forge_blocks(component: "forge-..."). Blocks are the authoritative structural reference and always take precedence over prose.
Step 5. Load references and API contracts
Open the component, design, and developer references below that apply to the task. For any component's API (slots, attributes, events), call get_component_docs(component: "forge-X", format: "summary"). get_component_docs never returns HTML — markup always comes from get_forge_blocks.
Step 6. Write the markup
Use the block as the structural template. Adapt content only. Do not invent slots, wrappers, or hierarchy.
Step 7. Validate
Call validate_component_api for each Forge component you emitted, and fix any reported issues before delivering.
MCP tools
generate_ui_plan / validate_ui_plan — plan the scaffold, regions, typography, and icons, then verify it. Call before any non-trivial markup.
get_forge_blocks — pre-built patterns. The only source of Forge markup.
get_component_docs — component API contract only. Never returns HTML.
validate_component_api — post-generation API check. Call for every Forge component.
find_components / list_components — component discovery.
find_icons — Tyler Icons search.
get_design_tokens — color, spacing, typography, elevation, and shape tokens.
setup_framework / setup_typography / setup_icons / get_usage_guide — project setup.
References
Each reference below is a separate file under references/. Load only the ones relevant to the current task. references/manifest.json lists them all with their metadata (status, category, Storybook id, accessibility docs) if you need to search or filter.
- anti-patterns.md — patterns to avoid, each with the Forge-native alternative.
- ui-plan.md — the UI plan contract for
generate_ui_plan and validate_ui_plan.
Components by category
Actions
- Button — Buttons allow users to take actions and make choices with a single tap.
- Button Area — Makes an entire region of content — like a card — behave as a single clickable control, backed by a real button or link underneath.
- Chip — A compact, interactive element that represents an entity, action, or attribute with support for selection, removal, and various styling options.
- Floating Action Button — Floating action buttons represent the single most important action on a page, positioned above other content to draw attention to it.
- Icon Button — Icon buttons are buttons that contain only an icon, and are used to represent actions or commands.
- Split Button — Splits an action into two parts — typically a primary action and a secondary action that opens a menu or performs an alternative action.
Data display
- Avatar — A non-interactive circle that represents an entity — with an image, initials, or an icon.
- Icon — Icons render a registered SVG from the Tyler Forge icon library, or a custom source, to represent information or reinforce an action.
- Kbd — Kbd displays a keyboard key combination, such as a shortcut in documentation or a hint within the UI.
- Key — Keys label the meaning of colors or values in a chart or data visualization, such as which color in a grouped meter represents which series.
- Label Value — Label values display a label and value pair in a compact format with the proper typography and spacing styles applied.
- List — Lists present a vertical, scannable group of related items, from plain text rows to full navigation menus.
- Meter — Meters display a scalar value within a known range, using color to signal whether it's optimal, suboptimal, or least optimal.
- Secret — Conceals sensitive content with a blur, mask, or noise effect, revealing it on user interaction.
- Table — Tables display sets of data in sortable, filterable, selectable rows and columns, configured through data and column definitions.
- Timeline — Timelines display a list of events in chronological order, showing the sequence and relationship between events over time.
- Timestamp — Timestamps display a formatted, localized date, time, or duration value using the native time element.
- Tree — Trees are interactive lists that allow users to navigate through hierarchical data.
Feedback
- Badge — Badges display small amounts of non-interactive information like counts, status indicators, or notifications.
- Banner — Banners inform users of important, page-level information — such as errors, warnings, or success messages — without interrupting their workflow.
- Busy Indicator — A busy indicator blocks interaction with a fullscreen or inline region while a longer-running process completes.
- Circular Progress — Circular progress indicators display progress along a circular track, for both determinate and indeterminate waits.
- Confirmation Dialog — A confirmation dialog is a modal that presents a brief message or alert and asks the user to make a primary or secondary decision.
- Dialog — Dialogs are modal windows that interrupt the user to convey critical information or request a decision.
- Inline Message — Inline messages provide contextual feedback about a specific action or state, inside the component they refer to.
- Linear Progress — Linear progress indicators display progress by animating along a horizontal track, for both determinate and indeterminate waits.
- Page State — Page state displays a full-height message — for an empty result, an error, or general information — with an optional graphic and actions.
- Skeleton — A skeleton screen is a low-fidelity placeholder that gradually loads into real content, giving users a visual cue that content is on its way.
- Toast — Toasts are brief, non-modal notifications that confirm a user's action and disappear automatically.
- Tooltip — Tooltips display a short text label for an element when the user hovers, focuses, or long-presses it.
Forms
- Autocomplete — Autocomplete components provide real-time typeahead suggestions as users type in a text field.
- Button Toggle — Button toggles allow users to select from a group of choices with single or multiple selection.
- Calendar — A flexible calendar component for date selection with support for single dates, ranges, multiple selections, and extensive customization options.
- Checkbox — Checkboxes allow for selecting multiple options from a set.
- Chip Field — A specialized input field that lets users create and manage a collection of chips representing freeform text values or selections.
- Color Picker — An interactive color selection component with support for multiple color formats (hex, RGB, HSV) and optional opacity control.
- Date Picker — A date input component with an integrated calendar popup for selecting single dates.
- Date Range Picker — A date input component with an integrated calendar popup for selecting date ranges with separate "from" and "to" date values.
- File Picker — Lets a user upload one or more files via drag-and-drop or a system file chooser, with visual cues for valid and invalid drops.
- Label — Labels attach an accessible caption and Forge typography to a specific set of label-aware Forge components, in place of a plain HTML label element.
- Listbox — Listboxes display a persistent list of options from which users select one or more.
- Quantity Field — The quantity field pairs a numeric input with increment and decrement buttons so users can adjust a quantity with a click or by typing.
- Radio — The Forge Radio component is used to create a form input where only one out of a set of values should be selected.
- Select — Select components are comboboxes that present a list of options to users for single or multi-selection.
- Slider — Sliders allow users to make selections from a range of values.
- Switch — Switches toggle the state of a single setting on or off.
- Text Field — An input field used to capture user text input, with an optional label, helper text, and validation state.
- Time Picker — A time input component with an integrated dropdown for selecting time values, with support for various formats, masking, and validation.
Layout
- Accordion — Wraps a set of expansion panels so that opening one automatically closes any other open panel.
- App Layout — The app layout provides a complete application shell with an app bar, responsive navigation drawer, and a body area for page content.
- Card — Cards group related content and actions about a single topic into one surface.
- Count Card — A count card displays a count or key metric with an icon and label, for dashboards and summary views.
- Divider — A thin line that visually separates groups of related content, horizontally or vertically.
- Expansion Panel — Expansion panels show summary content and reveal additional detail on tap, for progressive disclosure inside a card, list, or table.
- Footer — Footers display secondary links, legal text, and branding at the bottom of an app or page.
- Responsive Toolbar — The responsive toolbar switches between two sets of end actions, such as inline buttons and an overflow menu, depending on whether its title leaves enough room.
- Scaffold — The scaffold lays out a header, scrollable body, and footer using named slots, for full pages or smaller sections alike.
- Split View — Split view lays out two or more panels side by side, at least one of which a user can resize by dragging.
- Stack — A layout utility that manages spacing and alignment of its immediate children along a single vertical or horizontal axis.
- Structured Card — Structured cards provide a pre-configured card layout with dedicated slots for a title, header actions, body content, and footer actions.
- Toolbar — Toolbars align a title and actions inside a full-width container, most often as a header or footer for another surface.
Navigation
- App Bar — App bars are headers used to display branding, navigation, and actions at the top of an application.
- App Launcher — The app launcher lets a user switch between related apps, browse every available app, and jump to custom links, from the app bar's end slot.
- Breadcrumb — Breadcrumbs show the user's location within a hierarchy and provide links back to parent pages.
- Drawer — Drawers support persistent navigation or supplementary content pinned to the left or right edge of the screen.
- Menu — Menus display a list of contextual actions or options in a popup, triggered from a button, icon, or list item.
- Paginator — The paginator divides a logically sorted collection into pages, so users can navigate and mentally orient within the set.
- Process Stepper — Process steppers display progress through a multi-step process and let users move to a step.
- Skip Link — Skip links let a user bypass repetitive content and navigate directly to a section of the page, meeting WCAG's bypass-blocks requirement.
- Stepper — Steppers break a multi-step process into a numbered sequence, showing progress toward completion.
- Tabs — Tabs organize and switch between groups of related content that sit at the same level of hierarchy.
- User Profile — The user profile shows a sign-in button when signed out, or an avatar that opens a popover with the user's details, links, and sign-out action when signed in.
- View Switcher — A view switcher shows one of several views at a time, animating between them along a shared axis as the active index changes.
Utilities
- Keyboard Shortcut — Attaches a keyboard shortcut to an element, or the whole page, without any visible UI of its own.
- Popover — A popover floats content above the page, positioned relative to the trigger element that anchors it.
Design guides
- Color System — Guidance for using Tyler Forge's color system in your designs.
- Getting Started — Start here for an overview of designing with Tyler Forge.
- Iconography — Guidance for using Tyler Forge icons in your designs.
- Layout — The anatomy, dimensions, and page patterns of a Forge application, for designers building screens by hand.
- Spacing — How to apply Tyler Forge's spacing scale so hand-built designs match what Forge components and blocks produce in code.
- Typography — Guidance for using Tyler Forge's typography system in your designs.
Developer guides
- Accessibility — An introduction to web accessibility, tools, and best practices as they relate to Forge.
- Angular — Using Tyler Forge with Angular.
- Blazor — Using Tyler Forge with Blazor.
- CSS-Only Components — An experimental, framework-agnostic alternative to Forge's Web Components using only CSS classes.
- Forge MCP Server — Give AI clients direct access to Forge component documentation, design tokens, and code generation.
- Forms — How Forge's form-associated components participate in native form submission and validation.
- Global Configuration — Overriding default component state application-wide via a global configuration object.
- Icons — How to install and use the Tyler icons library with the Forge icon component.
- Illustrations — Using Tyler Forge illustrations in your application.
- Installation — How to install Tyler Forge via npm or CDN.
- React — Using Tyler Forge with React.
- Sass Library — Using Forge's internal Sass files, mixins, and variables in your own application or library.
- Svelte — Using Tyler Forge with Svelte.
- Tailwind CSS — An optional Tailwind CSS v4 theme that maps Tailwind utilities to Forge design tokens.
- Theming — How to customize Forge's colors and theme via CSS custom properties and Sass mixins.
- Typography — Forge's typography font, stylesheet, and typographic scale.
- Usage — How Tyler Forge components work as Web Components — properties, events, methods, slots, and more.
- Vue — Using Tyler Forge with Vue.