shadcn.io is an independent project built on shadcn/ui
The bar shows Success Stories. The panel is headed CUSTOMER STORIES and shows four cards: Vercel, Stripe, Airbnb, and Shopify. Each has an avatar, five stars, a quote, and Read case study.
Put proof in the header when the quote should be seen before the customers page. A Card on that page can carry the full story. In Solid, Ark UI closes the open panel when you press Escape.
Installation
Anatomy

Usage
<div class="w-full max-w-md rounded-md border bg-background p-px">
<NavigationMenu>
<NavigationMenuList>
<NavigationMenuItem>
<NavigationMenuTrigger>Success Stories</NavigationMenuTrigger>
<NavigationMenuContent>
<div class="flex w-[700px] max-w-full flex-col gap-4 p-2">
<h3 class="px-2 font-semibold text-muted-foreground text-sm">
CUSTOMER STORIES
</h3>
<div class="grid grid-cols-2 gap-4">
{testimonials.map(testimonial => <NavigationMenuLink asChild={props => <a {...props()} href={testimonial.href}>
<div class="flex items-center gap-2">
<Avatar size="sm">
<AvatarImage alt={testimonial.company} height={24} src={testimonial.avatarSrc} width={24} />
<AvatarFallback>
{testimonial.avatarFallback}
</AvatarFallback>
</Avatar>
<span class="font-medium">
{testimonial.company}
</span>
<span class="flex gap-0.5">
{stars.map(() => <StarIcon aria-hidden="true" class="size-3 fill-warning text-warning" />)}
<span class="sr-only">Rated 5 out of 5</span>
</span>
</div>
<p class="text-muted-foreground text-sm">
“{testimonial.quote}”
</p>
<span class="flex items-center gap-1 font-medium text-sm">
{/* The rest of the file is under Installation. */}FAQ
What is each card?
A whole NavigationMenuLink: an Avatar with the company's logo and initials as fallback, the name, five stars, the quote and Read case study with an arrow.
How is the rating announced?
The stars are hidden from assistive tech and a visually hidden Rated 5 out of 5 follows them. They are filled with the warning token so they follow the theme.
How do the links use my router?
Each link is your router's link rendered through NavigationMenuLink, so it keeps the menu's styles and focus handling.
NavigationMenuLink takes asChild, a function that renders your router's A with the props it gets.
API Reference
Navigation Menu
Sets asChild and props. The rest is on the Navigation Menu page.
Avatar
Sets size="sm", alt={testimonial.company}, height={24}, src={testimonial.avatarSrc} and width={24}. The rest is on the Avatar page.





