> To build a Wix site agentically, or add Wix features like bookings or a store to a site you already have, follow https://www.wix.com/headless/skill.md
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Page.Footer Component

## Article: Page.Footer Component

## Article Link: https://dev.wix.com/docs/wix-design-system/components/layout/page/page-footer-component.md

## Article Content:

# Page.Footer

_Components/Layout/Page_

Interactive docs page: <https://wix-pages.com/design-system-documentation/#/component/page-footer>

## Overview

```jsx
() => (
  <PageFooter divider>
    <PageFooter.End>
      <StorybookComponents.Stack margin="0 12px 0 0">
        <Button size="medium" skin="inverted">
          Cancel
        </Button>
      </StorybookComponents.Stack>
      <Button size="medium">Save</Button>
    </PageFooter.End>
  </PageFooter>
);
```

Page footer is a layout component that allows users to display relevant actions at the bottom of a page.

### Do

- Store components in `<Page.Footer/>` that allow users to navigate between chunks of content or entirely different pages.
- Store components in it that allow users to act on the page, such as submit or cancel actions.
- Use it at the very bottom of the page.

### Don't

- Don't use it to store content at the top or the middle of a page. Use `<Page.Header/>` or `<Page.Content/>` instead.

### Feature examples

#### Structure

Page footer consists of 3 columns:

- `<Page.Footer.Start/>` that aligns its children to the left.
- `<Page.Footer.Center/>` that aligns its children to the center.
- `<Page.Footer.End/>` that aligns its children to the right.

Any component can be added as a child element to each of these areas.

```jsx
<Page.Footer>
  <Page.Footer.Start>
    <StorybookComponents.Placeholder>Start</StorybookComponents.Placeholder>
  </Page.Footer.Start>
  <Page.Footer.Center>
    <StorybookComponents.Placeholder>Center</StorybookComponents.Placeholder>
  </Page.Footer.Center>
  <Page.Footer.End>
    <StorybookComponents.Placeholder>End</StorybookComponents.Placeholder>
  </Page.Footer.End>
</Page.Footer>;
```

#### Divider

Add a full-width divider at the top of the footer with `divider` prop.

Use it in multi-column pages to group content visually.

```jsx
<Page.Footer divider>
  <Page.Footer.End>
    <StorybookComponents.Stack margin="0 12px 0 0">
      <Button size="medium" skin="inverted">
        Cancel
      </Button>
    </StorybookComponents.Stack>
    <Button size="medium">Save</Button>
  </Page.Footer.End>
</Page.Footer>;
```

### Common use case examples

#### Pagination

Use page footer to insert `<Pagination/>` at the bottom center of the page.

