Featured Quote
One large quote with a star rating and an avatar row of other customers.
Installation
npx shadcn@latest add @venusui/testimonials-03Run this in a project set up with shadcn. If you haven’t set it up yet, run npx shadcn@latest init first.
Files added to your project
Paths use the default shadcn aliases. The CLI follows the aliases in your components.json.
@/components/ui/rating.tsxfrom rating@/components/ui/avatar-stack.tsxfrom avatar-stack@/components/testimonials-03.tsx
Usage
The code behind the preview above.
testimonials-03-demo.tsx
import { Testimonials03 } from "@/components/testimonials-03"
export default function Testimonials03Demo() {
return <Testimonials03 />
}
API reference
No props. Edit the content directly in the file.
Requirements
- VenusUI
ratingandavatar-stack. The CLI installs both.
Customization
- The quote, rating and names are placeholders. Use a real quote with permission, and a real rating.
Accessibility
- A
figurewithblockquoteandfigcaption; the rating is read as “5 out of 5 stars”.
Troubleshooting
- Something looks different from the preview.
- Blocks use your project’s theme and your own shadcn components, so they follow your styles.
Unknown registry "@venusui"- Your shadcn CLI couldn’t find the namespace in the shadcn registry index. Use the latest CLI (
npx shadcn@latest), install by URL, or register it with its address:npx shadcn@latest registry add @venusui=https://venusui.com/r/{name}.json. No components.json found- Run
npx shadcn@latest initin your project first.