Nasaq UI

io.github.fadymondy由 GitHub 账号 fadymondy 发布v0.3.1更新于 Nov 1, 2026

Nasaq design system docs for agents: 390 components for React, Vue, Blade and HTML, with Arabic RTL.

已验证Streamable HTTP可网页运行知识与记忆开发者工具媒体与设计

概览

AI 生成的概览

向助手提供 Nasaq 设计系统文档:浏览 390 多个组件、按需求搜索,并读取手册、设计令牌与安装指南。

可以做什么
  • 按分类、文本查询或框架列出并筛选组件
  • 用自然语言描述需求来搜索组件
  • 读取单个组件的手册、API、示例、源码或 Storybook 故事
  • 读取色彩角色、布局、密度与品牌规范等设计基础
  • 查询 CSS 自定义属性及其在各主题上下文中的取值
  • 获取各框架的安装命令、CSS 引入与应用骨架
适用场景
在使用 Nasaq 设计系统构建界面时,让助手查证应选哪个组件、其属性与示例,或正确的安装方式与令牌,而不是凭空猜测。也适合确认某组件在 React、Vue、Blade 或 HTML 等框架中是否存在。
运行要求
远程 streamable HTTP 端点 mcp.nasaqui.com;未声明认证、环境变量或请求头。README 提到可通过 npx 包本地以 stdio 运行,但该包尚未发布。需要能访问该托管端点。
安装前请注意
仅用于只读的文档查询,不索取任何凭据。README 说明 MIT 许可不涵盖字体、第三方标志与品牌标识,部署时需自行负责所用字体的授权及各提供方的品牌规范。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Nasaq UI,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.fadymondy%2Fnasaq/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "nasaq-ui": {
      "type": "http",
      "url": "https://mcp.nasaqui.com/mcp"
    }
  }
}

README

[Nasaq]

Nasaq · نسق

One product language for every surface: 392 components, design tokens and 17 brand themes, with Arabic and RTL built in.

[CI] [npm] [License: MIT] [GitHub stars] · Read the launch article Docs · Website · Discussions · Contributing

One product language for every surface: 392 React components, a token system, 17 brand themes and full page templates, built on Base UI and Tailwind CSS v4, with Arabic and right-to-left layout treated as a first-class case. Install it as a shadcn registry (you own the source) or as the npm package @fadymondy/nasaq.

Documentation and live componentshttps://docs.nasaqui.com
shadcn registryhttps://docs.nasaqui.com/r/{name}.json (index: /registry.json)
MCP server (for AI tools)https://mcp.nasaqui.com/mcp
Landing pagehttps://nasaqui.com

[Introduction page, light]

[Component catalogue, dark]

[A whole storefront built from Nasaq components (Pages / Store / Journey)]

Status

Version 1.4.0, published on npm as @fadymondy/nasaq. The components are in daily use in the author's own products. Each component's manual carries a status of stable, beta or experimental: stable APIs follow semver, beta ones may still gain props.

Quick start: shadcn registry

Works in any project that already runs shadcn (components.json present).

bash
# once: the Nasaq preset (tokens, theme, provider)npx shadcn@latest add https://docs.nasaqui.com/r/nasaq.json
# then any component by URLnpx shadcn@latest add https://docs.nasaqui.com/r/button.json
# a brand theme (11 available, theme-<brand>)npx shadcn@latest add https://docs.nasaqui.com/r/theme-nasaq.json

To use the short @nasaq/<name> form, add the namespace to components.json:

json
{  "registries": {    "@nasaq": "https://docs.nasaqui.com/r/{name}.json"  }}
bash
npx shadcn@latest add @nasaq/button

The registry serves plain JSON with Access-Control-Allow-Origin: *, so it also works from other tools.

Quick start: npm

bash
pnpm add @fadymondy/nasaq
tsx
import { Button, NasaqProvider } from "@fadymondy/nasaq/web";import "@fadymondy/nasaq/web/styles.css";

Entry points: /web, /web/styles.css, /tokens, /tokens.css, /theme.css, /brands, /native (React Native) and /electron.

MCP server

Lets Claude, Cursor and other MCP clients search the components and read their manuals.

bash
# hosted (streamable HTTP)claude mcp add --transport http nasaq https://mcp.nasaqui.com/mcp
# or local over stdioclaude mcp add nasaq -- npx -y @fadymondy/nasaq-mcp

Tools: get_setup, list_components, search_components, get_component, get_foundation, list_tokens. The setup for Claude, Cursor and other clients is on the docs site under Docs, Guides, MCP server. The stdio package is likewise not on npm until it is released.

Repository layout

apps/  lab/          Storybook 10: the documentation site and every story; builds the static site and the registry  site/         Next.js landing/brand site and the older registry builderpackages/  web/          the React components (@nasaq/web, source of the registry)  tokens/       DTCG design tokens, generated CSS and typed module  brands/       brand manifests and marks  icons/        icon set  native/       React Native kit  electron/     Electron window chrome  feedback/     in-app feedback reporter  mcp/          the MCP server  nasaq/        the published package, @fadymondy/nasaq  tooling/      lint and check toolingscripts/        registry build and validation, component checksdocs/           architecture notes and design audits

