npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

zelda-hyrule-ui

v0.4.0

Published

An unofficial, non-commercial fan-made React UI component library inspired by the art style of The Legend of Zelda: Breath of the Wild. Not affiliated with or endorsed by Nintendo.

Readme

🗡️ zelda-hyrule-ui

npm version npm downloads GitHub stars License

Components React TypeScript Vite Cursor Ready BOTW Style Bilingual

A React UI component library inspired by The Legend of Zelda: Breath of the Wild. 83 components with dark theme, Sheikah glow effects, and AI-consumable design specs.

一套受《塞尔达传说:旷野之息》启发的 React UI 组件库。 83 个组件,暗色主题 + 希卡之石辉光效果,附带 AI 可消费的设计规范。

[!IMPORTANT] Unofficial fan project · 非官方粉丝项目 This is a free, non-commercial fan project for learning and demonstration only. It is not affiliated with, endorsed by, or sponsored by Nintendo. The Legend of Zelda, Breath of the Wild, the Triforce, the Sheikah eye, and all related names and visual elements are trademarks of Nintendo Co., Ltd. No copyrighted Nintendo game assets are redistributed here — the visual design originates from a community CC BY 4.0 Figma kit. If you are a Nintendo rights holder with concerns, please open an issue and changes will be made promptly.

The MIT license covers this project's code only. It does not grant any rights to Nintendo's trademarks or IP. If you reuse this project — especially for any commercial purpose — you do so at your own risk and are solely responsible for any IP/trademark infringement; such liability does not rest with the author.

本项目为免费、非商用的粉丝创作,仅供学习与演示,与任天堂无任何隶属、背书或赞助关系。《塞尔达传说》《旷野之息》、三角力量、希卡之眼等相关名称与视觉元素均为任天堂(Nintendo Co., Ltd.)的商标。本仓库不再分发任天堂的受版权保护游戏素材——视觉设计来自社区 CC BY 4.0 的 Figma 素材包。如任天堂权利方有任何顾虑,请提 issue,我会第一时间处理。

MIT 许可仅覆盖本项目的代码,不授予任何任天堂商标或 IP 的权利。任何人复用本项目——尤其是用于商业用途——风险自负,由此产生的 IP/商标侵权责任由使用者自行承担,与作者无关。

Showcase

🔗 Preview

🔗 预览


Highlights / 核心卖点


Installation / 安装

npm install zelda-hyrule-ui

Quick Start / 快速开始

import { HealthBar, StaminaWheel, Button, Card } from 'zelda-hyrule-ui'
import 'zelda-hyrule-ui/style'

export default function App() {
  return (
    <div style={{ background: '#66645D', padding: 40, minHeight: '100vh' }}>
      {/* HUD elements */}
      <HealthBar current={10} max={13} bonus={3} />
      <StaminaWheel value={0.75} size={70} />

      {/* Cards */}
      <Card variant="sheikah" title="Sheikah Slate">
        Distilling rune...
      </Card>

      {/* Buttons */}
      <Button variant="sheikah">Activate</Button>
      <Button variant="primary">Confirm</Button>
    </div>
  )
}

More examples / 更多示例:

// Dialog
import { Dialog, DialogChoice } from 'zelda-hyrule-ui'

<Dialog type="speech" speaker="Old Man">
  It is cold here. You should find warm clothes.
</Dialog>

<DialogChoice
  options={[{ label: 'Yes', value: 'yes' }, { label: 'No', value: 'no' }]}
  selectedIndex={0}
/>
// Quest tracking
import { QuestListItem } from 'zelda-hyrule-ui'

<QuestListItem
  title="Destroy Ganon"
  location="Hyrule Castle"
  questType="main"
  state="marked"
/>
// Divine Beasts & Abilities
import { DivineBeast, SheikahAbility } from 'zelda-hyrule-ui'

<DivineBeast beast="ruta" charges={1} />
<SheikahAbility ability="magnesis" />
<SheikahAbility ability="stasis" plus />
// Sheikah Slate themed layout
import { SheikahBackground, SheikahScanlines, SheikahTextTitle } from 'zelda-hyrule-ui'

<SheikahBackground color="darkBlue">
  <SheikahScanlines animated opacity={0.08} />
  <SheikahTextTitle title="Compendium" description="Creatures of Hyrule" />
