shadcn-framer
构建带动画的 ShadCN 界面
团队需要一致的 UI 模式,而不必重复构建常见动画。此技能提供 ShadCN 和 Framer Motion 示例,涵盖卡片、列表、对话框、过渡和加载状态。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "shadcn-framer" from https://skillstore.io/skills/barnhardt-enterprises-inc-shadcn-framer.md and its manifest at https://skillstore.io/api/skills/barnhardt-enterprises-inc-shadcn-framer/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“shadcn-framer”。 为个人资料卡片添加动画。
预期结果:
- 推荐包含 header、content 和 footer 区域的 ShadCN Card 结构。
- 添加 Framer Motion 包装器,用于淡入、悬停上移和点击反馈。
- 保持较短的动画时长,避免拖慢重复 UI 操作。
正在使用“shadcn-framer”。 为通知创建动画列表。
预期结果:
- 定义带有交错子元素时间安排的父级动画计划。
- 使用 AnimatePresence 处理通知行的进入和退出。
- 解释稳定的项目标识符如何防止动画异常。
正在使用“shadcn-framer”。 改进加载状态。
预期结果:
- 建议使用带有脉冲式透明度动画的柔和骨架屏元素。
- 让占位形状接近最终内容尺寸。
- 说明重复动画应保持细微克制。
安全审计
安全The static analyzer flagged Markdown code fences and a JSX template literal as Ruby shell backtick execution. Review of SKILL.md found setup notes and UI component examples only, with no hidden execution logic, prompt injection, credential access, or data exfiltration intent.
风险因素
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/barnhardt-enterprises-inc-shadcn-framer/audits/10?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/barnhardt-enterprises-inc-shadcn-framer?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/barnhardt-enterprises-inc-shadcn-framer?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/barnhardt-enterprises-inc-shadcn-framer/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/barnhardt-enterprises-inc-shadcn-framer.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
Barnhardt-Enterprises-Inc. (2026). shadcn-framer security audit report (audit version 10) [Author version unspecified]. Skillstore. https://skillstore.io/skills/barnhardt-enterprises-inc-shadcn-framer/audits/10BibTeX 引用
@techreport{barnhardt-enterprises-inc-barnhardt-enterprises-inc-shadcn-framer-2026,
author = {Barnhardt-Enterprises-Inc},
title = {shadcn-framer security audit report (audit version 10)},
institution = {Skillstore},
year = {2026},
number = {10},
url = {https://skillstore.io/skills/barnhardt-enterprises-inc-shadcn-framer/audits/10},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "shadcn-framer security audit report (audit version 10)"
version: "unspecified"
type: report
authors:
- name: "Barnhardt-Enterprises-Inc"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/barnhardt-enterprises-inc-shadcn-framer/audits/10"
identifiers:
- type: other
value: "skillstore:barnhardt-enterprises-inc-shadcn-framer:audit:10"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
为 UI 组件添加动效
使用实用的 Framer Motion 模式增强现有 ShadCN 卡片、按钮和对话框。
转换交互规范
将简单的动效需求转换为适用于列表、对话框和页面过渡的 React 组件模式。
制作动画界面原型
在早期产品开发中快速创建可信的动画界面状态。
试试这些提示
请向我展示如何为我的 React 应用初始化 ShadCN UI,并添加 Button、Card 和 Dialog 组件。
使用此技能为个人资料摘要规划一个带有轻柔淡入和悬停效果的 ShadCN Card。
创建一个包含 Framer Motion variants、交错项目和稳定 keys 的动画列表模式,用于这些项目:[describe items]。
将此模态框重构为 ShadCN Dialog,并使用 AnimatePresence 进入和退出动画,同时保留无障碍行为:[paste component]。
最佳实践
- 对于用户经常重复执行的界面操作,保持较短的动效时长。
- 为动画列表使用稳定 keys,使项目能够可预测地进入和退出。
- 在用 motion 元素包装组件时,保留 ShadCN 的无障碍行为。
避免
- 不要在密集的操作型界面上为每个组件都添加动画。
- 不要用仅支持动效的自定义元素替代具备无障碍能力的 ShadCN primitives。
- 不要为常规悬停或点击反馈使用大幅布局位移。
常见问题
此技能能帮助构建什么?
它会自动安装 ShadCN UI 吗?
我可以将它与 Next.js 一起使用吗?
它包含完整的设计系统指导吗?
它能帮助处理对话框和页面过渡吗?
这在 Claude、Codex 和 Claude Code 中有用吗?
开发者详情
许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
0519034dad657fb1f7706e0550e962beeda73fdf
维护新鲜度
2026/7/21
使用量
9 次下载 · 245 次浏览
文件结构
📄 SKILL.md