4
Sponsor

App Store Buttons Footer

app-store footer with centered, two-column, and title variants

import { FooterWithAppStoreButtons } from "@/components/email/footer-with-app-store-buttons";
import type { FooterWithAppStoreButtonsVariant } from "@/components/email/footer-with-app-store-buttons";

export function FooterWithAppStoreButtonsDemo({
  variant = "centered",
}: {
  variant?: FooterWithAppStoreButtonsVariant;
}) {
  return (
    <FooterWithAppStoreButtons
      {...FooterWithAppStoreButtons.PreviewProps}
      variant={variant}
    />
  );
}

Installation

$ pnpm dlx shadcn@latest add @emailcn/footer-with-app-store-buttons

Usage

import { FooterWithAppStoreButtons } from "@/components/email/footer-with-app-store-buttons";
<FooterWithAppStoreButtons
  {...FooterWithAppStoreButtons.PreviewProps}
  variant="centered"
/>

Examples

Two Columns

import { FooterWithAppStoreButtons } from "@/components/email/footer-with-app-store-buttons";
import type { FooterWithAppStoreButtonsVariant } from "@/components/email/footer-with-app-store-buttons";

export function FooterWithAppStoreButtonsDemo({
  variant = "centered",
}: {
  variant?: FooterWithAppStoreButtonsVariant;
}) {
  return (
    <FooterWithAppStoreButtons
      {...FooterWithAppStoreButtons.PreviewProps}
      variant={variant}
    />
  );
}
import { FooterWithAppStoreButtons } from "@/components/email/footer-with-app-store-buttons";
import type { FooterWithAppStoreButtonsVariant } from "@/components/email/footer-with-app-store-buttons";

export function FooterWithAppStoreButtonsDemo({
  variant = "centered",
}: {
  variant?: FooterWithAppStoreButtonsVariant;
}) {
  return (
    <FooterWithAppStoreButtons
      {...FooterWithAppStoreButtons.PreviewProps}
      variant={variant}
    />
  );
}

API Reference

PropTypeDefaultDescription
variant"centered" | "two-columns" | "with-title""centered"Selects the layout
themeEmailThemedefault themeEmail theme styling