Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@nuxtseo/design-system

Latest version: v0.1.21

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: harlan_zw
20 Versions
5.7K Downloads

Scan summary

@nuxtseo/design-system was last scanned on 28 Nov 2026 at version 0.1.21. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 20 versions; the latest 5 were published within 3 days (26–28 Nov 2026).
  • Findings: No rules fired in version 0.1.21.
  • Downloads: 5,719 downloads.

Versions

20 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.21 LATEST 28 Nov 2026 No rules fired
0.1.20 28 Nov 2026 No rules fired
0.1.19 28 Nov 2026 No rules fired
0.1.18 26 Nov 2026 Not shown
0.1.17 26 Nov 2026 Not shown

No rules fired in 0.1.21

Findings

Findings for v0.1.21. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.21; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Design System

The design rules and rationale live in DESIGN.md (repo root) and this layer's AGENTS.md; dated judgment calls in docs/design-decisions.md. This layer is the implementation those documents describe. When they disagree, the code here wins and the doc gets fixed.

Design system layer: design language extended by every app. It owns UI primitives, tokens, fonts, motion, chart helpers, formatters, design vocabularies (Status, severity, health, data-viz palette), and cross-cutting UI affordances (eject, feedback widget contracts).

Scope

Owns:

  • UI primitives under app/components/{container,data,element}/
  • Design tokens, fonts, motion, chart helpers
  • Formatters and design vocabularies (Status, severity, health, data-viz palette)
  • Cross-cutting UI affordances (eject, feedback widget contracts)
  • CSS tokens and global stylesheet (css/)

Depends on: nuxtseo-shared (brand marks) and the published Nuxt modules in package.json. No workspace package.

Consumed by: layers/brand, which every Nuxt SEO app (apps/site, apps/pro, apps/admin, apps/brand-kit) extends in its place, and outside sites through the npm package @nuxtseo/design-system.

Rules

  • Per ADR-0042 (pragmatic rule): MAY know domain shapes; MUST NOT import runtime services. No useFetch, Drizzle, Caller, billing, auth, or useRuntimeConfig at module scope. Storybook test: renders with prop fixtures alone.
  • Component placement per ADR-0029. Components MUST NOT be prefixed Pro/Admin/Tool/Docs/Learn; the layer name is the scope.
  • One of only two layers (with core) every app extends.

Consuming this layer

Outside this repository, install the published package and extend it.

pnpm add @nuxtseo/design-system
pnpm add -D typescript@^6
// nuxt.config.ts
export default defineNuxtConfig({
  extends: ['@nuxtseo/design-system'],
})
  • Peers: nuxt 4.6+, vue 3.5+, typescript 5.8 to 6, @nuxt/ui 4.11+, @nuxt/scripts 1.3+ or 2, @vueuse/core 14 or 15, motion-v 2.4+, tailwindcss 4.3+, and zod 4. The Vue SFC compiler resolves the layer's prop types through the TypeScript JS API, and TypeScript 7 has none. A TypeScript 7 native typecheck of your app still passes over the layer's components.
  • The layer shares your copy of each peer, so the app runs one Nuxt UI, one @nuxt/scripts, one VueUse, one Tailwind, one motion-v context, and one zod. pnpm and npm install a missing peer for you. You need no overrides for the layer.
  • If pnpm reports ignored build scripts, allow esbuild and @parcel/watcher under allowBuilds in pnpm-workspace.yaml.
  • Import components from #components. The layer turns auto-imports off, in Nitro too. If your app turns them back on, the layer's composables and utils stay out of its scan, so a name such as formatNumber never shadows your own. Import them by path.
  • Write app.config.ts as a plain object. defineAppConfig is an auto-import, so the server bundle has no such function.
  • Import other modules by their path: @nuxtseo/design-system/app/composables/formatting. A directory with an index.ts imports by its name: @nuxtseo/design-system/shared/icons, @nuxtseo/design-system/shared/contracts, and @nuxtseo/design-system/types.
  • To wrap a component, import its props from a .ts module, never from the .vue file: the SFC compiler cannot resolve a type inside a package .vue file. UiTableProps and UiTableSlots live in @nuxtseo/design-system/app/shared/table, UiStatProps in app/shared/stat, and UiToastProps and UiToasterProps in app/shared/toast.
  • The layer ships no favicon and no font files. Set both through the brand seams below.
  • Tailwind generates the classes it finds in every layer's app/ and shared/ folders, your app's included. Nuxt UI adds app/; the layer's stylesheet adds shared/, so a class map such as the pro-shell status tones renders from npm.
