屏幕与设备
应用展开
品牌打开自己的应用:窗口从标志处向外展开,标志移到左上角成为应用图标,问题逐字打出,建议标签在输入框下方升起。
安装
npx @imgcli/cli add app-open使用
import { AppOpen } from "@/components/imgcli/app-open";
<AppOpen
name="Imgcli"
greeting="Good morning, Alex."
question="What is on your mind?"
placeholder="Ask, write, or organize"
suggestions={[
"Meeting notes",
"Project brief",
"Research summary",
"Weekly plan"
]}
/>;默认示例:打开笔记工作台,在会议纪要、项目简报、研究总结和周计划中选择任务。以 30 fps 渲染 126 帧(4.2 秒)。
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
name | string | "Imgcli" | |
logo | string | — | Image URL of the brand mark. Omit for Imgcli's mark, or the name's initial. |
greeting | string | "Good morning, Alex." | |
question | string | "What is on your mind?" | |
placeholder | string | "Ask, write, or organize" | |
suggestions | readonly string[] | 见使用示例 | |
fontFamily | string | — | A face from the Imgcli font list, or any loaded CSS font stack. |
accentColor | string | — | |
theme | Partial<ImgcliTheme> | — | |
mode | "light" | "dark" | — | |
speed | number | — |
许可
MIT 许可,可免费用于个人及商业项目,保留版权和许可声明。
Copyright (c) 2026 Ricky (Imgcli) <https://imgcli.com>
常见问题
如何在 Remotion 项目中使用应用展开?
运行 npx @imgcli/cli add app-open。CLI 会把组件源码复制到项目的 components/imgcli/ 目录并安装依赖,之后可以直接修改源码。
应用展开能做什么?
品牌打开自己的应用:窗口从标志处向外展开,标志移到左上角成为应用图标,问题逐字打出,建议标签在输入框下方升起。
使用应用展开前需要准备什么?
准备 Node.js 20.19 或更高版本,以及一个 Remotion 项目。新项目可以用 npx create-video@latest 创建。免费组件采用 MIT 许可证。