搜索组件…
iOS 胶囊按钮:Filled / Tinted / Gray / Plain 四种样式和三种尺寸,可自定义主题色。
复制一段给 AI 编程工具的提示词,包含源码、依赖和用法
同时支持以下类型的全部属性: React.ComponentProps<"button">
React.ComponentProps<"button">
"filled" | "tinted" | "gray" | "plain"
"filled"
keyof typeof sizes
"large"
string
$ npx shadcn@latest add https://chromotion.dev/r/ios-capsule-button.json
iOS / macOS 原生质感按钮:细描边、柔和阴影、按下轻微缩放。
iOS 26 液态玻璃风格按钮:毛玻璃、镜面高光和柔和阴影,适合放在图片或渐变背景上。
App Store 风格 GET 按钮:点击后变成环形进度,完成后切换为 OPEN。
分类