Development

Node 22 or newer and pnpm 11.

bash
pnpm installpnpm lab                                   # Storybook on http://localhost:6106
pnpm typecheckpnpm lint                                  # logical properties only, no raw hex colourspnpm test                                  # includes the token contrast matrixpnpm check:components                      # every component has a valid README and a story
pnpm --filter @nasaq/site registry         # build and validate the shadcn registrypnpm --filter @nasaq/lab build             # static docs + registry -> apps/lab/storybook-staticpnpm --filter @nasaq/lab serve             # serve that folder on http://127.0.0.1:6108

The static build is one folder: the docs, every story, the demo images, r/*.json and registry.json. apps/lab/scripts/serve-static.mjs is a dependency-free server for it (per-path cache headers and CORS for the registry files); see docs/ARCHITECTURE.md for the hosting notes. To run it as a long-lived service: node apps/lab/scripts/serve-static.mjs --port 6108 --host 0.0.0.0.

Contributing

Contributions are welcome: bug reports, accessibility and RTL fixes, docs and new components. Read CONTRIBUTING.md for setup, conventions and the DCO sign-off, then look for good first issue.

Community

Please follow the Code of Conduct.

Fonts, logos and brands

The MIT licence covers the source code and documentation. It does not cover the items below.

  • Fonts. The token stacks name Inter (Latin) and IBM Plex Sans Arabic (Arabic), both SIL OFL, plus JetBrains Mono for code. The packages load none of them, so you choose how; the docs site self-hosts IBM Plex Sans Arabic (300/400/500) in apps/lab/public/fonts with its licence. If you deploy Nasaq you are responsible for the licences of the fonts you load.
  • Logos and brand marks. The sign-in components (oauth-buttons, connected-accounts) draw the official Google, GitHub, Apple and Microsoft marks, unmodified, in the providers' own colours, following each provider's branding guidelines. They are trademarks of their owners, are never recoloured, mirrored or redrawn, and are not licensed to you by this repository: follow each provider's guidelines in your own product. The brand manifests (packages/brands) hold the marks of the author's own products and the 17 brand themes, drawn as data to demonstrate theming; do not use one for a product you do not own.
  • Images. The storefront demos use simple SVG illustrations under apps/lab/public/store, drawn for the demos so they render. They are not a product-photo library.

If you believe something here is used in a way its owner does not allow, please tell us through SECURITY.md and it will be removed.

Credits

Built by Fady Mondy. Made with Base UI, Tailwind CSS, shadcn/ui (registry format and component anatomy), Storybook, Style Dictionary and the DTCG token format.

Sponsor

Nasaq is made by Fady Mondy, the creator of ToGO, the open-source Go + React framework behind Zekra, Mahaam, Moharrik and Hosbah. The best way to support Nasaq is to sponsor ToGO, which funds the whole ecosystem.

Sponsor ToGO →

[Sponsor ToGO] [GitHub Sponsors] [Buy Me a Coffee]

Licence

MIT, © 2026 Fady Mondy. See LICENSE.

来源:README.md,提交 1dbebee

工具

6

list_components

List Nasaq components

Lists every Nasaq web component with its category, status, one-line summary and exports. Filter by category or a text query. With a non-React `framework`, lists only the components that exist in that stack.

输入参数querycategoryframework

search_components

Search Nasaq components

Ranks components for a need described in words, e.g. 'switch between products', 'empty state', 'keyboard shortcut'.

输入参数limitquery必填

get_component

Get a Nasaq component

Returns one component's details and manual. `name` may be the folder (app-shell), the title (AppShell) or any export (SidebarItem). `include` picks what to return: readme (default, full manual), api (API section only), examples, source (TSX), story (Storybook CSF), all. `framework` returns the component in another stack (html, alpine, vue, blade, livewire, filament, inertia, shadcn, …).

输入参数name必填includeframework

get_foundation

Get a Nasaq foundations doc

Design rules behind the components: colour roles, layout and density, architecture, brand/logo rules, README spec. Omit `topic` to list topics.

输入参数topic

list_tokens

List Nasaq design tokens

CSS custom properties (--nq-*) with their value in each context (light, dark, brand, density). Filter by prefix, e.g. '--nq-danger' or 'surface'. In Tailwind use them as utilities: bg-nq-surface, text-nq-fg-muted, border-nq-border.

输入参数limitprefix

get_setup

How to install and set up Nasaq

Install command, CSS imports, provider and the usual app skeleton. Call once before building UI. `framework` picks the guide: react (default), shadcn, inertia, html, alpine, vue, or blade/livewire/filament/laravel/tomatophp.

输入参数framework

版本历史

1
  1. v0.3.1最新Oct 11, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分