```jsx
() => {
  const ITEMS_PER_PAGE = 6;

  const [activeSearch, setActiveSearch] = React.useState('');
  const [selectedPage, setSelectedPage] = React.useState(1);

  const records = [
    {
      name: 'Light grey hoodie',
      sku: 25232564,
      price: '$14.00',
      image: <Image src="ProductExample1.jpg" />,
    },
    {
      name: 'Black watch',
      sku: 35246432,
      price: '$29.00',
      image: <Image src="ProductExample2.jpg" />,
    },
    {
      name: 'Reading glasses',
      sku: 4864310,
      price: '$69.00',
      image: <Image src="ProductExample3.jpg" />,
    },
    {
      name: 'Leather shoes',
      sku: 125156422,
      price: '$7.00',
      image: <Image src="ProductExample4.jpg" />,
    },
    {
      name: 'Light grey hoodie',
      sku: 25232564,
      price: '$14.00',
      image: <Image src="ProductExample1.jpg" />,
    },
    {
      name: 'Black watch',
      sku: 35246432,
      price: '$29.00',
      image: <Image src="ProductExample2.jpg" />,
    },
    {
      name: 'Reading glasses',
      sku: 4864310,
      price: '$69.00',
      image: <Image src="ProductExample3.jpg" />,
    },
    {
      name: 'Leather shoes',
      sku: 125156422,
      price: '$7.00',
      image: <Image src="ProductExample4.jpg" />,
    },
    {
      name: 'Light grey hoodie',
      sku: 25232564,
      price: '$14.00',
      image: <Image src="ProductExample1.jpg" />,
    },
    {
      name: 'Black watch',
      sku: 35246432,
      price: '$29.00',
      image: <Image src="ProductExample2.jpg" />,
    },
    {
      name: 'Reading glasses',
      sku: 4864310,
      price: '$69.00',
      image: <Image src="ProductExample3.jpg" />,
    },
    {
      name: 'Leather shoes',
      sku: 125156422,
      price: '$7.00',
      image: <Image src="ProductExample4.jpg" />,
    },
    {
      name: 'Light grey hoodie',
      sku: 25232564,
      price: '$14.00',
      image: <Image src="ProductExample1.jpg" />,
    },
    {
      name: 'Black watch',
      sku: 35246432,
      price: '$29.00',
      image: <Image src="ProductExample2.jpg" />,
    },
    {
      name: 'Reading glasses',
      sku: 4864310,
      price: '$69.00',
      image: <Image src="ProductExample3.jpg" />,
    },
    {
      name: 'Leather shoes',
      sku: 125156422,
      price: '$7.00',
      image: <Image src="ProductExample4.jpg" />,
    },
  ];

  const secondaryAction = [
    {
      icon: <Icons.DuplicateSmall />,
      text: 'Duplicate',
      onClick: () => {},
    },
    {
      icon: <Icons.DeleteSmall />,
      text: 'Delete',
      onClick: () => {},
    },
  ];

  const columns = [
    {
      title: 'Name',
      render: (row) => row.image,
      width: '60px',
    },
    {
      title: '',
      render: (row) => row.name,
      width: '60%',
    },
    {
      title: 'SKU',
      render: (row) => row.sku,
      width: '20%',
    },
    {
      title: 'Price',
      render: (row) => row.price,
      width: '10%',
    },
    {
      title: '',
      render: (row) => <TableActionCell secondaryActions={secondaryAction} />,
      width: '10%',
    },
  ];

  const getTotalPages = Math.ceil(records.length / ITEMS_PER_PAGE);

  const getPaginationData = (count) => {
    const trimStart = (selectedPage - 1) * ITEMS_PER_PAGE;
    const trimEnd = trimStart + ITEMS_PER_PAGE;

    return records.slice(trimStart, trimEnd);
  };

  const getFilteredData = () => {
    return getPaginationData(2).filter(({ name, sku, price }) => {
      const searchData = [name, sku, price].join(' ').toLowerCase();

      const searchQuery = activeSearch.trim().toLowerCase();

      if (searchQuery && searchData.indexOf(searchQuery) === -1) {
        return false;
      }

      return true;
    });
  };

  const handleChange = ({ page, event }) => {
    event.preventDefault();
    setSelectedPage(page);
  };

  const renderMainToolbar = () => {
    return (
      <TableToolbar>
        <TableToolbar.ItemGroup position="start">
          <TableToolbar.Item>
            <TableToolbar.Label>{records.length}products</TableToolbar.Label>
          </TableToolbar.Item>
        </TableToolbar.ItemGroup>
        <TableToolbar.ItemGroup position="end">
          <TableToolbar.Item>
            <Box width="200">
              <Search
                value={activeSearch}
                onChange={(event) => setActiveSearch(event.target.value)}
              />
            </Box>
          </TableToolbar.Item>
        </TableToolbar.ItemGroup>
      </TableToolbar>
    );
  };

  return (
    <Page height="70vh">
      <Page.Header
        title="Products"
        actionsBar={<Button prefixIcon={<Icons.Add />}>New Product</Button>}
      />
      <Page.Content>
        <Card>
          <Table data={getFilteredData()} columns={columns} showSelection>
            <Table.ToolbarContainer>{renderMainToolbar}</Table.ToolbarContainer>
            <Table.Content />
          </Table>
        </Card>
      </Page.Content>
      <Page.FixedFooter>
        <Page.Footer>
          <Page.Footer.Center>
            <Box paddingTop="SP4">
              <Pagination
                currentPage={selectedPage}
                totalPages={getTotalPages}
                onChange={(e) => setSelectedPage(e.page)}
              />
            </Box>
          </Page.Footer.Center>
        </Page.Footer>
      </Page.FixedFooter>
    </Page>
  );
};
```

