尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Designed with intention.
Calarys is a small, curated library of premium, interaction-focused React components, paired with a documentation site where every component can be explored, tuned live and copied as code.
Each component is built around one carefully crafted interaction — a button that is pulled toward the cursor, a card lit by a spotlight that follows the pointer, a toggle with a tactile, springy thumb — and exposes its look and feel through a small set of typed props.
| Component | Category | Description |
|---|---|---|
MagneticButton | buttons | A button that is magnetically attracted to the cursor within a configurable radius. |
SpotlightCard | cards | A card with a soft radial spotlight that follows the pointer. |
Toggle | controls | An accessible switch (native checkbox) with smooth transitions, three sizes and custom colors. |
See packages/ui/README.md for the full props reference.
[email protected])calarys/
├── apps/
│ └── docs/ # @calarys/docs — Next.js site: landing, component explorer, live playground
├── packages/
│ └── ui/ # @calarys/ui — the component library (source-only TypeScript package)
├── package.json # root scripts
└── pnpm-workspace.yaml
Requirements: Node.js 20+ and pnpm 10 (corepack enable picks up the pinned version).
pnpm install
pnpm dev # start the docs site at http://localhost:3000
| Script | What it does |
|---|---|
pnpm dev | Runs the docs site in development mode. |
pnpm build | Builds the docs site for production. |
pnpm lint | Lints every workspace package with ESLint. |
pnpm typecheck | Type-checks every workspace package. |
pnpm test | Runs the Vitest suites of every workspace package. |
@calarys/uiThe package currently lives inside this workspace and is consumed as source (no build step). Add it as a workspace dependency, import the shared tokens once, then use the components:
// app/layout.tsx
import "@calarys/ui/styles.css";
import { MagneticButton, SpotlightCard, Toggle } from "@calarys/ui";
<MagneticButton radius={140} strength={0.35}>Get started</MagneticButton>
<SpotlightCard spotlightColor="#fff3c4" shadow>
<h3>Timeless design</h3>
</SpotlightCard>
<Toggle size="lg" defaultChecked onChange={(checked) => console.log(checked)} />
CONTRIBUTING.md — workflow and step-by-step guide for adding a componentpackages/ui/README.md — component API referenceapps/docs/README.md — how the docs site, registry and playground workCLAUDE.md — guidance for AI coding agents working in this repo