Landing Page Product Tour Component
- Updated on
This component displays a list of features and content corresponding to each, creating a product tour. It is useful to showcase many features in a compact way and guide the user through the product.
Landing page in minutes
Get 10x more done with Shadcn UI, React & Next.js, and say goodbye to repetitive tasks. You'll never go back.
Usage
import { LandingProductTourSection, LandingProductTourList, LandingProductTourTrigger, LandingProductTourContent } from '@/components/landing/LandingProductTour';
import { VideoPlayer } from '@/components/shared/ui/VideoPlayer';
<LandingProductTourSection
title='Landing page in minutes'
description="Get 10x more done with Shadcn UI, React & Next.js, and say goodbye to repetitive tasks. You'll never go back."
defaultValue="feature-1"
>
<LandingProductTourList>
<LandingProductTourTrigger value="feature-1">
<p className="text-xl font-bold">
Automatic deployment to Vercel
</p>
<p>
Deploying the generated template to Vercel is as easy as clicking a button.
</p>
</LandingProductTourTrigger>
<LandingProductTourTrigger value="feature-2">
<p className="text-xl font-bold">
MDX blog, no server required
</p>
<p>
Shipixen comes with a fully featured MDX blog.
</p>
</LandingProductTourTrigger>
<LandingProductTourTrigger value="feature-3">
<p className="text-xl font-bold">
Customizable themes
</p>
<p>
Choose from more than 30+ beautifully designed themes or create your own.
</p>
</LandingProductTourTrigger>
</LandingProductTourList>
<LandingProductTourContent value="feature-1">
<VideoPlayer
className={'w-full rounded-md'}
src={'https://cache.shipixen.com/features/20-mobile-optimized.mp4'}
autoPlay={true}
controls={false}
loop={true}
/>
</LandingProductTourContent>
<LandingProductTourContent value="feature-2">
<VideoPlayer
className={'w-full rounded-md'}
src={
'https://cache.shipixen.com/features/11-pricing-page-builder.mp4'
}
autoPlay={true}
controls={false}
loop={true}
/>
</LandingProductTourContent>
<LandingProductTourContent value="feature-3">
<VideoPlayer
className={'w-full rounded-md'}
src={'https://cache.shipixen.com/features/21-run-locally.mp4'}
autoPlay={true}
controls={false}
loop={true}
/>
</LandingProductTourContent>
</LandingProductTourSection>
Examples
With images
Landing page in minutes
Get 10x more done with Shadcn UI, React & Next.js, and say goodbye to repetitive tasks. You'll never go back.
With background
Landing page in minutes
Get 10x more done with Shadcn UI, React & Next.js, and say goodbye to repetitive tasks. You'll never go back.
With background glow
Landing page in minutes
Get 10x more done with Shadcn UI, React & Next.js, and say goodbye to repetitive tasks. You'll never go back.
API Reference
Prop Name | Prop Type | Required | Default |
---|---|---|---|
title | string ǀ React.ReactNode | No | - |
titleComponent | React.ReactNode | No | - |
description | string ǀ React.ReactNode | No | - |
descriptionComponent | React.ReactNode | No | - |
withBackground | boolean | No | false |
withBackgroundGlow | boolean | No | false |
variant | 'primary' ǀ 'secondary' | No | 'primary' |
backgroundGlowVariant | 'primary' ǀ 'secondary' | No | 'primary' |