[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D2HG07YS49NM196Q0R3AZ8":3,"skill-same:01M6D2HG07YS49NM196Q0R3AZ8":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":42,"ownerHtmlUrl":43,"ownerBlogUrl":42,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M6D2HG07YS49NM196Q0R3AZ8","ui",null,"Designing or restyling an interface: direction, layout, type, colour, icons, components, states, responsive behaviour. Read before building a page, a screen or a set of components.","enowdev\u002Fenowxcli","enowdev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F179420349?v=4","01M6D1MVX2KC0X3Z9NESE7P22K","Enow Dev.","01M6D1MW1FMZGBDKWAJY4GQX81",67,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[5,24,25,26,27,28,29,30,31],"components","icons","SET","page","before building","read","responsive","layout","2026-11-10 10:12:30",false,"---\nname: ui\ndescription: \"Designing or restyling an interface: direction, layout, type, colour, icons, components, states, responsive behaviour. Read before building a page, a screen or a set of components.\"\n---\n\n# Interface design\n\nGenerated interfaces fail in a way anyone can spot: a gradient hero, three\nidentical feature cards, invented numbers, an icon on every line, everything\ncentred, nothing that could not belong to any other product. This is how to\nbuild one that belongs to its product and works for the people using it.\n\n## 1. Find the direction, or set one\n\nLook before designing: `DESIGN.md`, a brand or style guide, the logo, the\ncolours and fonts already in the CSS or theme, screenshots in the repository.\nUse what is there, including its tokens and components.\n\nWhen there is nothing, set a direction from what the product is and who uses\nit, and write it as one line in your report:\n\n> Reading this as: a booking page for a neighbourhood physio clinic, calm and\n> plain, one warm accent, no motion beyond hover.\n\nHold it on every screen. A direction you cannot state in a line is not one.\n\nA mood and a palette are not yet a direction; they leave the page to fall\nback on the default for its category. Give it a **concept**: one idea taken\nfrom the subject itself that decides the layout, the type and the details.\n\n- A developer who builds local-first command-line tools: the page as a\n  well-made manual. Dense and typographic, sections set like a manual's\n  headings, real commands with their real output as the images.\n- A wedding photographer: the photographs full-bleed and in sequence, text\n  small and sparse, the layout following the pictures' own proportions.\n- A neighbourhood bakery: warm paper and a menu board's structure, prices in\n  their own column, this week's bake as the headline.\n\nEvery category has a default that reads as generated. For a developer, a dark\npage with monospace labels and one amber or green accent; for a startup, a\ngradient hero over three cards; for a clinic, stock photographs of smiling\npeople; for a restaurant, a full-screen food photo under a script font. Name\nthe default for the category you are designing, then do something else, or\ntake it further on purpose because the concept asks for it.\n\nWrite it down in `DESIGN.md` at the project's root when the project has\nnone, so every later change keeps to it. Keep it short, decisions not\nessays:\n\n```markdown\n# Design\n\nDirection: a booking page for a neighbourhood physio clinic, calm and plain.\nConcept: the clinic's own appointment card: one column, times in a grid.\nAudience: adults booking a first visit, many on phones.\nTheme: light only.\nPalette: paper #F6F2E9, ink #15302A, muted #4C6058, accent #0F6B4F (the one\nprimary action), line #DCD4C4. Defined as tokens in styles.css.\nType: Fraunces for headings, Plus Jakarta Sans for text; scale 14\u002F16\u002F20\u002F25\u002F31\u002F39.\nSpacing: 4px base, tokens --s-1 to --s-9. Radii 6\u002F12. Shadows only on overlays.\nIcons: Tabler, outline, 20px beside text.\nMotion: hover and focus only.\nPlaceholders: clinic name, phone, address, hours, prices (listed in README).\n```\n\nRead it before every change, and update it when the user changes a\ndecision.\nDo not fall back to the generated default: a dark page, a blue-to-purple\ngradient, glowing buttons and a grid background say \"made by a model\" and\nnothing about the product.\n\n### Worked references\n\nFour hand-designed sites, measured into skills: their skeleton, wireframes,\nmeasures and the anatomy of their parts. Read the one closest to the page\nyou build, before you lay it out:\n\n| Building | Read |\n|---|---|\n| A launch, waitlist or single-product page | `ui-reference-launch` |\n| A product or SaaS site with features, proof and pricing | `ui-reference-saas` |\n| A studio, agency, consultant or project portfolio | `ui-reference-studio` |\n| A store, marketplace or catalogue | `ui-reference-marketplace` |\n\nTake their structure and their decisions: how a section is introduced, what\nstands where an icon or a stock photo would, how a card carries its facts,\nhow few buttons and colours they use. Never their words, names, figures,\nlogos, images or colours, and never their concept: each came from its own\nproduct, as yours must (above). What they share is worth keeping on any\npage:\n\n- One concept, visible in every section, not only in the hero.\n- Evidence in the image slots: the product's real output, real pieces of its\n  interface, dated numbers. Not icons in circles or stock photos.\n- A section introduced by a pair: a small label and the heading on one side,\n  the sentence that explains it on the other, over a hairline. Not a centred\n  heading and subtitle over three cards.\n- Headlines with a turn: the claim, then its consequence in the muted colour\n  or an italic.\n- Hairlines, rules and outlines instead of shadows and filled boxes; one\n  filled button per view at most.\n- Small uppercase labels with wide tracking as the page's signposts and data\n  labels, one style used everywhere.\n- A footer that says in one line what the thing is, then only the links that\n  exist.\n\n## 2. Layout\n\n- One focal point per screen: what the user came for is the strongest\n  element, and everything else defers to it. One primary action per view;\n  secondary actions look secondary.\n- Structure follows the content and the task, not a template. A section\n  exists because the product has something to say there. Shapes to avoid by\n  default: hero, three identical cards, a \"trusted by\" logo row, testimonials,\n  FAQ, CTA band, four-column footer, in that order on every page; \"how it\n  works\" in exactly three numbered circles; a bento grid; a fake terminal\n  window as the hero.\n- Group by proximity: related things sit closer together than unrelated\n  ones, and the space between sections is larger than the space inside them.\n- Align to a grid: a few column widths, one gutter, edges that line up. Body\n  text at 60 to 75 characters a line. Page content inside a maximum width\n  (around 1100 to 1280px) while backgrounds may run full width.\n- Vary the rhythm: not every section is a centred heading over a grid of\n  equal cards. Alternate text-led and image-led, contained and full-width,\n  dense and open.\n- App screens: build around the decision the user makes there. The default\n  admin shell (sidebar, four stat cards, a chart, a table) fits every product\n  and so none. In tables, choose columns from that decision, put the deciding\n  field first, left-align text and right-align numbers.\n\n### Layout mechanics (not optional)\n\nA page built from hand-placed boxes drifts: a card a few pixels taller than\nits neighbour, a gap that differs by row, a control that renders one way on\nmacOS and another on Windows. These rules keep it tidy everywhere; check\nthem before anything else.\n\n- **Every layout is flexbox or grid.** Grid for anything with rows and\n  columns (card grids, forms in two columns, a page with a sidebar,\n  dashboards); flexbox for one line of things (a toolbar, a nav, a button\n  row, a card's own stack). No floats, no `inline-block` rows, no\n  `position: absolute` to place content, no `\u003Cbr>` or empty `div`s for\n  space, no margins on children to fake a gap. `ui-layout-grid` has the\n  recipes.\n- **Space between items is the container's `gap`**, from the spacing scale:\n  one gap per grid or row, 16 or 24px between cards, 8 to 12px between the\n  parts inside one. Never a different margin on the first or last item.\n- **Items in one group are one size.** Cards in a grid share column width\n  (the grid's tracks, never a width on the card), padding, radius, border,\n  media aspect ratio (`aspect-ratio` on the image box) and title size. The\n  odd one out needs a reason (a featured item spans two columns, on\n  purpose).\n- **Items in one row are one height.** Grid and flex rows stretch their\n  items (`align-items: stretch`, the default); the card is a flex column\n  with its action pushed to the bottom (`margin-top: auto`), so buttons and\n  prices line up across the row. Heights are never set by hand to match.\n- **Controls are one height too.** An input, a select and a button side by\n  side share a height token (40px, or 36px dense; 44px on touch) and\n  align their centres (`align-items: center` on the row).\n- **Dropdowns are custom, never the bare OS one.** A native `select` looks\n  different on every OS and browser and cannot be styled open. Use the\n  stack's component (shadcn\u002FRadix `Select`, Headless UI `Listbox`, React\n  Aria `Select`, Bits UI, Melt) or the plain listbox in `ui-part-choices`\n  section 7. The exception: a form meant mainly for phones may keep the\n  native one, styled closed.\n\n## 3. Spacing and sizing\n\n- A spacing scale as tokens, on a 4px base (4, 8, 12, 16, 24, 32, 48, 64,\n  96), used everywhere. No one-off values.\n- Heights come from content. No fixed heights on anything holding text, no\n  `100vh` sections; use `min-height` with `dvh` when a section really should\n  fill the screen.\n\n## 4. Typography\n\n- One or two families, chosen for the product's character, with the reason\n  in your report. A default pick (Inter, Geist, Space Grotesk, IBM Plex)\n  made out of habit is a tell, not a choice.\n- Give the headline face character: a serif, a grotesk with a distinct\n  shape, a condensed or a wide face, whatever the concept asks for; pair it\n  with a plain face for text. Monospace is for code, commands and figures\n  that align, not a costume for every label.\n- Contrast in size carries the hierarchy: the largest headline at least two\n  and a half times the body size, the small print clearly smaller. A page\n  where headings, text and meta are all within a few pixels reads flat.\n- A type scale with few steps, as tokens (for example 14, 16, 20, 25, 31, 39:\n  a 1.25 ratio), with `clamp()` for display sizes so they scale with the\n  window.\n- Body at 16px or more, line height about 1.5 for body and 1.1 to 1.25 for\n  headings.\n- Hierarchy through size and weight first, colour second. Avoid decorative\n  uppercase labels with wide letter-spacing, and monospace headings used as\n  a \"tech\" costume.\n\n## 5. Colour\n\n- Every colour is a token: background, surface, text, muted text, border,\n  accent, and the status colours.\n- A small palette: neutrals, two or three core colours and one accent. The\n  accent marks the key moment (the primary action, the current item), not\n  everything.\n- Contrast is computed, not judged by eye: text 4.5:1, large text (24px, or\n  19px bold) 3:1, controls, borders that identify a control, and focus\n  indicators 3:1 against what surrounds them.\n- Dark by default only with a reason the concept gives (a media player, a\n  photographer of night scenes). \"It is for developers\" is not a reason on\n  its own. Otherwise light, or a toggle where both themes are checked.\n- With two themes, every token has a value in each, and everything drawn\n  (icons, line drawings, logos, charts) is coloured from those tokens, so it\n  stays visible in both: a drawing left black disappears on the dark page.\n  Read `ui-themes` before building the second theme or a drawing for it.\n- Gradients, glass, glow and large shadows are accents with a purpose, on\n  one or two elements, never the page's texture.\n\n### Neutrals decide whether it looks designed\n\nMost generated palettes fail in the neutrals, not the accent: a \"dark\"\npage in charcoal grey (`#1e1e1e`, `#27272a`), a light page in dull grey\n(`#e5e5e5`), text in the same grey family, everything a little muddy.\n\n- **Dark means dark.** The page background at 3 to 8% lightness: `#0a0a0a`,\n  `#0c0d0f`, `#111110`. Not `#1a1a1a` to `#2d2d2d`, which reads as a grey\n  panel, not a dark room. Raised surfaces step up by 2 to 4% each\n  (`#0c0d0f` page, `#141518` card, `#1c1d21` popover), so depth comes from\n  small steps, not from a grey base.\n- **Text on dark is off-white, not grey:** body at 88 to 94% lightness\n  (`#ecebe8`), muted text around 60 to 65% (`#9a9893`), never below 4.5:1.\n  Pure `#ffffff` body text on near-black glares; keep pure white for the\n  one thing that must pop.\n- **Light means light.** The page at 93 to 100% lightness (`#ffffff`,\n  `#fafaf7`, a warm paper `#f6f3ec`), text near-black at 8 to 15%\n  (`#16150f`), not mid-grey `#555` for body copy.\n- **Tint the neutrals** a few degrees toward the accent's hue or the\n  concept's temperature (warm ink `#12110f`, cool night `#0b0d12`) instead\n  of dead RGB greys; keep the tint subtle (saturation 3 to 10%).\n- **Borders are quiet:** 8 to 14% above the background on dark, 8 to 12%\n  below it on light, and a border that marks a control reaches 3:1.\n- **The accent is saturated enough to be the accent** against those\n  neutrals, and used on under a tenth of the screen.\n- The `preview` tool reports a page background in the grey middle ground\n  (between about 9% and 92% lightness).\n\n## 6. Icons\n\n- One icon set for the whole product. Use the project's (look in its\n  dependencies and assets). With none, choose one whose style suits the\n  product (stroke weight, outline or filled, corner shape) and name it in\n  your report. For example: Phosphor (six weights, friendly), Tabler (even\n  2px stroke, technical, very large), Heroicons (compact, outline and solid),\n  Material Symbols (variable weight and fill, suits app interfaces), Lucide\n  (thin rounded strokes, so common it reads as a default: choose it for its\n  look, not out of habit).\n- Import icons one by one from the package, so only those used ship. A static\n  page without a bundler inlines the SVGs it uses, as `\u003Csymbol>` elements\n  referenced with `\u003Cuse>`, fetched exactly with the `icon` tool: never type\n  an icon's path from memory. No icon fonts, and no runtime icon script from a\n  CDN for a handful of icons.\n- Size icons on a scale tied to the text beside them (16, 20, 24), colour\n  them with `currentColor`, keep one stroke width, centre them on the line.\n- An icon earns its place by making something faster to recognise. A word is\n  often clearer; not every list item or card needs one. Never emoji as\n  interface icons, and not the generic glyphs (sparkles, rocket, lightning,\n  magic wand) standing in for features.\n- Icon-only buttons get an accessible name (`aria-label` or visually hidden\n  text); decorative icons get `aria-hidden=\"true\"`.\n\n## 7. Components\n\n- Each part of a page (header, navigation, sidebar, hero, sections, footer,\n  buttons, forms, tables, dialogs, menus, notifications, empty states,\n  steps, dates, uploads, a command palette, chat, media) has its own entry,\n  with what to build and what to avoid, in its own `ui-part-*` skill\n  (`ui-part-header`, `ui-part-hero`, `ui-part-tables`...), and each kind of\n  page its skeleton in a `ui-page-*` skill (landing, dashboard, list and\n  detail, shop, blog, onboarding, error pages...). Read only the ones you\n  build.\n- How it behaves is the `frontend-*` family's (state, data, forms,\n  accessibility, performance, errors), how it moves the `motion` family's.\n- Reuse first: search the project for the component (Button, Input, Dialog,\n  Card, Tabs) and use or extend it.\n- **Prefer a component library to hand-built parts.** A hand-rolled table,\n  select, dialog or date picker is where generated interfaces break: focus\n  that escapes, a menu that cannot be closed from the keyboard, a table with\n  ragged columns. Use the project's library when it has one. For a new\n  project, pick an established one for the stack, themed with the direction's\n  tokens rather than left at its default look:\n  - React or Next with Tailwind: shadcn\u002Fui (Radix underneath); without\n    Tailwind: Mantine, or Radix Themes\n  - Vue or Nuxt: Nuxt UI, or shadcn-vue; PrimeVue for data-heavy screens\n  - Svelte: shadcn-svelte (Bits UI underneath), or Skeleton\n  - Angular: Angular Material, or Spartan\n  - React Native: Tamagui, or React Native Paper; Flutter: Material 3\n  - Plain HTML: Web Awesome (Shoelace), or Pico CSS for a simple page\n  Tables with sorting, filtering or many rows use TanStack Table (the\n  library's data table is usually built on it); charts use the library's\n  chart kit or Recharts, Chart.js, or ECharts, not hand-drawn bars.\n- **One icon library, imported as components**, the one that ships with the\n  component library when it has one (Lucide with shadcn, Tabler with\n  Mantine, Heroicons with Tailwind UI, Material Symbols with Material).\n  Navigation items, actions and statuses get icons; decoration does not.\n  The `icon` tool is for a page with no package manager.\n- When the library is open and the project is new, pick the usual one for\n  the stack (shadcn\u002Fui with Lucide for React and Tailwind) and say so; ask\n  only when the user is brainstorming, or the brief names a choice to make.\n- A component for each named concept, and wherever the same markup repeats\n  with different content. Variants through props (`variant`, `size`), never\n  copies. Pass native attributes through, so a Button stays a button.\n- Design every interactive state: hover, focus-visible, active, disabled,\n  loading, and for fields, invalid with a message.\n- Radii from a small set (for example 4, 8, 12); shadows only to show that\n  something sits above something else. A card only when the content is a\n  card: a bordered box around every paragraph is noise, not structure.\n\n## 8. States and behaviour\n\n- Every view that shows data has an empty, a loading and an error state, and\n  each says what is going on and what to do: \"No invoices yet. Create one to\n  see it here.\" A bare spinner or \"No data\" says nothing.\n- Every control does something real: links go to pages or sections that\n  exist, buttons act, forms submit and confirm. A control that cannot work\n  yet is removed, or visibly labelled \"Coming soon\".\n- A control that cannot be used now says why, and offers what can be done\n  instead (\"On loan until 3 Oct · Reserve\"), never a greyed-out button with no\n  reason.\n- A placeholder reads as a placeholder (\"[your email]\"). The note on how to\n  fill it in goes in the README, never on the page where visitors read it.\n- Forms: a visible label for each field, the error beside the field in words,\n  a submit button that says what it does and shows progress while it works.\n- Long pages: the top bar sticks, so the navigation is always in reach\n  (`ui-part-header`), and a page longer than about three screens on a phone\n  has a back-to-top control that appears after the first screen\n  (`ui-part-back-to-top`).\n\n## 9. Responsive\n\n- Design the narrow screen as a state of its own, not a leftover: write the\n  CSS mobile-first, then widen.\n- Put breakpoints where the content breaks, not at device widths.\n- Grids with `repeat(auto-fit, minmax(…, 1fr))` or a collapse to one column;\n  `min-width: 0` on grid and flex children that hold text; images with\n  `max-width: 100%` and their width and height set.\n- No horizontal scroll at 360px. A wide table reflows or scrolls inside its\n  own container.\n- Touch targets at least 44px, with space between them; anything revealed on\n  hover also opens on tap.\n- Navigation collapses to a labelled menu, or a bottom bar that never covers\n  the content.\n\n## 10. Accessibility\n\n- Semantic elements: `button` for actions, `a` for navigation, one `h1` and\n  headings in order, `nav`, `main`, `footer`, lists for lists, `label` for\n  every input.\n- Keyboard: everything reachable in visual order and operable with Enter and\n  Space; dialogs close with Escape and give focus back. A visible\n  `:focus-visible` style on every control; never `outline: none` without a\n  replacement.\n- Colour is never the only signal: status colours come with text or an icon.\n- Respect `prefers-reduced-motion`. Motion has a purpose (feedback,\n  orientation, continuity), lasts 150 to 300ms for interface states, and\n  nothing loops forever without one (`motion` for entrances, reveals and\n  anything more).\n- The patterns for each widget, focus management and testing with a screen\n  reader are in `frontend-accessibility`.\n- Images have alt text that says what they show, or `alt=\"\"` when they are\n  decoration.\n\n## 11. Content\n\n- Real content, or placeholders that say they are placeholders:\n  `[Company logo]`, `[Customer quote]`. Never invented statistics,\n  testimonials, customer logos, people or awards.\n- Facts about the business you were not given (its name, prices, hours,\n  policies) stay visible placeholders on the page, not plausible guesses,\n  and are listed in your report.\n- Copy follows the `writing` skill: specific, plain, and actions named for\n  what they do.\n\n## 12. Before you call it done\n\n- Build it, and run the project's linter and tests.\n- Search the CSS for colour, spacing and radius values written outside the\n  token definitions, and move each into a token.\n- Look at it with the `preview` tool: it renders the page at 360, 768 and\n  1440px and measures overflow, contrast, dead links, unnamed controls and\n  touch targets, with a screenshot of each width. Without a browser, read\n  the CSS for those widths instead, and say so.\n- Walk the keyboard path and every state.\n- A favicon, or `\u003Clink rel=\"icon\" href=\"data:,\">`, so the browser's request\n  for one does not end in a 404 in the console.\n- Report the direction, the icon set, and anything left as a placeholder.\n","# Interface design\n\nGenerated interfaces fail in a way anyone can spot: a gradient hero, three\nidentical feature cards, invented numbers, an icon on every line, everything\ncentred, nothing that could not belong to any other product. This is how to\nbuild one that belongs to its product and works for the people using it.\n\n## 1. Find the direction, or set one\n\nLook before designing: `DESIGN.md`, a brand or style guide, the logo, the\ncolours and fonts already in the CSS or theme, screenshots in the repository.\nUse what is there, including its tokens and components.\n\nWhen there is nothing, set a direction from what the product is and who uses\nit, and write it as one line in your report:\n\n> Reading this as: a booking page for a neighbourhood physio clinic, calm and\n> plain, one warm accent, no motion beyond hover.\n\nHold it on every screen. A direction you cannot state in a line is not one.\n\nA mood and a palette are not yet a direction; they leave the page to fall\nback on the default for its category. Give it a **concept**: one idea taken\nfrom the subject itself that decides the layout, the type and the details.\n\n- A developer who builds local-first command-line tools: the page as a\n  well-made manual. Dense and typographic, sections set like a manual's\n  headings, real commands with their real output as the images.\n- A wedding photographer: the photographs full-bleed and in sequence, text\n  small and sparse, the layout following the pictures' own proportions.\n- A neighbourhood bakery: warm paper and a menu board's structure, prices in\n  their own column, this week's bake as the headline.\n\nEvery category has a default that reads as generated. For a developer, a dark\npage with monospace labels and one amber or green accent; for a startup, a\ngradient hero over three cards; for a clinic, stock photographs of smiling\npeople; for a restaurant, a full-screen food photo under a script font. Name\nthe default for the category you are designing, then do something else, or\ntake it further on purpose because the concept asks for it.\n\nWrite it down in `DESIGN.md` at the project's root when the project has\nnone, so every later change keeps to it. Keep it short, decisions not\nessays:\n\n```markdown\n# Design\n\nDirection: a booking page for a neighbourhood physio clinic, calm and plain.\nConcept: the clinic's own appointment card: one column, times in a grid.\nAudience: adults booking a first visit, many on phones.\nTheme: light only.\nPalette: paper #F6F2E9, ink #15302A, muted #4C6058, accent #0F6B4F (the one\nprimary action), line #DCD4C4. Defined as tokens in styles.css.\nType: Fraunces for headings, Plus Jakarta Sans for text; scale 14\u002F16\u002F20\u002F25\u002F31\u002F39.\nSpacing: 4px base, tokens --s-1 to --s-9. Radii 6\u002F12. Shadows only on overlays.\nIcons: Tabler, outline, 20px beside text.\nMotion: hover and focus only.\nPlaceholders: clinic name, phone, address, hours, prices (listed in README).\n```\n\nRead it before every change, and update it when the user changes a\ndecision.\nDo not fall back to the generated default: a dark page, a blue-to-purple\ngradient, glowing buttons and a grid background say \"made by a model\" and\nnothing about the product.\n\n### Worked references\n\nFour hand-designed sites, measured into skills: their skeleton, wireframes,\nmeasures and the anatomy of their parts. Read the one closest to the page\nyou build, before you lay it out:\n\n| Building | Read |\n|---|---|\n| A launch, waitlist or single-product page | `ui-reference-launch` |\n| A product or SaaS site with features, proof and pricing | `ui-reference-saas` |\n| A studio, agency, consultant or project portfolio | `ui-reference-studio` |\n| A store, marketplace or catalogue | `ui-reference-marketplace` |\n\nTake their structure and their decisions: how a section is introduced, what\nstands where an icon or a stock photo would, how a card carries its facts,\nhow few buttons and colours they use. Never their words, names, figures,\nlogos, images or colours, and never their concept: each came from its own\nproduct, as yours must (above). What they share is worth keeping on any\npage:\n\n- One concept, visible in every section, not only in the hero.\n- Evidence in the image slots: the product's real output, real pieces of its\n  interface, dated numbers. Not icons in circles or stock photos.\n- A section introduced by a pair: a small label and the heading on one side,\n  the sentence that explains it on the other, over a hairline. Not a centred\n  heading and subtitle over three cards.\n- Headlines with a turn: the claim, then its consequence in the muted colour\n  or an italic.\n- Hairlines, rules and outlines instead of shadows and filled boxes; one\n  filled button per view at most.\n- Small uppercase labels with wide tracking as the page's signposts and data\n  labels, one style used everywhere.\n- A footer that says in one line what the thing is, then only the links that\n  exist.\n\n## 2. Layout\n\n- One focal point per screen: what the user came for is the strongest\n  element, and everything else defers to it. One primary action per view;\n  secondary actions look secondary.\n- Structure follows the content and the task, not a template. A section\n  exists because the product has something to say there. Shapes to avoid by\n  default: hero, three identical cards, a \"trusted by\" logo row, testimonials,\n  FAQ, CTA band, four-column footer, in that order on every page; \"how it\n  works\" in exactly three numbered circles; a bento grid; a fake terminal\n  window as the hero.\n- Group by proximity: related things sit closer together than unrelated\n  ones, and the space between sections is larger than the space inside them.\n- Align to a grid: a few column widths, one gutter, edges that line up. Body\n  text at 60 to 75 characters a line. Page content inside a maximum width\n  (around 1100 to 1280px) while backgrounds may run full width.\n- Vary the rhythm: not every section is a centred heading over a grid of\n  equal cards. Alternate text-led and image-led, contained and full-width,\n  dense and open.\n- App screens: build around the decision the user makes there. The default\n  admin shell (sidebar, four stat cards, a chart, a table) fits every product\n  and so none. In tables, choose columns from that decision, put the deciding\n  field first, left-align text and right-align numbers.\n\n### Layout mechanics (not optional)\n\nA page built from hand-placed boxes drifts: a card a few pixels taller than\nits neighbour, a gap that differs by row, a control that renders one way on\nmacOS and another on Windows. These rules keep it tidy everywhere; check\nthem before anything else.\n\n- **Every layout is flexbox or grid.** Grid for anything with rows and\n  columns (card grids, forms in two columns, a page with a sidebar,\n  dashboards); flexbox for one line of things (a toolbar, a nav, a button\n  row, a card's own stack). No floats, no `inline-block` rows, no\n  `position: absolute` to place content, no `\u003Cbr>` or empty `div`s for\n  space, no margins on children to fake a gap. `ui-layout-grid` has the\n  recipes.\n- **Space between items is the container's `gap`**, from the spacing scale:\n  one gap per grid or row, 16 or 24px between cards, 8 to 12px between the\n  parts inside one. Never a different margin on the first or last item.\n- **Items in one group are one size.** Cards in a grid share column width\n  (the grid's tracks, never a width on the card), padding, radius, border,\n  media aspect ratio (`aspect-ratio` on the image box) and title size. The\n  odd one out needs a reason (a featured item spans two columns, on\n  purpose).\n- **Items in one row are one height.** Grid and flex rows stretch their\n  items (`align-items: stretch`, the default); the card is a flex column\n  with its action pushed to the bottom (`margin-top: auto`), so buttons and\n  prices line up across the row. Heights are never set by hand to match.\n- **Controls are one height too.** An input, a select and a button side by\n  side share a height token (40px, or 36px dense; 44px on touch) and\n  align their centres (`align-items: center` on the row).\n- **Dropdowns are custom, never the bare OS one.** A native `select` looks\n  different on every OS and browser and cannot be styled open. Use the\n  stack's component (shadcn\u002FRadix `Select`, Headless UI `Listbox`, React\n  Aria `Select`, Bits UI, Melt) or the plain listbox in `ui-part-choices`\n  section 7. The exception: a form meant mainly for phones may keep the\n  native one, styled closed.\n\n## 3. Spacing and sizing\n\n- A spacing scale as tokens, on a 4px base (4, 8, 12, 16, 24, 32, 48, 64,\n  96), used everywhere. No one-off values.\n- Heights come from content. No fixed heights on anything holding text, no\n  `100vh` sections; use `min-height` with `dvh` when a section really should\n  fill the screen.\n\n## 4. Typography\n\n- One or two families, chosen for the product's character, with the reason\n  in your report. A default pick (Inter, Geist, Space Grotesk, IBM Plex)\n  made out of habit is a tell, not a choice.\n- Give the headline face character: a serif, a grotesk with a distinct\n  shape, a condensed or a wide face, whatever the concept asks for; pair it\n  with a plain face for text. Monospace is for code, commands and figures\n  that align, not a costume for every label.\n- Contrast in size carries the hierarchy: the largest headline at least two\n  and a half times the body size, the small print clearly smaller. A page\n  where headings, text and meta are all within a few pixels reads flat.\n- A type scale with few steps, as tokens (for example 14, 16, 20, 25, 31, 39:\n  a 1.25 ratio), with `clamp()` for display sizes so they scale with the\n  window.\n- Body at 16px or more, line height about 1.5 for body and 1.1 to 1.25 for\n  headings.\n- Hierarchy through size and weight first, colour second. Avoid decorative\n  uppercase labels with wide letter-spacing, and monospace headings used as\n  a \"tech\" costume.\n\n## 5. Colour\n\n- Every colour is a token: background, surface, text, muted text, border,\n  accent, and the status colours.\n- A small palette: neutrals, two or three core colours and one accent. The\n  accent marks the key moment (the primary action, the current item), not\n  everything.\n- Contrast is computed, not judged by eye: text 4.5:1, large text (24px, or\n  19px bold) 3:1, controls, borders that identify a control, and focus\n  indicators 3:1 against what surrounds them.\n- Dark by default only with a reason the concept gives (a media player, a\n  photographer of night scenes). \"It is for developers\" is not a reason on\n  its own. Otherwise light, or a toggle where both themes are checked.\n- With two themes, every token has a value in each, and everything drawn\n  (icons, line drawings, logos, charts) is coloured from those tokens, so it\n  stays visible in both: a drawing left black disappears on the dark page.\n  Read `ui-themes` before building the second theme or a drawing for it.\n- Gradients, glass, glow and large shadows are accents with a purpose, on\n  one or two elements, never the page's texture.\n\n### Neutrals decide whether it looks designed\n\nMost generated palettes fail in the neutrals, not the accent: a \"dark\"\npage in charcoal grey (`#1e1e1e`, `#27272a`), a light page in dull grey\n(`#e5e5e5`), text in the same grey family, everything a little muddy.\n\n- **Dark means dark.** The page background at 3 to 8% lightness: `#0a0a0a`,\n  `#0c0d0f`, `#111110`. Not `#1a1a1a` to `#2d2d2d`, which reads as a grey\n  panel, not a dark room. Raised surfaces step up by 2 to 4% each\n  (`#0c0d0f` page, `#141518` card, `#1c1d21` popover), so depth comes from\n  small steps, not from a grey base.\n- **Text on dark is off-white, not grey:** body at 88 to 94% lightness\n  (`#ecebe8`), muted text around 60 to 65% (`#9a9893`), never below 4.5:1.\n  Pure `#ffffff` body text on near-black glares; keep pure white for the\n  one thing that must pop.\n- **Light means light.** The page at 93 to 100% lightness (`#ffffff`,\n  `#fafaf7`, a warm paper `#f6f3ec`), text near-black at 8 to 15%\n  (`#16150f`), not mid-grey `#555` for body copy.\n- **Tint the neutrals** a few degrees toward the accent's hue or the\n  concept's temperature (warm ink `#12110f`, cool night `#0b0d12`) instead\n  of dead RGB greys; keep the tint subtle (saturation 3 to 10%).\n- **Borders are quiet:** 8 to 14% above the background on dark, 8 to 12%\n  below it on light, and a border that marks a control reaches 3:1.\n- **The accent is saturated enough to be the accent** against those\n  neutrals, and used on under a tenth of the screen.\n- The `preview` tool reports a page background in the grey middle ground\n  (between about 9% and 92% lightness).\n\n## 6. Icons\n\n- One icon set for the whole product. Use the project's (look in its\n  dependencies and assets). With none, choose one whose style suits the\n  product (stroke weight, outline or filled, corner shape) and name it in\n  your report. For example: Phosphor (six weights, friendly), Tabler (even\n  2px stroke, technical, very large), Heroicons (compact, outline and solid),\n  Material Symbols (variable weight and fill, suits app interfaces), Lucide\n  (thin rounded strokes, so common it reads as a default: choose it for its\n  look, not out of habit).\n- Import icons one by one from the package, so only those used ship. A static\n  page without a bundler inlines the SVGs it uses, as `\u003Csymbol>` elements\n  referenced with `\u003Cuse>`, fetched exactly with the `icon` tool: never type\n  an icon's path from memory. No icon fonts, and no runtime icon script from a\n  CDN for a handful of icons.\n- Size icons on a scale tied to the text beside them (16, 20, 24), colour\n  them with `currentColor`, keep one stroke width, centre them on the line.\n- An icon earns its place by making something faster to recognise. A word is\n  often clearer; not every list item or card needs one. Never emoji as\n  interface icons, and not the generic glyphs (sparkles, rocket, lightning,\n  magic wand) standing in for features.\n- Icon-only buttons get an accessible name (`aria-label` or visually hidden\n  text); decorative icons get `aria-hidden=\"true\"`.\n\n## 7. Components\n\n- Each part of a page (header, navigation, sidebar, hero, sections, footer,\n  buttons, forms, tables, dialogs, menus, notifications, empty states,\n  steps, dates, uploads, a command palette, chat, media) has its own entry,\n  with what to build and what to avoid, in its own `ui-part-*` skill\n  (`ui-part-header`, `ui-part-hero`, `ui-part-tables`...), and each kind of\n  page its skeleton in a `ui-page-*` skill (landing, dashboard, list and\n  detail, shop, blog, onboarding, error pages...). Read only the ones you\n  build.\n- How it behaves is the `frontend-*` family's (state, data, forms,\n  accessibility, performance, errors), how it moves the `motion` family's.\n- Reuse first: search the project for the component (Button, Input, Dialog,\n  Card, Tabs) and use or extend it.\n- **Prefer a component library to hand-built parts.** A hand-rolled table,\n  select, dialog or date picker is where generated interfaces break: focus\n  that escapes, a menu that cannot be closed from the keyboard, a table with\n  ragged columns. Use the project's library when it has one. For a new\n  project, pick an established one for the stack, themed with the direction's\n  tokens rather than left at its default look:\n  - React or Next with Tailwind: shadcn\u002Fui (Radix underneath); without\n    Tailwind: Mantine, or Radix Themes\n  - Vue or Nuxt: Nuxt UI, or shadcn-vue; PrimeVue for data-heavy screens\n  - Svelte: shadcn-svelte (Bits UI underneath), or Skeleton\n  - Angular: Angular Material, or Spartan\n  - React Native: Tamagui, or React Native Paper; Flutter: Material 3\n  - Plain HTML: Web Awesome (Shoelace), or Pico CSS for a simple page\n  Tables with sorting, filtering or many rows use TanStack Table (the\n  library's data table is usually built on it); charts use the library's\n  chart kit or Recharts, Chart.js, or ECharts, not hand-drawn bars.\n- **One icon library, imported as components**, the one that ships with the\n  component library when it has one (Lucide with shadcn, Tabler with\n  Mantine, Heroicons with Tailwind UI, Material Symbols with Material).\n  Navigation items, actions and statuses get icons; decoration does not.\n  The `icon` tool is for a page with no package manager.\n- When the library is open and the project is new, pick the usual one for\n  the stack (shadcn\u002Fui with Lucide for React and Tailwind) and say so; ask\n  only when the user is brainstorming, or the brief names a choice to make.\n- A component for each named concept, and wherever the same markup repeats\n  with different content. Variants through props (`variant`, `size`), never\n  copies. Pass native attributes through, so a Button stays a button.\n- Design every interactive state: hover, focus-visible, active, disabled,\n  loading, and for fields, invalid with a message.\n- Radii from a small set (for example 4, 8, 12); shadows only to show that\n  something sits above something else. A card only when the content is a\n  card: a bordered box around every paragraph is noise, not structure.\n\n## 8. States and behaviour\n\n- Every view that shows data has an empty, a loading and an error state, and\n  each says what is going on and what to do: \"No invoices yet. Create one to\n  see it here.\" A bare spinner or \"No data\" says nothing.\n- Every control does something real: links go to pages or sections that\n  exist, buttons act, forms submit and confirm. A control that cannot work\n  yet is removed, or visibly labelled \"Coming soon\".\n- A control that cannot be used now says why, and offers what can be done\n  instead (\"On loan until 3 Oct · Reserve\"), never a greyed-out button with no\n  reason.\n- A placeholder reads as a placeholder (\"[your email]\"). The note on how to\n  fill it in goes in the README, never on the page where visitors read it.\n- Forms: a visible label for each field, the error beside the field in words,\n  a submit button that says what it does and shows progress while it works.\n- Long pages: the top bar sticks, so the navigation is always in reach\n  (`ui-part-header`), and a page longer than about three screens on a phone\n  has a back-to-top control that appears after the first screen\n  (`ui-part-back-to-top`).\n\n## 9. Responsive\n\n- Design the narrow screen as a state of its own, not a leftover: write the\n  CSS mobile-first, then widen.\n- Put breakpoints where the content breaks, not at device widths.\n- Grids with `repeat(auto-fit, minmax(…, 1fr))` or a collapse to one column;\n  `min-width: 0` on grid and flex children that hold text; images with\n  `max-width: 100%` and their width and height set.\n- No horizontal scroll at 360px. A wide table reflows or scrolls inside its\n  own container.\n- Touch targets at least 44px, with space between them; anything revealed on\n  hover also opens on tap.\n- Navigation collapses to a labelled menu, or a bottom bar that never covers\n  the content.\n\n## 10. Accessibility\n\n- Semantic elements: `button` for actions, `a` for navigation, one `h1` and\n  headings in order, `nav`, `main`, `footer`, lists for lists, `label` for\n  every input.\n- Keyboard: everything reachable in visual order and operable with Enter and\n  Space; dialogs close with Escape and give focus back. A visible\n  `:focus-visible` style on every control; never `outline: none` without a\n  replacement.\n- Colour is never the only signal: status colours come with text or an icon.\n- Respect `prefers-reduced-motion`. Motion has a purpose (feedback,\n  orientation, continuity), lasts 150 to 300ms for interface states, and\n  nothing loops forever without one (`motion` for entrances, reveals and\n  anything more).\n- The patterns for each widget, focus management and testing with a screen\n  reader are in `frontend-accessibility`.\n- Images have alt text that says what they show, or `alt=\"\"` when they are\n  decoration.\n\n## 11. Content\n\n- Real content, or placeholders that say they are placeholders:\n  `[Company logo]`, `[Customer quote]`. Never invented statistics,\n  testimonials, customer logos, people or awards.\n- Facts about the business you were not given (its name, prices, hours,\n  policies) stay visible placeholders on the page, not plausible guesses,\n  and are listed in your report.\n- Copy follows the `writing` skill: specific, plain, and actions named for\n  what they do.\n\n## 12. Before you call it done\n\n- Build it, and run the project's linter and tests.\n- Search the CSS for colour, spacing and radius values written outside the\n  token definitions, and move each into a token.\n- Look at it with the `preview` tool: it renders the page at 360, 768 and\n  1440px and measures overflow, contrast, dead links, unnamed controls and\n  touch targets, with a screenshot of each width. Without a browser, read\n  the CSS for those widths instead, and say so.\n- Walk the keyboard path and every state.\n- A favicon, or `\u003Clink rel=\"icon\" href=\"data:,\">`, so the browser's request\n  for one does not end in a 404 in the console.\n- Report the direction, the icon set, and anything left as a placeholder.\n",{"name":5,"description":7},"main","38293fe1b096e6bf3646c7344c38786ed688f464","crates\u002Fenowx-core\u002Fskills\u002Fui",21,"https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli","https:\u002F\u002Fenowx.ai","https:\u002F\u002Fgithub.com\u002Fenowdev","Pretending to be a Developer","2026-10-06 02:05:35",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add enowdev\u002Fenowxcli --skill ui",{"tool":52,"command":53},"bunx","bunx skills add enowdev\u002Fenowxcli --skill ui",{"tool":55,"command":56},"pnpm","pnpm dlx skills add enowdev\u002Fenowxcli --skill ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui\u002FSKILL.md",true,[],[61,77,99,126,148,178],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":72,"publishedAt":32},"01M6D2HQYSQD9N7MTNDT4A7CBM","demo-skill","Project-scope demo skill for tests.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fworkspace\u002F.agents\u002Fskills\u002Fdemo-skill\u002FSKILL.md",[67],{"categoryNo":68,"categoryName":69,"taxonomyType":70,"taxonomyTypeDesc":71},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[73,74,75,76,29],"demo","demo skill","tests","project",{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":89,"publishedAt":32},"01M6D2HM0GCPM0TM2HPG9HHR2R","writing","Writing words people read: the specific thing instead of claims, words to drop, sentences, interface copy (buttons, labels, errors, empty states, confirmations), page copy, notifications and emails, alt text and link text, numbers and dates, words that translate well, documentation and voice. Read before writing a page's copy, an interface's text or a document.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fwriting\u002FSKILL.md",[83,86],{"categoryNo":84,"categoryName":85,"taxonomyType":70,"taxonomyTypeDesc":71},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":87,"categoryName":88,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000036","内容创作者",[79,90,91,92,93,94,29,27,95,96,97,98],"voice","emails","empty","drop","document","text","notifications","documentation","translate",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":111,"publishedAt":32},"01M6D2HB59HZHWG1RYZDV4SJ91","ui-themes","Light and dark themes, and colour that holds in both: tokens with a value per theme, and what each kind of content needs to stay visible (icons, SVG drawings and line art, logos, photos, screenshots, charts, code, maps, borders, shadows, focus, form controls), switching without a flash, and checking both. Read before building a second theme or a theme toggle, and before any drawing, logo or chart on a page that has two themes.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-themes\u002FSKILL.md",[105,108],{"categoryNo":106,"categoryName":107,"taxonomyType":70,"taxonomyTypeDesc":71},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":109,"categoryName":110,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000030","开发工程师",[5,112,113,114,115,27,116,28,29,117,25,118,119,120,121,122,123,124,125],"ui themes","logo","Charts","code","flash","content","screenshots","Art","switching","tokens","drawing","focus","photos","maps",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":135,"publishedAt":32},"01M6D2H5R5KRAE524C8QX0T7Q0","ui-structure","Structure before styling: the blueprint written before any interface code (the screen's job, the regions its kind of page needs, their order and why, the layout skeleton in numbers, the components and their states), the anatomy and order of a homepage, a dashboard, a list, a detail page, settings, a form, sign-in, pricing, docs, an article and a checkout, and how to turn the blueprint into code (tokens, layout primitives, components, sections, page). Read first, before building or rebuilding any page or screen.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-structure\u002FSKILL.md",[132,133,134],{"categoryNo":84,"categoryName":85,"taxonomyType":70,"taxonomyTypeDesc":71},{"categoryNo":109,"categoryName":110,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":87,"categoryName":88,"taxonomyType":21,"taxonomyTypeDesc":22},[5,136,137,138,139,140,31,121,28,141,142,143,29,27,144,145,115,24,146,147],"ui structure","structure","Blueprint","article","anatomy","dashboard","primitives","list","why","how","pricing","styling",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":161,"publishedAt":32},"01M6D2H0ZZBJG77MBGPZHA6MWD","ui-stack-vue","Building interfaces in Vue 3 and Nuxt: project layout, script setup with typed defineProps, defineEmits and defineModel, attribute fallthrough, slots and scoped slots, template refs, ref, reactive and computed, watch versus watchEffect, composables and VueUse, provide and inject, Pinia, keyed v-for, transitions, Nuxt 4 (app directory, pages, layouts, useFetch and useAsyncData keys, $fetch in handlers, server routes, runtime config, useSeoMeta, NuxtImg, middleware), VeeValidate forms, Reka UI and Nuxt UI, testing, vue-tsc, and the traps. Read when the project uses Vue or Nuxt.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-stack-vue\u002FSKILL.md",[154,157,160],{"categoryNo":155,"categoryName":156,"taxonomyType":70,"taxonomyTypeDesc":71},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":158,"categoryName":159,"taxonomyType":70,"taxonomyTypeDesc":71},"01JBSEEDCAT000000000000009","前端开发",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[162,5,163,164,165,166,167,168,169,170,171,172,173,174,31,76,175,176,177,29],"vue","stack","ui stack vue","nuxt","template","server","config","directory","testing","pinia","pages","watch","runtime","transitions","forms","fetch",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":32},"01M6D2GW10WYJMQ5MP0YWWX00Y","ui-stack-tailwind","Building with Tailwind CSS v4 (and v3) without the Tailwind-default look: setup per framework (Vite, Next.js, Astro, Laravel, monorepos), @theme tokens in OKLCH named by role, dark mode with @custom-variant, the layout system as tokens (one container, section spacing, a type scale, stretched rows) and how to fix each preview layout line with classes, state, aria, data, group, peer, has, motion and container-query variants, component recipes (button, field, card, navigation, table, dialog) with every state, motion with --animate-* and starting:, cn with tailwind-merge, cva, class order, @utility, arbitrary values, typography, v3 to v4 migration, and the generated look. Read when the project uses Tailwind.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-stack-tailwind\u002FSKILL.md",[],[185,163,186,5,187,31,76,188,189,190,191,192,193,194,195,145,196,197,198,199],"ui stack tailwind","Tailwind","query","preview","next","aria","default","fix","generated","dialog","laravel","astro","merge","component","css"]