About
Responsive restaurant hero section with synced dish carousels and customer comments by Shadcn Studio.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Hero Section 41 to your project and fits it to your theme.
Code
How Hero Section 41 is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import HeroSection41 from "@/components/ui/shadcn-studio-hero-section-41"
import type {
MenuData,
NavigationSection,
} from "@/components/ui/shadcn-studio-hero-section-41"
const navigationData: NavigationSection[] = [
{
title: "About Us",
href: "#",
},
{
title: "Testimonials",
href: "#",
},
{
title: "Contact us",
href: "#",
},
{
title: "Offers",
href: "#",
},
]
const menudata: MenuData[] = [
{
id: 1,
img: "https://cdn.21st.dev/assets/mirror/87/87f3508fd9ddd1feec9e242a33cebd948fa846554482db5c230c8e01412815d1.png",
imgAlt: "plate-1",
userComment:
"The ambiance is perfect and the food is absolutely delicious. Highly recommended!",
userAvatar: "https://cdn.21st.dev/assets/mirror/70/7085c77a7a6d158a70c96de353e7ff0f4965826fda66a1a15bfb117adbab23a5.png",
},
{
id: 2,
img: "https://cdn.21st.dev/assets/mirror/1a/1a7fd7d61f2ff0fef5d573855fefc5909e9ebe6b573dbccc801facec0ef49377.png",
imgAlt: "plate-2",
userComment:
"Best dining experience in town. The staff is friendly and the menu is exceptional.",
userAvatar: "https://cdn.21st.dev/assets/mirror/52/52a6fca15c519f45a65d5b547ce8104ffa0bc6149b496a6829da78e9a514e5ab.png",
},
{
id: 3,
img: "https://cdn.21st.dev/assets/mirror/4b/4b782394554d00d1d840fa90b2d2a37fbfee34c07800652a5ac718dc32205bc3.png",
imgAlt: "plate-3",
userComment:
"Every dish is crafted with care. This place never disappoints!",
userAvatar: "https://cdn.21st.dev/assets/mirror/49/4973a15208f8b3280f0dac82f61e010823b3ccd54e729b5370ca97422ceb083c.png",
},
{
id: 4,
img: "https://cdn.21st.dev/assets/mirror/06/0649f8730b8b1afaa6854343ac026050ddd78538b612569d44151c0f804df506.png",
imgAlt: "plate-4",
userComment:
"Great atmosphere and incredible flavors. A must-visit restaurant!",
userAvatar: "https://cdn.21st.dev/assets/mirror/94/9451db1a91eab519563106259e9ec936bb7169c24f38485461894f6be2ef1368.png",
},
{
id: 5,
img: "https://cdn.21st.dev/assets/mirror/4b/4b782394554d00d1d840fa90b2d2a37fbfee34c07800652a5ac718dc32205bc3.png",
imgAlt: "plate-3",
userComment:
"Every dish is crafted with care. This place never disappoints!",
userAvatar: "https://cdn.21st.dev/assets/mirror/49/4973a15208f8b3280f0dac82f61e010823b3ccd54e729b5370ca97422ceb083c.png",
},
]
const HeroSection41Page = () => {
return <HeroSection41 navigationData={navigationData} menudata={menudata} />
}
export default HeroSection41Page
















