---
name: arc-tech-ui
description: Design UI screens in Arc-Tech over MCP with clean, precise placement. Use to create or edit web and mobile screens, components, design tokens, text styles and prototypes in an Arc-Tech UI design.
---
# Interfaces in Arc-Tech

Reference with every layer property and operation: https://arc-tech.dev/docs/build-interfaces

## Steps

1. `get_ui_design` for the design's screens, tokens and text styles. Read a screen before changing it, and reuse its tokens and styles.
2. Plan the screen: its size (393 × 852 phone, 1440 × 1024 desktop), margins and main blocks.
3. `edit_ui_design` with the layers. Use `find_icons` for icon names and `upload_image` for photos you have the right to use.
4. `render_screen`. Use `region` for tall screens and `scale: 2` for small details.
5. Fix and render again until it's right. Don't finish on a screen you haven't looked at.

## Standard

- **Auto layout** (`layout` on groups) for every card, list, row, button, chip, form and toolbar. Only place a screen's top-level blocks by hand.
- **Spacing** in steps of 4 or 8. One gap per group, and the same padding in cards of the same kind.
- **Alignment** on whole pixels. Siblings that line up have exactly the same x or y.
- **Pills, badges and buttons**: align and justify `center`, equal padding left and right, and the label's `align` set to `center`.
- **Contrast**: body text at least 4.5:1. Surfaces separated by a light 1px border and a soft shadow.
- **Tokens and styles** for every colour and text, with no one-off values. Real content and real icons, never typed symbols.
- **Tap targets** at least 44 on phones.

## Mistakes to avoid

- Using `apply_color` on a group. Set the group's `fillToken` with `update` instead.
- Sending keys that don't exist. Unknown keys are refused, and the message names them.
- Text boxes shorter than their text. Height is about fontSize × lineHeight × lines.
- Forgetting the parent. Layers on a screen need `parentId`, and `x` and `y` are absolute canvas pixels unless `relative` is set.