#### Form actions

Allow standard form actions ("Cancel" and "Save" buttons) to sit at the bottom end of each page.

Use a `<Box/>` with a 12 px `gap` to separate the buttons in the same container.

```jsx
() => {
  const [formState, setFormState] = React.useState({
    accessoriesCollection: false,
    bestSellersCollection: false,
    showInOnlineStore: true,
  });

  return (
    <Page height="70vh">
      <Page.Header
        actionsBar={
          <Box gap="SP2">
            <Button priority="secondary">Cancel</Button>
            <Button>Save</Button>
          </Box>
        }
        breadcrumbs={
          <Breadcrumbs
            activeId="2"
            items={[
              { id: '1', value: 'Products' },
              { id: '2', value: 'Untitled Product' },
            ]}
            onClick={() => {}}
          />
        }
        title="Untitled Product"
      />
      <Page.Content>
        <Layout>
          <Cell span={8} rows={3}>
            <Card>
              <Card.Header title="Product info" />
              <Card.Divider />
              <Card.Content>
                <Layout>
                  <Cell>
                    <Heading size="tiny">Basic info</Heading>
                  </Cell>
                  <Cell span={6}>
                    <FormField label="Name">
                      <Input />
                    </FormField>
                  </Cell>
                  <Cell span={6}>
                    <FormField label="Ribbon">
                      <Input placeholder="e.g., New Arrival" />
                    </FormField>
                  </Cell>
                  <Cell>
                    <FormField label="Description">
                      <RichTextInputArea minHeight="120px" />
                    </FormField>
                  </Cell>
                </Layout>
              </Card.Content>
              <Card.Divider />
              <Card.Content>
                <Layout>
                  <Cell>
                    <Heading size="tiny">Additional info</Heading>
                  </Cell>
                  <Cell>
                    <Text>
                      Share information like return policy or care instructions
                      with your customers
                    </Text>
                  </Cell>
                  <Cell>
                    <TextButton prefixIcon={<Icons.Add />}>
                      Add Info Section
                    </TextButton>
                  </Cell>
                </Layout>
              </Card.Content>
            </Card>
          </Cell>
          <Cell span={4}>
            <Card>
              <Card.Header title="Collections" />
              <Card.Divider />
              <Card.Content>
                <Box direction="vertical" gap="SP2">
                  <Box direction="vertical" gap="SP1">
                    <Checkbox checked disabled>
                      All products
                    </Checkbox>
                    <Checkbox
                      checked={formState.accessoriesCollection}
                      onChange={() =>
                        setFormState({
                          ...formState,
                          accessoriesCollection:
                            !formState.accessoriesCollection,
                        })
                      }
                    >
                      Accessories
                    </Checkbox>
                    <Checkbox
                      checked={formState.bestSellersCollection}
                      onChange={() =>
                        setFormState({
                          ...formState,
                          bestSellersCollection:
                            !formState.bestSellersCollection,
                        })
                      }
                    >
                      Best sellers
                    </Checkbox>
                  </Box>
                  <TextButton prefixIcon={<Icons.Add />}>
                    Create Collection
                  </TextButton>
                </Box>
              </Card.Content>
            </Card>
          </Cell>
        </Layout>
      </Page.Content>
      <Page.FixedFooter>
        <Page.Footer divider>
          <Page.Footer.End>
            <Box gap="SP2">
              <Button priority="secondary">Cancel</Button>
              <Button>Save</Button>
            </Box>
          </Page.Footer.End>
        </Page.Footer>
      </Page.FixedFooter>
    </Page>
  );
};
```

#### Wizard navigation

Add bottom navigation to wizards, where actions on the left lead to the previous step and actions on the right allow users to progress.

