Atelier UI

搜索组件…

搜索组件…

Testimonial Card

用户评价卡片,含大引号、评分星与作者信息,支持 plain、outlined、filled 三种样式。

在沙盒中编辑

复制一段给 AI 编程工具的提示词,包含源码、依赖和用法

属性

TestimonialCardProps

同时支持以下类型的全部属性: Omit<React.ComponentProps<"figure">, "children">

属性类型默认值说明
quote* 必填string——
author* 必填string——
role* 必填string——
ratingnumber50-5
variantTestimonialCardVariant"outlined"—

安装

$ npx shadcn@latest add https://chromotion.dev/r/testimonial-card.json

同类组件