Overrides
What How
Nuxt UI colours, slots, icons, toaster, favicon paths app.config.ts in your app. It merges over the layer's app/app.config.ts.
Tokens: colours, fonts, density, elevation CSS custom properties in your own stylesheet, loaded after the layer's css/global.css. Override --ui-*, --font-*, --density-*, and --elevation-*; never --_depth-* or --_viz-*.
One instance Props and slots on the component.
Icon set, chart colours, icon colour roles The brand seams below.

Same-name shadowing does not work. A component in your app/components/ with a layer component's name loses: the layer registers its components at priority 10. A composable with a layer composable's name is never used: layer files import each other by path. If you need a change that props, slots, tokens, or app.config cannot express, open an issue for a new prop or slot.

Releasing

The UI packages release together on a ui-v* tag. The cohort contains @nuxtseo/design-system, @nuxtseo/pro-shell, @nuxtseo/pro-indexing, and @nuxtseo/pro-search.

  1. Set the four manifest versions and every peer on another UI package to the same release. Use ^X.Y.Z for the peer ranges.
  2. Run pnpm release:ui:check ui-vX.Y.Z.
  3. Pack all four layers. Pass the design system, shell, indexing, and search tarballs to pnpm release:ui:smoke in that order.
  4. Tag the merged commit ui-vX.Y.Z and push the tag. The release workflow verifies and publishes each package. Prereleases use the next dist-tag.

Brand seams

A site that extends this layer cannot shadow its components or composables: they register at priority 10 and auto-import is off. It sets its brand through these seams instead. Unset, each seam renders what Nuxt SEO renders.

Icon set. Pick the set every semantic icon role renders from. The default is hugeicons. Install the matching @iconify-json/<set> collection. The icon aliases, the client bundle, and the server icon bundle follow the choice.

// nuxt.config.ts
export default defineNuxtConfig({
  extends: ['@nuxtseo/design-system'],
  designSystem: { iconSet: 'lucide' },
})

Favicon. The layer's favicon plugin emits a theme-aware icon link and an Apple touch icon link from favicon in app.config.ts. Unset, it emits neither. Each link's MIME type follows the file extension, so an SVG declares image/svg+xml. A mode without its own path uses the other mode's path. The links carry id: 'favicon' and id: 'apple-touch-icon'.

// app.config.ts
export default {
  favicon: {
    light: '/icon-light.svg',
    dark: '/icon-dark.svg',
    appleTouchLight: '/touch-icon.png',
    appleTouchDark: '/touch-icon-dark.png',
  },
}

Type. Set --font-sans, --font-display, --font-title, and --font-mono in your stylesheet, and register the faces with fonts.families. --font-title carries page titles (.text-title, its sm:text-title variant, and the font-title utility). Its default is the display family. The layer ships no font files and registers no faces.

Type scale. Set these properties at :root to resize or recase the dense tiers. Unset, each keeps the value in the second column.

Property Default Sets
--ui-label-size, --ui-label-weight, --ui-label-case, --ui-label-tracking 10px, 600, uppercase, 0.05em .text-label and UiMetricLabel
--ui-table-cell-size, --ui-table-cell-leading --text-xs and its leading Body cells of UiTable and UiTableTd
--ui-table-head-size, --ui-table-head-leading --ui-label-size, inherited Header labels of UiTable and UiTableTh
--ui-trend-2xs-size, --ui-trend-xs-size, --ui-trend-xs-leading 10px, --text-xs and its leading UiTrend sizes 2xs and xs
--ui-trend-badge-case uppercase UiTrend New and Lost
:root {
  --ui-label-size: 0.75rem;
  --ui-label-weight: 500;
  --ui-label-case: none;
  --ui-label-tracking: normal;
  --ui-table-cell-size: var(--text-sm);
  --ui-table-cell-leading: var(--text-sm--line-height);
  --ui-table-head-size: var(--text-sm);
  --ui-trend-badge-case: none;
}

Surfaces. The layer sets every --ui-bg*, --ui-text* and --ui-border* token on .light, .dark and .dashboard-theme inside :where(), so those rules carry no specificity. Set a surface token in a plain :root rule and it wins in both modes; set it in a .dark rule to change dark mode only. Source order does not matter.

Own-site links. An absolute HTTP or HTTPS prose link gets an external-link arrow. List the hosts that count as your site, and links to them get none. Unset, the layer lists no host.

// nuxt.config.ts
export default defineNuxtConfig({
  designSystem: { internalLinkHosts: ['example.com', 'www.example.com'] },
})

OG images. nuxt-og-image compiles OG images against one Tailwind entry: the #tailwindcss alias, or else the first CSS entry that imports Tailwind, which is the layer's. Runtime :root overrides never reach it. To give OG images your theme, write an entry that imports the layer's stylesheet and restates your theme values. Then point the alias at it. Browsers never load this file.

/* app/assets/css/og-theme.css */
@import '@nuxtseo/design-system/css/global.css';

