感言选框
滚动字幕以展示用户评价。
- Registry (2)
- Used by (1)
功能
- 带有淡入淡出边缘的连续滚动选取框。
- 单行和多行布局。
- 可与推荐组件组合。
使用场景
- 登陆页面上的社会证明带。
- 在定价或注册部分上方滚动评论。
- 爱之墙的引言数量超出屏幕显示范围。
安装
pnpm dlx shadcn@latest add @yourname/testimonials-marquee
用法
import {
Marquee,
MarqueeContent,
MarqueeFade,
MarqueeItem,
} from "@/components/kibo-ui/marquee"
import {
Testimonial,
TestimonialAuthor,
TestimonialAuthorInfo,
TestimonialAuthorName,
TestimonialAuthorTagline,
TestimonialAvatar,
TestimonialAvatarImg,
TestimonialAvatarRing,
TestimonialQuote,
TestimonialVerifiedBadge,
} from "@/components/testimonial"<Marquee>
<MarqueeFade />
<MarqueeContent>
<MarqueeItem>
<Testimonial>
<TestimonialQuote />
<TestimonialAuthor>
<TestimonialAvatar>
<TestimonialAvatarImg />
<TestimonialAvatarRing />
</TestimonialAvatar>
<TestimonialAuthorName>
<TestimonialVerifiedBadge />
</TestimonialAuthorName>
<TestimonialAuthorTagline />
</TestimonialAuthor>
</Testimonial>
</MarqueeItem>
</MarqueeContent>
</Marquee>成分
使用以下组合构建 Testimonials Marquee
Marquee
├── MarqueeFade
└── MarqueeContent
└── MarqueeItem
└── Testimonial
├── TestimonialQuote
└── TestimonialAuthor
├── TestimonialAvatar
│ ├── TestimonialAvatarImg
│ └── TestimonialAvatarRing
├── TestimonialAuthorName
│ └── TestimonialVerifiedBadge
└── TestimonialAuthorTaglineAPI 参考
示例
单行
多行
致谢
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.
Every component here is built and maintained by one person. If you enjoy using them, you can sponsor my work.