</SheikahBackground>

For AI Users / AI 用户指南

The simplest way to use this library with AI:

最简单的 AI 使用方式:

  1. Give your AI the GitHub link and say "use this style to build me a landing page"

    把 GitHub 链接丢给 AI,说"用这个风格给我做一个落地页"

  2. Or drop skill/SKILL.md into Cursor rules, then say "Build in Zelda style"

    或者把 skill/SKILL.md 放进 Cursor rules,然后说"用塞尔达风格做"

  3. Or install the package and reference AI_USAGE.md for the full API

    或者安装包后参考 AI_USAGE.md 获取完整 API

  4. For PPT / social-card layouts: pair with a dedicated layout skill (e.g. guizang's PPT / social-card skills) and let the AI apply the Zelda skin on top — see skill/references/layout-bridge.md. (Interop only; their AGPL code is never merged here — this project stays MIT.)

    做 PPT / 图文排版:可配合专门的排版 skill(如归藏的 PPT / 图文 skill),让 AI 在其版式上套塞尔达皮——见 skill/references/layout-bridge.md。(仅互操作,不合并其 AGPL 代码,本项目保持 MIT。)

AI Documentation Files / AI 文档

| File | For | Purpose | |------|-----|---------| | skill/SKILL.md | Cursor / Copilot | Routing-layer skill (progressive disclosure) — design rules + load-on-demand references/ for pixel-level specs | | AI_USAGE.md | AI assistants | Core API reference — 8 core components in depth; full 83-component enums in skill/references/ | | DESIGN_PROMPT.md | v0 / Figma AI / MJ | One-click design generation prompts | | skill/references/layout-bridge.md | Cursor / Claude Code | Layout interop — pair with a layout skill to make Zelda-style PPT / 图文 / 封面 (skin-over-skeleton) |

| 文件 | 面向 | 用途 | |------|-----|---------| | skill/SKILL.md | Cursor / Copilot | 路由层 skill(渐进披露)——设计铁律 + 按需加载的 references/ 像素级规范 | | AI_USAGE.md | AI 编程助手 | 核心 API 手册——8 个核心组件详解;全部 83 组件枚举值见 skill/references/ | | DESIGN_PROMPT.md | v0 / Figma AI / MJ | 一键设计生成提示词 | | skill/references/layout-bridge.md | Cursor / Claude Code | 排版互操作——配合排版 skill 做塞尔达风 PPT / 图文 / 封面(骨 + 皮) |


Components (83) / 组件

| Category | Count | Components | |----------|-------|------------| | HUD | 16 | HealthBar, StaminaWheel, WeatherIcon, RupeeCounter, DivineBeast, SheikahAbility, RupeeType, Temperature, SoundMeter, Sensor, EffectDuration, BonusEffectIcon, LoadingIcon, HorseSpur, QuickSelector, LoadingHeart | | Menu | 8 | MenuSections, ItemBG, Pagination, ModalButton, Scrollbar, ModalTimer, StatsStack, ModalTutorial | | Titles | 5 | TitleLocation, TitleQuest, TitleShrine, TitleLocationLarge, TitlePointOfInterest | | Dialog | 3 | Dialog, DialogChoice, DialogFloating | | Sheikah | 8 | SheikahSymbol, SheikahBackground, SheikahScanlines, SheikahRune, SheikahCompendiumEntry, SheikahTextTitle, SheikahCompendiumFilters, SheikahAlbumButton | | Map | 7 | MapIcon, MapBeacon, MapQuestMarker, MapLocationName, MapCursor, MapHeroLocation, MapGrid | | Quest | 4 | QuestListItem, QuestDescription, QuestTypeIcon, QuestNotification | | Battle | 4 | ItemEnchantment, StatusHealing, AimingReticle, AttackDefenseValues | | Controls | 2 | ControllerButton, ActionSet | | Shop | 3 | ShopListItem, ShopPriceQuantity, NumberInput | | Settings | 1 | SettingsToggle | | Decorations | 6 | TitleOrnament, DirectionalArrow, Starburst, TextOrnamentCorner, TimerOrnament, Illustration | | Brand | 1 | Logo | | Common | 6 | Button, Card, Modal, Divider, Loading, Toast | | Screens | 9 | MenuScreen, QuestScreen, LoadingScreen, TitleScreen, GameOverScreen, SystemScreen, ShopScreen, SheikahMapScreen, QuickSelectorScreen |

📖 Full interactive docs with code examples and props tables: Online Documentation

完整交互式文档(含代码示例和 Props 表格):在线文档


Design Tokens / 设计变量

| Token | Value | Usage | |-------|-------|-------| | Sheikah Blue | #3CD3FC | Core accent, glows, focus states | | Sheikah Yellow | #FFE460 | Highlights, active states | | Effect Orange | #FCC413 | Confirm buttons, golden glow | | Main Tan | #E2DED3 | Borders, titles | | Text Main | #E9E1D1 | Body text (warm white) | | Dark BG | #66645D | Page background | | Sheikah Panel | rgba(10,20,40,0.85) | Sheikah Slate panels |

| 变量 | 值 | 用途 | |------|-----|------| | 希卡蓝 | #3CD3FC | 核心主色、辉光、焦点态 | | 希卡黄 | #FFE460 | 高亮、激活态 | | 效果橙 | #FCC413 | 确认按钮、金色辉光 | | 米色 | #E2DED3 | 边框、标题 | | 主文字 | #E9E1D1 | 正文(暖白) | | 深色背景 | #66645D | 页面背景 | | 希卡面板 | rgba(10,20,40,0.85) | 希卡之石面板 |


Tech Stack / 技术栈

| | | |---|---| | Framework | React 18 + TypeScript | | Build | Vite (library mode, ESM + CJS dual output) | | Styling | Less Modules (zelda-[local]-[hash:5] scoped names) | | Assets | SVGs exported from Figma, externalized via @laynezh/vite-plugin-lib-assets | | Fonts | Hylia Serif + Cinzel + Roboto | | Bundle | ~120KB ESM, tree-shakeable |


Local Development / 本地开发

git clone https://github.com/chaos-xxl/zelda-hyrule-ui.git
cd zelda-hyrule-ui
npm install
npm run dev       # Start demo dev server
npm run build     # Build component library
npm run deploy    # Deploy demo to gh-pages

Contributing / 贡献

See CONTRIBUTING.md for guidelines.

贡献指南请参阅 CONTRIBUTING.md


Credits / 致谢

This project is built on top of the Zelda BOTW UI Kit by Hunter Paramore, shared on the Figma Community. All UI elements, icons, and visual structure originate from this kit. The Figma file is the foundation of every component in this library — all SVGs were exported node-by-node from the original work.

本项目基于 Hunter Paramore 在 Figma 社区分享的 Zelda BOTW UI Kit 构建。所有 UI 元素、图标和视觉结构都源自该素材包。本组件库的全部 SVG 都是从原始 Figma 文件中逐节点精确导出的。

If you use this library or the original UI kit, please credit Hunter Paramore.

如果你使用本库或原始素材,请同时致谢 Hunter Paramore。

| Resource | Link | |----------|------| | Original Figma file | https://www.figma.com/community/file/965825767811358609 | | Author profile | https://hunterparamore.com | | Author's Figma | Hunter Paramore on Figma |


License / 许可证

Code: MIT. The MIT license grants full rights to use, modify, and redistribute the code, including commercially.

However, this project's visuals are inspired by Nintendo IP. The MIT license does not grant any rights to Nintendo's trademarks or game IP. Because of that, commercial use is strongly discouraged — this is a non-commercial fan creation, and any use touching the Zelda/Nintendo IP (especially commercial) is at your own risk and your own responsibility. See ATTRIBUTION.md for the full two-layer rights breakdown (CC BY 4.0 assets + Nintendo trademark layer).

代码:MIT MIT 授予对代码的使用、修改、再分发权利(含商用)。

但本项目视觉受任天堂 IP 启发,MIT 授予任何任天堂商标或游戏 IP 的权利。因此强烈不建议商用——这是非商用粉丝创作,任何涉及塞尔达/任天堂 IP 的使用(尤其商用)风险与责任由使用者自负。完整的两层权利说明见 ATTRIBUTION.md(CC BY 4.0 素材层 + 任天堂商标层)。

MIT — 仅供学习和个人使用。本项目为粉丝创作,所有塞尔达相关商标归任天堂所有。