PPolaris ComponentsConnect an agent

FooterHelp

A centered block at the bottom of a page that points merchants to the documentation for whatever they were just doing.

Preview

Code

Example.jsx
import { Card, BlockStack, Text, Link, FooterHelp } from '@shopify/polaris';

const SHIPPING_DOCS_URL = 'https://help.shopify.com/manual/shipping';

export const Example = () => (
  <BlockStack gap="500">
    <Card>
      <BlockStack gap="200">
        <Text as="h2" variant="headingMd">
          Shipping rates
        </Text>
        <Text as="p" tone="subdued">
          Rates are shown to customers at checkout based on the zone their address falls into.
        </Text>
      </BlockStack>
    </Card>

    <FooterHelp>
      Learn more about{' '}
      <Link url={SHIPPING_DOCS_URL} target="_blank">
        shipping rates
      </Link>
      .
    </FooterHelp>
  </BlockStack>
);