Create interactive HTML prototypes with components, animations, and navigation.
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/
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/
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
Add click-based page navigation between prototype pages.
bash scripts/script.sh link --from proto/index.html --selector ".nav-about" --to proto/about.html
Generate a preview summary of a prototype: page list, component count, linked routes.
bash scripts/script.sh preview --input proto/
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
create: HTML file(s) in the output directory with inline CSS and JScomponent: HTML snippet file for the specified componentanimate: Updated HTML file with injected CSS keyframes and classlink: Updated HTML file with onclick navigation wiredpreview: Summary printed to stdout (pages, components, links)export: Single HTML file with all pages, styles, and scripts inlinedhttps://bytesagain.com/feedback/
Powered by BytesAgain | bytesagain.com
共 2 个版本