JGuang / JGuang UI

April 2026 - Pointer Cursor

本页提供 JGuang UI 技术内容、中文导航与术语适配。

中文模式已适配导航、标题、简介、目录与常用章节名称。翻译状态:部分完成;技术正文目前仍为英文。

You can now enable cursor: pointer for buttons when initializing a project.

Use the JGuang UI Registry URL provided on /systems/jguang-ui#install.

This adds the following CSS to your global CSS file:

@layer base {
  button:not(:disabled),
  [role="button"]:not(:disabled) {
    cursor: pointer;
  }
}

The --pointer option is not part of preset codes. It is applied as a project setup option, similar to --rtl.

来源: changelog/2026-04-pointer-cursor.mdx

JGuang UI 技术文档。