svelte-components by spences10/svelte-skills-kit
npx skills add https://github.com/spences10/svelte-skills-kit --skill svelte-components组件库: Bits UI(无样式) | Ark UI | Melt UI(基础组件)
表单技巧: 当表单无法包裹输入元素时,使用 form 属性:
<form id="my-form" action="/submit"><!-- 在表格外部 --></form>
<table>
<tr>
<td><input form="my-form" name="email" /></td>
<td><button form="my-form">提交</button></td>
</tr>
</table>
// svelte.config.js
export default {
compilerOptions: {
customElement: true,
},
};
<!-- MyButton.svelte -->
<svelte:options customElement="my-button" />
<button><slot /></button>
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
defaultValue 属性便于轻松重置表单每周安装量
131
代码仓库
GitHub 星标数
57
首次出现
2026年1月20日
安全审计
已安装于
opencode105
gemini-cli96
codex91
claude-code89
cursor85
github-copilot81
Component libraries: Bits UI (headless) | Ark UI | Melt UI (primitives)
Form trick: Use form attribute when form can't wrap inputs:
<form id="my-form" action="/submit"><!-- outside table --></form>
<table>
<tr>
<td><input form="my-form" name="email" /></td>
<td><button form="my-form">Submit</button></td>
</tr>
</table>
// svelte.config.js
export default {
compilerOptions: {
customElement: true,
},
};
<!-- MyButton.svelte -->
<svelte:options customElement="my-button" />
<button><slot /></button>
defaultValue attribute enables easy form resetsWeekly Installs
131
Repository
GitHub Stars
57
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode105
gemini-cli96
codex91
claude-code89
cursor85
github-copilot81
json-render生成式UI框架:AI驱动、多平台JSON渲染,安全构建动态界面
539 周安装
MOT - Claude Code 系统健康检查工具 | 技能/代理/钩子/内存全面审计与自动修复
232 周安装
Xero API 集成指南:使用 Membrane CLI 连接云会计软件
232 周安装
GPT Image 1.5 图像生成与编辑技能 - 基于OpenAI的AI图像处理工具
239 周安装
文档转换套件:PDF、Word、Excel、PPT、TXT、CSV、MD、HTML 8种格式互转工具
234 周安装
TDD测试驱动开发完整指南:红绿重构工作流、最佳实践与常见误区
241 周安装
2025年技术验证智能体:validate-agent最佳实践与实施指南
240 周安装