命令面板

搜索要执行的命令…

0GitHub 星标
Components

感言

显示用户反馈,包括作者信息、头像和经过验证的徽章。

加载中

使用场景

  • 带有用户反馈的爱心页面墙。
  • 登陆页面上的社交证明部分。
  • 用于字幕和卡片网格的构建块。

安装

pnpm dlx shadcn@latest add @yourname/testimonial

用法

import {
  Testimonial,
  TestimonialAuthor,
  TestimonialAuthorInfo,
  TestimonialAuthorName,
  TestimonialAuthorTagline,
  TestimonialAvatar,
  TestimonialAvatarImg,
  TestimonialAvatarRing,
  TestimonialQuote,
  TestimonialVerifiedBadge,
} from "@/components/testimonial"
<Testimonial>
  <TestimonialQuote />
 
  <TestimonialAuthor>
    <TestimonialAvatar>
      <TestimonialAvatarImg />
      <TestimonialAvatarRing />
    </TestimonialAvatar>
 
    <TestimonialAuthorName>
      <TestimonialVerifiedBadge />
    </TestimonialAuthorName>
 
    <TestimonialAuthorTagline />
  </TestimonialAuthor>
</Testimonial>

成分

使用以下组合构建 Testimonial

Testimonial
├── TestimonialQuote
└── TestimonialAuthor
    ├── TestimonialAvatar
    │   ├── TestimonialAvatarImg
    │   └── TestimonialAvatarRing
    ├── TestimonialAuthorName
    │   └── TestimonialVerifiedBadge
    └── TestimonialAuthorTagline

示例

License and usage

  • Free to use and modify in both personal and commercial projects.
  • Attribution is appreciated but not required.
  • Released under the MIT License.

这个页面对你有帮助吗?

命令面板

搜索要执行的命令…