Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、Codex、Cursor 以及 40 多个编码代理作为持久机器人使用。支持群组聊天、线程、应用。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证shadcn/ui for SwiftUI. Beautiful copy-paste components for iPhone, iPad and Mac that you own. Native controls, themes, dark mode, Dynamic Type.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗SwiftUI components you paste and own.
A shadcn/ui-style design system for SwiftUI: open source components you add to your app with one command and then own completely.
Website · Components · Installation · Presets · Changelog
swiftui-flx follows the shadcn/ui approach: instead of adding a dependency, you add the source to your project. From then on it's your code, ready to adapt to your app.
Button, Toggle, Slider, DisclosureGroup and friends, styled through their own *Style protocols, so you keep native behavior.Using Claude Code, Cursor or Codex? Copy the Install with AI prompt, or point your agent to llms.txt. Adding to an existing app? See Existing Projects.
Add the foundation once, then the components you need. Run from your app's source folder, or pass --cwd (details):
npx shadcn@latest add @swiftui-flx/foundation --cwd MyApp
npx shadcn@latest add @swiftui-flx/ios-button --cwd MyApp
Use @swiftui-flx/mac-button for macOS. Prefer not to use the CLI? Every component page has the source to copy by hand.
Then set AccentColor in your asset catalog to the preset's tint, so alerts and other views the system draws match your theme (details).
import SwiftUI
struct SettingsView: View {
@State private var notifications = true
var body: some View {
FLXCard {
FLXCardHeader {
FLXCardTitle("Notifications")
}
FLXCardContent {
FLXToggle("Allow notifications", isOn: $notifications)
}
FLXCardFooter {
FLXButton("Save", variant: .primary) {}
}
}
}
}
| Component | iOS & iPadOS | macOS | |
|---|---|---|---|
| Avatar | ✓ | ✓ | Profile picture with an initials fallback |
| Badge | ✓ | ✓ | Small label for status, category or count |
| Button | ✓ | ✓ | Primary, outline, secondary, ghost and link variants |
| Card | ✓ | ✓ | Container with header, content and footer |
| Collapsible | ✓ | ✓ | Content that expands and collapses |
| Empty | ✓ | ✓ | Empty state with icon, title, description and actions |
| Field Label | ✓ | ✓ | Caption paired with a form control |
| Form Field | ✓ | ✓ | Label, control, description and error together |
| Item |
On macOS, Menu and Picker use SwiftUI's native versions, which the Mac always draws itself.
For views Apple already gets right, the docs show how to use them with your theme instead of wrapping them.
| Guide | iOS & iPadOS | macOS | |
|---|---|---|---|
| Alert | ✓ | ✓ | Confirmations, errors, and confirmation dialogs |
| Date Picker | ✓ | ✓ | Dates and times, in a field, calendar, or wheels |
| Form | ✓ | ✓ | Settings and data-entry screens |
| List | ✓ | — | Collections of rows, with swipe actions and selection |
| Navigation | ✓ | ✓ | Navigation stack on iOS, sidebar split view on macOS |
| Search | ✓ | ✓ | Search field with suggestions, scopes, and empty results |
| Segmented Control | ✓ | ✓ | A few related options side by side, or tabs between views on iOS |
| Sheet | ✓ | ✓ | Content presented over the current view |
| Tab View |
Why not a Swift package? Packages are great for shared logic. For UI, having the source lets you shape each component to your app's design and change it whenever you need.
Do I need a web project or Node?
Only npx to run the shadcn CLI. Nothing from the web ends up in your app. The files are plain Swift.
Does it work with my existing design?
Yes. Change the tokens in DesignSystem/Theme or apply a preset with .flxTheme(_:) to any part of your app.
This repo powers swiftui.flexnative.com and hosts the component registry.
pnpm install
pnpm dev
pnpm registry:build
Swift sources live in registry/. pnpm registry:build generates the installable files in public/r. See CONTRIBUTING.md to try a change in an app and for the rules every component follows.
Inspired by shadcn/ui. Built by Felipe Menezes.
If swiftui-flx saves you time, a star helps other SwiftUI developers find it.
The components and design system in registry/ are licensed under the MIT license. Use them in any app, commercial or not.
Everything else in this repository, including the website, is licensed under the AGPL-3.0 license.
| ✓ |
| ✓ |
| List, notification and settings rows |
| Menu | ✓ | — | Actions revealed from a button |
| Picker | ✓ | — | Dropdown to pick one value |
| Progress View | ✓ | ✓ | Progress bar or spinner |
| Secure Field | ✓ | ✓ | Password input |
| Slider | ✓ | ✓ | Pick a value from a range |
| Text Editor | ✓ | ✓ | Multi-line text input |
| Text Field | ✓ | ✓ | Single-line text input |
| Text Field Group | ✓ | ✓ | Text field with leading and trailing addons |
| Toggle | ✓ | ✓ | Switch on iOS, checkbox on macOS |
| ✓ |
| ✓ |
| Tab bar for app sections on iOS, tabbed panes on macOS |