A landing page for a made-up agent runs API told as one road at night: a road sign and a mile post where you approve a paused run, the year of releases drawn as the lane line while you scroll, an exit per SDK, a speed limit that caps an agent's month, a version table with nothing to change, a toll ticket and the next mile post with your install line.
This page holds the props and the code. See the template, its screens and a live preview.
On this page
Examples
Installation
Installation is part of Pro
Pro components install from a licensed registry. The live preview stays open to everyone.
Props
- brand
string- Default
"Milepost" - Name in the header, the toll ticket and the footer.
- accent
string- Default
lane yellow - The one accent at night: the lane line, the road's rider, the price. By day a darker yellow from CONFIG.laneDay.
- theme
"auto"|"light"|"dark"- Default
"auto" - Follows the host page's theme, or keeps one. Light is the road by day, dark the road at night.
- Data
constants in the file- CONFIG (copy, colours, host), RELEASES and TEAMS (the road), EXITS (one snippet per SDK), ENDPOINTS (the version table), the demo month and TOLL in the utils file. Demo text and a made-up .example host.
- Chains
behaviour- Approving the run in the hero raises the speed limit to $600 (denying keeps $400); the exit you take is the install line at the last post.
- Motion
behaviour- The road draws with the scroll; under reduced motion and on phones it is a list with the rail drawn. Sliders and tabs change at once.
| Prop | Type | Default | Description |
|---|---|---|---|
| brand | string | "Milepost" | Name in the header, the toll ticket and the footer. |
| accent | string | lane yellow | The one accent at night: the lane line, the road's rider, the price. By day a darker yellow from CONFIG.laneDay. |
| theme | "auto" | "light" | "dark" | "auto" | Follows the host page's theme, or keeps one. Light is the road by day, dark the road at night. |
| Data | constants in the file | - | CONFIG (copy, colours, host), RELEASES and TEAMS (the road), EXITS (one snippet per SDK), ENDPOINTS (the version table), the demo month and TOLL in the utils file. Demo text and a made-up .example host. |
| Chains | behaviour | - | Approving the run in the hero raises the speed limit to $600 (denying keeps $400); the exit you take is the install line at the last post. |
| Motion | behaviour | - | The road draws with the scroll; under reduced motion and on phones it is a list with the rail drawn. Sliders and tabs change at once. |
When to use
When to use
- Launching an API or SDK whose story is its release record: a year of versions drawn as one road while the page scrolls, with no breaking changes to prove.
- A night-road page with one sign green world and one lane yellow accent, where the visitor approves a run, takes an exit for their stack, sets a cap and prices a month.
When not to use
- An analyst agent whose story is each answer it files, not its releases: use Casebook Analyst Landing.
- A product changelog page: use Changelog Feed.
Using with AI
Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:
- Add the Knowns UI Milepost API Landing to my app and wire it to my own data.
- I need launching an API or SDK whose story is its release record: a year of versions drawn as one road while the page scrolls, with no breaking changes to prove. Set that up with the Knowns UI Milepost API Landing.
- Which Milepost API Landing props do I need for a minimal setup? Show me a short example.
With the server connected, your assistant calls get_component({ name: "template-milepost-landing" }) and search_docs({ query: "milepost api landing" }). Pro props, full examples and source come back once your license key is in the MCP config.