```jsx
() => {
  const [selectedItem, setSelectedItem] = React.useState(1);

  const renderThumbnail = ({ title, imageSrc, index }) => (
    <Thumbnail
      height="300px"
      title={<Text>{title}</Text>}
      image={<Image src={imageSrc} transparent />}
      selected={selectedItem === index}
      onClick={() => setSelectedItem(index)}
    ></Thumbnail>
  );

  return (
    <Page height="70vh">
      <Page.Header
        breadcrumbs={
          <Stepper
            type="text"
            activeStep={0}
            steps={[
              { text: 'Get Started' },
              { text: 'Template' },
              { text: 'Name' },
              { text: 'Pace' },
              { text: 'Duration' },
            ]}
            onClick={() => {}}
          />
        }
        title="What do you want to create?"
      />
      <Page.Content>
        <Layout>
          <Cell span={4}>
            {renderThumbnail({
              title: 'Online course',
              imageSrc: 'onboarding_online_course.svg',
              index: 1,
            })}
          </Cell>
          <Cell span={4}>
            {renderThumbnail({
              title: 'Fitness challenge',
              imageSrc: 'onboarding_fitness_challenge.svg',
              index: 2,
            })}
          </Cell>
          <Cell span={4}>
            {renderThumbnail({
              title: 'Personal coaching',
              imageSrc: 'onboarding_personal_coaching.svg',
              index: 3,
            })}
          </Cell>
          <Cell span={4}>
            {renderThumbnail({
              title: 'Community project',
              imageSrc: 'onboarding_community.svg',
              index: 4,
            })}
          </Cell>
          <Cell span={4}>
            {renderThumbnail({
              title: 'Nutrition plan',
              imageSrc: 'onboarding_nutrition_plan.svg',
              index: 5,
            })}
          </Cell>
          <Cell span={4}>
            {renderThumbnail({
              title: 'Something else',
              imageSrc: 'onboarding_something_else.svg',
              index: 6,
            })}
          </Cell>
        </Layout>
      </Page.Content>
      <Page.FixedFooter>
        <Page.Footer divider>
          <Page.Footer.Start>
            <Button
              priority="secondary"
              skin="inverted"
              onClick={() => setSelectedItem(null)}
            >
              Cancel
            </Button>
          </Page.Footer.Start>
          <Page.Footer.End>
            <Button
              suffixIcon={<Icons.ArrowRight />}
              disabled={selectedItem === null}
            >
              Next
            </Button>
          </Page.Footer.End>
        </Page.Footer>
      </Page.FixedFooter>
    </Page>
  );
};
```

## Code

```jsx
import { PageFooter } from '@wix/design-system';
```

### Props

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `children` | `ReactNode` | — | Accepts following elements as child items: - <Footer.Start /> - <Footer.Center /> - <Footer.End /> - <Page.Footer.Start /> - <Page.Footer.Center /> - <Page.Footer.End /> <br/> Each of these areas accept any component as their child. |
| `dataHook` | `string` | — | Applies a data-hook HTML attribute to be used in the tests. |
| `divider` | `boolean` | — | Specifies whether to display a full-width divider at the top of the footer when `showDivider` isn't set. |
| `showDivider` | `boolean` | — | If true, renders a full-width divider at the top of the footer. |

## Testkit

Import the driver matching your test environment:

```jsx
// UniDriver
import { PageFooterUniDriver } from '@wix/design-system/dist/testkit/unidriver';

// Vanilla
import { PageFooterTestkit } from '@wix/design-system/dist/testkit';

// Puppeteer
import { PageFooterTestkit } from '@wix/design-system/dist/testkit/puppeteer';

// Testing Library
import { PageFooterTestkit } from '@wix/design-system/dist/testkit/testing-library';
```

### Driver methods

| Method | Description |
| --- | --- |
| `exists` | Checks whether the component found with the given data hook. |
| `element` | Gets the component root element. |
| `click` | Clicks on the component root element. |
| `base` | Returns UniDriver for the base element. |

## Changelog

- **1.197.0** (2025-06-06) — feat: deprecate divider prop ([#14950](invalid-url))