@theme {
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-title: 'Poppins', system-ui, sans-serif;
}
// nuxt.config.ts
export default defineNuxtConfig({
  alias: { '#tailwindcss': fileURLToPath(new URL('./app/assets/css/og-theme.css', import.meta.url)) },
})

Text and dashboard neutrals. Three light mode text tokens sit on Nuxt SEO's violet hue, off the neutral ramp. The dashboard (.dashboard-theme) swaps the neutral ramp to mauve. Set these properties to re-hue them. Unset, each keeps Nuxt SEO's value.

Property Sets
--ui-light-text, --ui-light-text-dimmed, --ui-light-text-highlighted --ui-text, --ui-text-dimmed, --ui-text-highlighted in light mode
--ui-dashboard-neutral-50 to --ui-dashboard-neutral-950 The dashboard's neutral ramp, both modes
--ui-dashboard-light-text-dimmed Dashboard --ui-text-dimmed, light mode
--ui-dashboard-dark-text-dimmed, --ui-dashboard-dark-text-muted Dashboard --ui-text-dimmed and --ui-text-muted, dark mode
:root {
  --ui-light-text: var(--color-olive-800);
  --ui-dashboard-neutral-50: var(--color-olive-50);
  /* and each step to 950 */
}

A var() inside a custom property resolves on the element that declares it. So :root { --ui-dashboard-dark-text-muted: var(--ui-color-neutral-400) } reads the marketing ramp's 400 step. Name a fixed colour or a --color-* step instead.

Chart colours. Every chart identity slot in dataVizColors.ts reads a --ui-viz-<slot> custom property: clicks, impressions, ctr, position, sessions, users, pageviews, lcp, inp, cls, current, comparison, device-desktop, device-mobile, device-tablet, brand, non-brand, rank-1 to rank-10, resource-document, resource-script, resource-stylesheet, resource-image, resource-font, category-1 to category-5, and neutral. The SVG paint, the bg-viz-* and text-viz-* classes, and the /15 fills all follow it. Unset, light mode reads a deeper default for any slot whose stock hue falls under 3:1 on white; dark mode keeps the stock hue. Text classes use the mark colour unless --ui-viz-<slot>-text is set. If the mark colour fails AA as text, set it.

:root {
  --ui-viz-clicks: var(--ui-primary);
  --ui-viz-neutral: #94a3b8;
  --ui-viz-comparison: #a3a292;
  --ui-viz-comparison-text: #67713a;
}

A palette color field is a CSS colour, such as var(--ui-viz-clicks, #3b82f6). Mix it with color-mix(); never parse it as hex. Before 0.1.6 the field was named hex.

Icon colour roles. Add or remap a role that getIconColor() resolves. Write the classes in full, so Tailwind finds them in your source.

// app.config.ts
export default {
  designSystem: {
    iconColors: { lime: { bg: 'bg-lime-500/10', text: 'text-lime-500' } },
  },
}

Onboarding copy. UiOnboardingAnswers takes an intents prop for the goal list and a copy prop for its strings: roleQuestion, siteCountQuestion, seoExperienceQuestion, intentsQuestion, intentsHint, otherLabel, and otherPlaceholder. Pass any of them. Unset keys keep the strings in ONBOARDING_ANSWERS_COPY. An empty intentsHint hides the hint. Onboarding Answers store the option ids, so the ids never change.

Onboarding controls. Two scoped slots draw UiOnboardingAnswers in your own look and keep its answer logic. #option="{ question, option, selected, pick }" draws one single-choice option; pick() selects it, or clears it when it is already picked. #intents="{ intents, selected, toggle, other, setOther }" draws the goals and the free-text box. Your heading, Skip, and Save sit around the component, and saving stays with your app: the layer never fetches.

<UiOnboardingAnswers v-model="answers" :copy="{ intentsHint: '' }">
  <template #option="{ option, selected, pick }">
    <UButton :label="option.label" :variant="selected ? 'soft' : 'outline'" :aria-pressed="selected" @click="pick" />
  </template>
  <template #intents="{ selected, toggle, other, setOther }">
    <MyGoalsGrid :selected="selected" :other="other" @toggle="toggle" @update:other="setOther" />
  </template>
</UiOnboardingAnswers>

Trend colour. UiTrend draws a change in neutral text unless a caller passes colored, because Nuxt SEO spends colour on hero trends only. A site that colours every trend sets the default once:

// app.config.ts
export default {
  designSystem: { trend: { colored: true } },
}

Atmosphere. UiAtmosphere draws no grain and leaves the bloom geometry unmasked unless asked. Pass grain or bloom-mask on one instance, or turn either on for the whole site with designSystem: { atmosphere: { grain: true, bloomMask: true } } in app.config.ts. Nuxt SEO's own brand layer turns both on.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @nuxtseo/design-system

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229