← 返回
开发者工具 中文

Prototype

Build interactive HTML prototypes. Use when creating clickable mockups, adding animations, linking pages, or exporting HTML.
构建交互式HTML原型。适用于创建可点击原型、添加动画、链接页面或导出HTML。
ckchzh
开发者工具 clawhub v3.4.1 2 版本 100000 Key: 无需
★ 0
Stars
📥 957
下载
💾 45
安装
2
版本
#latest

概述

Prototype

Create interactive HTML prototypes with components, animations, and navigation.

Commands

create

Create a new interactive prototype HTML page with specified sections and style.

bash scripts/script.sh create --name "app-proto" --sections "nav,hero,features,footer" --theme light --output proto/

component

Generate a standalone UI component (button, modal, card, form, navbar, etc).

bash scripts/script.sh component --type modal --title "Confirm" --body "Are you sure?" --actions "cancel,confirm" --output components/

animate

Add CSS animation to an element in an existing prototype HTML file.

bash scripts/script.sh animate --input proto/index.html --selector ".hero" --animation fadeIn --duration 0.5s --output proto/index.html

link

Add click-based page navigation between prototype pages.

bash scripts/script.sh link --from proto/index.html --selector ".nav-about" --to proto/about.html

preview

Generate a preview summary of a prototype: page list, component count, linked routes.

bash scripts/script.sh preview --input proto/

export

Bundle a multi-page prototype into a single self-contained HTML file with all assets inlined.

bash scripts/script.sh export --input proto/ --output prototype-bundle.html

Output

  • create: HTML file(s) in the output directory with inline CSS and JS
  • component: HTML snippet file for the specified component
  • animate: Updated HTML file with injected CSS keyframes and class
  • link: Updated HTML file with onclick navigation wired
  • preview: Summary printed to stdout (pages, components, links)
  • export: Single HTML file with all pages, styles, and scripts inlined

Requirements

  • bash 4+

Feedback

https://bytesagain.com/feedback/


Powered by BytesAgain | bytesagain.com

版本历史

共 2 个版本

  • v3.4.1 当前
    2026-03-29 13:32 安全 安全
  • v1.0.5
    2026-03-19 09:02

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,388
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,838
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,427