uichemy_set_header
The site header — the navbar section's Header settings (one setting for the whole site). layout full (edge to edge) or floating (an inset card with a top gap and corner radius); transparent lets the header sit over the first section (scope hero: pages that open with a hero · all: every page), tinted with color (auto or #rrggbb) at opacity 0-100, optionally blurred. sticky pins it while scrolling; then onScroll stay · hide (slides away going down, back going up) · shrink (tighter bars), solidOnScroll (a transparent header turns solid), shadowOnScroll, and mobileSticky (false scrolls it away on phones). inset and radius only show on the floating layout. Pass only what changes; reset: true goes back to the defaults (a plain header in the page flow). uichemy_get_project shows the current settings as design.header.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>"
},
"name": "uichemy_set_header"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blur | No | Frosted-glass blur behind a transparent header. | |
| color | No | "auto" (the navbar's own colour) or #rrggbb. | |
| inset | No | Floating: top gap in px, 0-48 (phones cap it at 10). | |
| reset | No | true: back to the defaults; other fields are ignored. | |
| scope | No | Where a transparent header floats: hero = pages that open with a hero; all = every page. | |
| layout | No | ||
| radius | No | Floating: corner radius in px, 0-40. | |
| sticky | No | ||
| opacity | No | Tint strength of a transparent header, 0-100. | |
| onScroll | No | Sticky: what the header does while scrolling. | |
| projectId | Yes | ||
| transparent | No | ||
| mobileSticky | No | Sticky: also pin on phones (under 768px). | |
| solidOnScroll | No | Sticky + transparent: turn solid once the page scrolls. | |
| shadowOnScroll | No | Sticky: drop a shadow once the page scrolls. |