PPolaris ComponentsConnect an agent

Nav Card

A whole card turned into a single link, with a leading icon, a summary line and a trailing chevron — for dashboard rows that navigate somewhere else.

Preview

Code

Example.jsx
import { Card, Icon, InlineStack, Text } from '@shopify/polaris';
import { ChevronRightIcon, OrderIcon } from '@shopify/polaris-icons';

export const Example = () => {
  return (
    <a
      href="https://example.com"
      rel="noreferrer"
      target="_blank"
      style={{ textDecoration: 'none', color: 'inherit', display: 'block' }}
    >
      <Card>
        <InlineStack blockAlign="center" align="space-between">
          <InlineStack blockAlign="center" gap="200">
            <Icon source={OrderIcon} tone="base" />
            <Text as="p" variant="headingMd">
              38 orders to fulfill
            </Text>
          </InlineStack>
          <Icon source={ChevronRightIcon} tone="base" />
        </InlineStack>
      </Card>
    </a>
  );
};