@cyclone-ui/helpers

中文文档
0.3.66发布于 2026/11/11TypeScriptESM + CJS构建来源已验证近 30 天下载 9510

A repository containing the core front-end components used by Storm Software across many platforms

原始使用文档
文档目录17 节
  1. 💻 Visit stormsoftware.com to stay up to date with this deve…
  2. Quick Features
  3. Installing
  4. Usage
  5. Reduced Package Size
  6. Development
  7. Building
  8. Running unit tests
  9. Linting
  10. Storm Workspaces
  11. Roadmap
  12. Support
  13. License
  14. Documentation
  15. Changelog
  16. Contributing
  17. Contributors
Storm Software


This package is part of the 🌀 Cyclone UI monorepo. The repository contains Tamagui based design components used by Storm Software. Like Shadcn UI, the components are copied into other repositories via the Cyclone CLI.

💻 Visit stormsoftware.com to stay up to date with this developer

Version Nx NextJs Commitizen friendly Semantic-Release documented with docusaurus GitHub Workflow Status (with event)

[!IMPORTANT] This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be available through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.


Cyclone UI - Helpers

A package containing various helper utilities used in Storm Software applications

Quick Features

  • Size, space, and radius helpers that read Tamagui tokens (getSized, getSpaced, getRadius)
  • Token value normalization, including Tailwind-style arbitrary values such as [12px]
  • Font size and font weight helpers for styled.dynamic variants
  • Form control sizes (sm, md, lg) and the shared form-control context with hooks for fields
  • Color palette generators based on the OKLCH color space

Installing

Using pnpm:

pnpm add -D @cyclone-ui/helpers
Using npm
npm install -D @cyclone-ui/helpers
Using yarn
yarn add -D @cyclone-ui/helpers

Usage

Build a size variant for a Tamagui styled component:

import { styled, View } from "@tamagui/core";
import {
  formSizeVariants,
  getFormFontSize,
  getFormSizeToken
} from "@cyclone-ui/helpers";

export const Box = styled(View, {
  variants: {
    size: formSizeVariants((size, env) => ({
      height: getFormSizeToken(size),
      ...getFormFontSize(size, env)
    }))
  }
});

See the package documentation for every export.

Reduced Package Size

This project uses tsdown to package the source code due to its ability to remove unused code and ship smaller javascript files thanks to code splitting. This helps to greatly reduce the size of the package and to make it easier to use in other projects.

Development

This project is built using Nx. As a result, many of the usual commands are available to assist in development.

To set up a checkout, clone the repository and run pnpm install in the repository root.

Building

Run nx build helpers to build the library.

Running unit tests

Run nx test helpers to execute the unit tests via Vitest.

Linting

Run nx lint helpers to run ESLint on the package.

Storm Workspaces

Storm workspaces are built using Nx, a set of extensible dev tools for monorepos, which helps you develop like Google, Facebook, and Microsoft. Building on top of Nx, the Open System provides a set of tools and patterns that help you scale your monorepo to many teams while keeping the codebase maintainable.


Roadmap

See the open issues for a list of proposed features (and known issues).


Support

Reach out to the maintainer at one of the following places:


License

This project is licensed under the Apache License, Version 2.0. Feel free to edit and distribute this template as you like.

  Copyright (C) 2023 - 2024 Storm Software

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

See LICENSE for more information.

Documentation

All documentation is licensed under the Creative Commons (attribute) license.


Changelog

This project adheres to Semantic Versioning. Every release, along with the migration instructions, is documented in the CHANGELOG file


Contributing

First off, thanks for taking the time to contribute! Contributions are what makes the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.

Please try to create bug reports that are:

  • Reproducible. Include steps to reproduce the problem.
  • Specific. Include as much detail as possible: which version, what environment, etc.
  • Unique. Do not duplicate existing opened issues.
  • Scoped to a Single Bug. One bug per report.

Please adhere to this project's code of conduct.

You can use markdownlint-cli to check for common markdown style inconsistency.


Contributors

Thanks goes to these wonderful people (emoji key):

Patrick Sullivan
Patrick Sullivan

🎨 💻 🔧 📖 ⚠️
Tyler Benning
Tyler Benning

🎨
Stormie
Stormie

🚧
All Contributors Add your contributions

This project follows the all-contributors specification. Contributions of any kind welcome!




Storm Software

Fingerprint: 1BD2 7192 7770 2549 F4C9 F238 E6AD C420 DA5C 4C2D

Storm Software is an open source software development organization and creator of Acidic, StormStack and StormCloud.

Our mission is to make software development more accessible. Our ideal future is one where anyone can create software without years of prior development experience serving as a barrier to entry. We hope to achieve this via LLMs, Generative AI, and intuitive, high-level data modeling/programming languages.

If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our website!


### 💻 Visit [stormsoftware.com](https://stormsoftware.com) to stay up to date with this developer

版本与发布记录

@cyclone-ui/helpers 共发布 66 个版本,首次发布于 2026/09/04;过去 12 个月发布了 66 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.3.66latest2026/11/11今天
0.3.652026/11/10今天
0.3.642026/11/091 天前
0.3.632026/11/091 天前
0.3.622026/11/092 天前
0.3.612026/11/092 天前

关于 @cyclone-ui/helpers 的常见问题

@cyclone-ui/helpers 是什么?

A repository containing the core front-end components used by Storm Software across many platforms

如何安装 @cyclone-ui/helpers?

在项目目录运行 npm install @cyclone-ui/helpers,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:react(^19.3.1)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@cyclone-ui/helpers 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@cyclone-ui/helpers 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@cyclone-ui/helpers 可以商用吗?

@cyclone-ui/helpers 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@cyclone-ui/helpers 的下载量有多少?

根据 npm 官方下载统计,@cyclone-ui/helpers 在 2026/10/11 – 2026/11/09 这 30 天内被下载 9,510 次,日均约 317 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@cyclone-ui/helpers 还在维护吗?

最新版本 0.3.66 发布于 2026/11/11(今天);至今共发布 66 个版本,其中过去 12 个月发布了 66 个;首次发布于 2026/09/04。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。