SuperAPI AI Directory

endfield-ui

Design & creation

View repository

Updated 11-06 16:14

About this skill

Endfield-flavoured UI (endfield-ui)

This skill teaches you to make interfaces with "the kind of character found in the Arknights: Endfield official website and in-game UI",but without reusing any of its assets. It works for web pages, mobile web, iOS, Android, Flutter, React Native, WeChat Mini Programs, and desktop apps: the rules and tokens are platform-independent, and the syntax for each platform is in references/platforms/。

Grasp the character first: six laws

It should read like a project's development manual; the hero section and the console should feel like an industrial machine's control panel.

This sentence is your design direction, not interface copy; do not put it into the product.

It is not the "dark background + neon + glowing scan lines" of cyberpunk, nor is it a direct copy of the game UI. What is taken from the game isstructural habits, distilled into six laws; these design principles carry through consistently across different products:

  1. Use a single accent colour: one accent colour (default #FFFA00, each product may switch to a different one, see step two), with only three meanings: current position, clickable content, eye-catching reminder. Use it only as fill, never as a large-area background.
  2. Cut corner = clickable: a block with one corner cut off can be pressed; body text, images, and display columns are all right-angled. The shape alone tells buttons apart from display columns.
  3. Widen letters, bold Chinese characters: small English text in uppercase, widened, on top, bold Chinese below (// RECORDS / 记录)。
  4. Use numbers as decoration: real statistics such as numbers, dates, counts, and progress (No.024、2026.10.17、24 篇、3 / 100) set in wide monospaced digits are the interface's decoration and the source of its industrial feel. Numbers must be real; never fabricate them.
  5. Divide space with simple thin lines: partition with 1px thin lines, without overused shadows, glows, gradients, and bordered cards.
  6. Crisp, decisive animation: short, hard, mechanical; every motion effect corresponds to one operation; no bouncing, no scaling pop-in.

Step one: choose the page type

First determine which type each page or screen belongs to. All three page types share the same colours and components; the difference lies in "how bold you dare to be".

Page type Used for Appearance
Reading(quiet) Articles, details, lists, archives, settings, help One column of body text (about 38 Chinese characters wide), regular-weight sans-serif with generous line height; thin-line partitions; yellow only on "current" markers and links
Display(bold) Home pages, landing pages, App hero screens, splash screens Extra-large wide wordmarks (solid and outline), cut-corner frames with diagonal-stripe shadows, large outline numbers, ink-coloured scrollbars, entrance animations
Console(bold but usable) Dashboards, admin backends, App overview pages Dark command bar; large-number boards (not arranged in a neat card grid); a segmented dial in the centre on desktop; working lists and forms below

When in doubt:If the content is meant for people to read, use the reading page。

Step 2: Define the variant

This style will be used by many products; without defining a variant, they will all come out the same. Before starting, read references/variation.md, then:

  1. Pick one of the four preset groups (standard Standard,coldstore Cold Storage,site Construction Site,nightshift Night Shift), or set each of the six dimensions individually: accent color, paper color, corner cut, background texture, density, motion.
  2. Think through thekey visual: what goes between the first screen and the console, coming from the product's own content, not the ACME wordmark, wooden crate line art, and disk placeholders from the template.
  3. Write the result as a three-line "variant card" at the very beginning of the delivery notes, set in only one place (for web, write it on the <html> 's data-ef-* ; for Flutter, pass it to efTheme(…, accent:))。

What cannot change are the fixed rules: a single accent color is used only for fills, red only for deletion, corner cuts indicate clickability, wide Latin pairs with bold Chinese, serial numbers, dates, and counts are all real data, thin lines, mechanical motion.

Step 3: Choose a platform and follow it

  1. Read assets/tokens.json: all colors, font sizes, spacing, corner cuts, motion curves, in logical pixels (CSS px = iOS pt = Android dp = Flutter logical pixels; for mini programs multiply by 2 to get rpx).
  2. Open the corresponding platform guide:
Platform Guide Starting point
Web (desktop) references/platforms/web.md assets/endfield.css + templates/*.html
Mobile web, H5, PWA references/platforms/mobile-web.md assets/endfield.css + templates/app.html
Flutter (iOS / Android / Web / desktop) references/platforms/flutter.md templates/flutter/(compiled and verified)
iOS native (SwiftUI / UIKit) references/platforms/ios.md Code snippets in the guide
Android native (Compose / Views) references/platforms/android.md Code snippets in the guide
WeChat Mini Programs and other mini programs references/platforms/miniprogram.md WXSS / WXML in the guide
React Native, Electron, Tauri, desktop references/platforms/cross-platform.md Web kit or RN snippets
  1. Templates and interface paradigms (references/patterns.md) are for seeing how components are written and combined;the layout is determined by your own content, do not copy the template's structure and placeholder content. Prefer ready-made components from the kit; for anything not in the kit, derive it from the fixed rules per the last section of references/variation.md .
  2. When done, check each item against the checklist at the end, and compare screenshots against examples/。

Fonts (the easiest to get wrong)

Half of the Endfield feel is in the type:wide, geometric, uppercase Latin letterforms + clean Chinese sans-serif. No kai, song, or handwriting styles; body text is also sans-serif.

Role Recommended Used for
Interface Saira(variable font, width axis 50–125, weight 100–900, SIL OFL) + Chinese sans-serif Navigation, buttons, labels, serial numbers, numerals, headings, wordmarks
Reading Chinese sans-serif at regular weight (for web use Noto Sans SC / Source Han Sans; native apps can use system Chinese fonts: PingFang on iOS, Noto Sans CJK on Android) Body text, details, headings in lists
Code System monospace For code only
  • Width is key: 112% for fields, 125% for small labels and wordmarks. On the web write font-stretch; on Flutter / iOS / Android use the variable font's wdth axis (see the guide for usage). On platforms that can't use variable fonts (React Native, mini programs, etc.), use fontTools to cut fixed-width static fonts from the variable font (commands in references/platforms/cross-platform.md)。
  • Saira must be bundled into the app or self-hosted (templates/flutter/fonts/ has a copy with the license). Other wide geometric fonts can substitute (e.g. Exo 2, Chakra Petch; Michroma for headings only);do not use the game's official font。
  • Use tabular figures for numbers. English labels all caps, letter-spacing 0.14em; no letter-spacing for Chinese.
  • For products without Chinese (English-only or other languages): the top line is still a wide all-caps eyebrow, and the bottom title uses bold of the same width font, width back to 100%, not all caps.

Component quick reference (meaning is platform-independent)

Component Appearance Meaning
Tri-color bar 3px, magenta / yellow / mint green in three equal parts Start of a screen or page; below the detail title.Only appears in these two places
// eyebrow + paired Chinese-English title // RECORDS small text on top,记录 bold below Name of a section or screen
Field Wide small text, separated by vertical bars 2026.10.17 │ 6,380 字 Metadata such as numbers, dates, counts
Number tag White text on ink background, cut corner at bottom right No.024 Clickable number; yellow = current
Filter block Light gray cut-corner block + count Filter; selected = yellow
Button Cut-corner block; yellow wipes in from the left on press or hover. Primary button: on desktop, ink background at rest, yellow wipe on hover; on touch screens, yellow background at rest Actionable; one primary action per group; redonly for delete
Record row Number / date / name / count, separated by thin lines One item in a list; when pressed, the current position color bar drops in on the left and the whole row shifts right 6px
Panel White board, a thick ink tab along the top edge, corners cut toward the center One block of data in a console
Big number Wide bold number + small label; yellow background for ones needing attention Data
Status Solid border = active, dashed border = background, yellow block = needs a look Status
Notice Thin border on white, with a small yellow flag in front Error / attention.Do not use red
Diagonal stripes 45° fine ink diagonal lines (22%) Empty state, band after the title, frame shadow, disabled
Contour lines A small patch in each of two corners, ink at 9%, not closed Background texture, only in this one place
Bottom tab bar (App) Thin lines on white, current item has a full-cell yellow block with cut corners, small English text + Chinese App top-level navigation
Dark command bar Both themes are dark; the current section is a small yellow block Console navigation / App top status bar

Web class names see references/components.md, native implementation see each platform guide. Effect images of all components:examples/web/specimen-*.jpg、examples/app/overview-*.jpg。

Rules (read once before doing)

Color

  • Light is primary: paper #F4F4F2, board #FFFFFF, ink #161616. Dark (paper #191919, board #222222, ink #EDEDED) is another complete theme, not an inverted color.
  • Yellow #FFFA00(or the accent color chosen by this product) only indicates the current location, clickable content, and prominent reminders, and only asfill, with text on it in ink. In the light themeyellow must not be used as lines or text(1.1:1 on white background); "the line marking the current location" uses trace: ink in light, yellow in dark.
  • Do not use large yellow text on a black background, and do not fill large areas with yellow.
  • Red is only for delete. Alerts, pending review, failures, nearly full: always use yellow blocks and ink lines. Charts also do not use red or green.
  • No soft shadows, glows, decorative gradients, or rounded corners (radius is always 0). Hard-edged diagonal-line "shadows" are allowed.

Shape

  • A cut-off corner = pressable. Body text, images in details, and non-clickable containers all have right angles.
  • Do not put text in the cut corner: keep text at least as much blank space away from the cut corner as the cut corner is wide; when the cut corner gets bigger (wide variant), the blank space grows with it.
  • Use thin lines to divide sections, not a bunch of cards with borders and shadows.

Text and content

  • Title prefix //; Chinese and English in pairs; fields separated by a vertical bar │ or slash / , not a middle dot ·。
  • Use numbers to decorate the interface: numbers, dates, counts, and progress in more rows, but each is real data, not fabricated. Do not include fake technical text, binary strings, barcodes, coordinates, or crosshair marks.
  • Write the empty state as a complete sentence explaining what will appear here in the future.

Terminology and interface copy(Glossary see references/glossary.md)

  • The terms in this skill (page type, fixed rules, eyebrow, wordmark, fields, kanban, trace, power-on, shutter, fill... ) are only internal terms for you to understand the design,and must not appear in the product interface, user documentation, or promotional text. Only when the product itself is introducing this design can they be mentioned, and then also switch to the "how to say it to people" column in the glossary.
  • The words on the interface come from the product's own business vocabulary: buttons state actions ("Save" "Delete this record"), titles state content ("This month's orders"), and do not use style words or metaphors.
  • The English eyebrow is a direct translation of the Chinese title (// ORDERS / 订单); do not use style words like GRAMMAR, SIGNAL, TONE, PAPER AND INK. If you cannot think of a fitting English, use a number (// 01) or write only Chinese.
  • Each sentence says only one thing, so someone who has not read this skill understands it at a glance.

Animation(See details references/motion.md)

  • Short, hard, mechanical: use snap for appearance cubic-bezier(0.16,1,0.3,1), shutter, wipe-in, fill, and all exits use mech cubic-bezier(0.7,0,0.2,1)Respond to operations in 100–400ms, single entrance ≤ 650ms, one entrance sequence overall no more than 1 second; stagger intervals use only three tiers: 38 / 45 / 100ms.
  • Every entrance has an exit (about 2/3 of the entrance); errors wipe in with a yellow flag, no shaking; processing uses diagonal stripes, and on completion yellow sweeps across the button once.
  • Each animation corresponds to one operation or state change. No continuous looping decorative animations, no springs or jelly.
  • When the system "Reduce Motion" is on, all are turned off.

Touchscreen

  • There is no "hover" on touchscreens: primary buttons are already yellow at rest; on press they wipe in; tap targets are at least 44pt / 48dp.
  • The current location uses a yellow block (tab bar, sidebar navigation, numbering), plus bold or a marker, so it is visible to colorblind users too. Segmented controls are the exception: the current segment is ink-colored with reversed text, no yellow.

Checklist before delivery

  • A page type was chosen first; no screen mixes headings from two page types.
  • A variant was chosen and a variant card written; the accent color and paper color are set in only one place.
  • The key visual, layout, and copy all come from this product; all template placeholders (ACME, wooden crate, "example") are replaced, and you can state three ways it differs from the closest template.
  • Yellow appears only on the current location, clickable content, and prominent reminders; in light theme there are no yellow lines or text.
  • The cut corners do not press into the text;wide also checked underneath the cut corners.
  • Red appears only on delete; no rounded corners, shadows, glows, or gradients.
  • English labels are wide uppercase, Chinese is sans-serif; body text is not kai, song, or monospace.
  • Every number, date, and count is real data; no fake technical text.
  • There is no terminology from this skill in the interface and explanatory text; every label, button, and English eyebrow is understandable to someone who has not read the skill.
  • Both light and dark sets have been checked; phone (360–430 wide) and desktop (if any) have no overflow or horizontal scrolling.
  • Keyboard focus / accessibility focus is visible; touch targets are large enough; screen readers can read the current item.
  • With "Reduce Motion" on, everything is still and the content is complete.
  • Fonts are bundled or self-hosted, with licenses included.
  • No official game assets are used: fonts, logos, icons, character art, screenshots, copy.

File map

File Content
assets/tokens.json Platform-agnostic tokens: colors, fonts, font sizes, spacing, cut corners, line widths, motion, and variants (variant)
assets/endfield.css Web kit: all variables and components, class names start with ef- , framework-independent
assets/fx.js / assets/dial.js Web: scrambled text settling, light/dark switching, parallax, panel and dialog enter/exit, toast bars, row deletion, completion feedback / console segmented dial
assets/variant.js Web: before page open, set the variant by ?variant= or data-ef-* (templates already reference it)
assets/contours/ Background contour SVG and generation script (usable as an image on any platform)
templates/showcase.html reading.html console.html Web templates for three page types. Open with a static server (e.g., run in this directory python3 -m http.server)
templates/app.html Mobile web (H5, PWA) screens: top bar, list, settings, status, bottom sheet, dialog, corresponding to the Flutter example
templates/motion.html Motion specimen: one cell per motion, with replay, three curves, and an entrance timeline
templates/specimen.html Specimens of all web components
templates/antipatterns.html Do and don't comparison page
templates/flutter/ Flutter kit and six sample screens (overview, list, detail, settings, bottom sheet, states)
references/glossary.md Glossary: what every internal term in this skill means, and how to say it in the interface and in user-facing text
references/research.md Research on official websites and game interfaces: what was observed, credibility, what to borrow and what not to borrow
references/tokens.md Color values and contrast, dark theme, fonts, font sizes
references/components.md How to write each component (web class names), meanings and taboos, including app components in mobile web, tables, and bar charts
references/patterns.md Layout and interface paradigms: three page types, app tab bar, list, detail, form, sheet, dialog, loading, empty state
references/motion.md Motion: principles, curves, choreography and timeline, complete checklist, enter and exit, state changes, platform equivalents
references/variation.md Variants: fixed rules that cannot change, six variable dimensions, four preset groups, variant cards, don't copy templates, how to derive new components
references/rules.md Do and don't, with the reason for each
references/platforms/*.md Platform guidelines
examples/web/ Web template screenshots (light, dark, mobile), mobile web app-*.jpg, motion specimen motion-*.jpg and counterexample comparison page
agents/openai.yaml Display info for OpenAI Codex (name, description, color); other agents ignore it
examples/app/ Flutter sample screen screenshots (390×844, light, dark),overview-*.jpg is the six-screen overview
examples/motion/ GIF screen recordings: showcase page and console entrance, light and dark reveal, app bottom sheet, settings and states;each/ contains one clip for each item in the motion checklist

Sources and licenses

  • All code, templates, tokens and rules may be used freely; the contour lines are generated by assets/contours/draw-contours.mjs .
  • templates/flutter/fonts/Saira.ttf is Saira (Copyright 2020 The Saira Project Authors), SIL Open Font License 1.1, license in the same directory.
  • The names, titles and numbers in the examples are all fictional sample data.
  • The game and official website screenshots viewed during research are third-party copyrighted material and werenotincluded in this skill.