Shipixen Logo

Landing Page App Store Button

Updated on

This component displays app store download buttons with proper branding. It supports multiple app stores and black/white variants.

Usage

import { LandingAppStoreButton } from '@/components/landing/app-store-button/LandingAppStoreButton';
<LandingAppStoreButton appStore="ios-appstore" />

Examples

Use with onClick Event

You can also use the onClick event handler for custom interactions.

Explicit Theme Variant

You can explicitly set the button variant to white or black, overriding the default theme.

Different Sizes

The button supports different sizes, corresponding to regular <Button> component sizes.

Custom Styling

You can add custom styling using the className prop.

API Reference

Prop NameProp TypeRequiredDefault
appStore 'ios-appstore' ǀ 'mac-appstore' ǀ 'microsoft-store' ǀ 'google-playstore'Yes-
variant 'white' ǀ 'black'No'black'
size 'default' ǀ 'sm' ǀ 'lg' ǀ 'xl'No'default'
onClick (event: React.MouseEvent<HTMLButtonElement>) => voidNo-
asChild booleanNofalse
className stringNo''

More Examples

For more even more examples, see our Landing Page Component Examples page or see complete landing page examples by Exploring Our Landing Page Templates.