Codync
免費、開源的 1:1 替代方案,取代 Grok Bot 與 Muse。從 iPhone、Mac 或 Linux 桌面將 Claude Code、Codex、Cursor 與 40+ 程式碼代理人作為持續機器人傳訊。群組聊天、主題串…
AI 翻譯
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Heroicons for Svelte 5: all 324 outline and solid icons through one typed <Icon name> component or as tree-shakeable components
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Heroicons for Svelte 5: all 324 icons in the 24px outline and solid styles, through one typed <Icon name> component or as separate tree-shakeable components.
Search the icons and copy their code in the icon browser. Every icon has its own page there with the code and the raw SVG.
npm install @krowten/svelte-heroicons
Requires Svelte 5.
Render any icon with Icon and its heroicons name:
<script>
import { Icon } from '@krowten/svelte-heroicons';
</script>
<Icon name="beaker" class="size-6 text-blue-500" />
<Icon name="beaker" class="size-6 text-blue-500" solid />
name is typed as IconName, a union of all icon names, so a typo is a type error. Use the type for your own props:
<script lang="ts">
import { Icon, type IconName } from '@krowten/svelte-heroicons';
const { icon }: { icon: IconName } = $props();
</script>
<Icon name={icon} class="size-5" />
Icon includes all 324 icons, about 65 KB gzipped. If bundle size matters, import the icons you use as components instead; only those end up in your bundle:
<script>
import { BeakerIcon } from '@krowten/svelte-heroicons';
// or: import BeakerIcon from '@krowten/svelte-heroicons/icons/BeakerIcon.svelte';
</script>
<BeakerIcon class="size-6 text-blue-500" solid />
Component names are the heroicons names in PascalCase with an Icon suffix: arrow-up-tray is ArrowUpTrayIcon.
AI assistants can read llms.txt, or llms-full.txt with every icon name and its component.
| Prop | Type | Default | Description |
|---|---|---|---|
solid | boolean | false | Render the solid variant instead of outline. |
strokeWidth | number | string | 1.5 | Stroke width of the outline variant. |
name | IconName | — | Icon only: which icon to render. Required. |
Any other attribute or event handler (class, style, fill, onclick, …) is passed through to the <svg> element and overrides the defaults.
Icons use currentColor, so they take the text color of their parent or of a class like text-gray-500 in Tailwind CSS. Icons are 24×24 by default through width and height attributes, so they never collapse or stretch to fill their container; any CSS size, like class="size-5", takes precedence.
Icons are decorative by default and rendered with aria-hidden="true". Give an icon an aria-label (or aria-labelledby) and it is exposed to screen readers as an image instead:
<button>
<Icon name="trash" class="size-5" aria-label="Delete" />
</button>
bun install
bun run dev # the site at http://localhost:5173
bun run generate # regenerate src/lib from the installed heroicons package
bun run test # generated files check, unit and component tests, e2e
bun run check # svelte-check
bun run lint
The files in src/lib/icons/, src/lib/icon-set.ts and src/lib/index.ts are generated from node_modules/heroicons. After updating heroicons, run bun run generate and commit the result. Component tests run in Chromium; install it once with bunx playwright install chromium.
bun run build builds both the site (build/) and the package (dist/). The site's own code lives in src/routes and src/site, outside the package. Every push to main deploys it to GitHub Pages (.github/workflows/pages.yml).
To release, set version in package.json, move the CHANGELOG entries under it and push a v<version> tag. .github/workflows/release.yml runs the tests and stages the release on npm with provenance; it goes live once approved on npmjs.com.
MIT © Vladimir Kraikovskii. Icons are Heroicons by Tailwind Labs, MIT licensed.