--- title: Index description: >- The index layout lets merchants view and manage all their objects at once in a table format. They can filter, sort and do quick actions on their objects. To prevent tables from becoming visually cluttered, reveal actions only when the row is hovered over or selected | Used to | Examples | | --- | --- | | View all objects at once | Products, orders, customers, discounts | | Perform bulk actions | Delete products, pause/activate campaigns | ![Preview of the index pattern](/images/templated-apis-screenshots/admin/patterns/index-example.png) This pattern uses `Badge`, `Box`, `Button`, `Clickable`, `Grid`, `Heading`, `Image`, `Link`, `Paragraph`, `Section`, `Stack`, and `Table` components. --- ## Design guidelines Design your index page so users can organize and take action on resource objects. ### Navigation * Users must be able to return to the previous page without using the browser button. To achieve this, your app can provide breadcrumbs or a Back button on the page. * Offer users clear and predictable action labels. --- ### Layout * Design your app to be responsive and adapt to different screen sizes and devices. This ensures a seamless user experience across various platforms. * For resource index pages, use a full-width page. This is helpful when users are dealing with lists of data that have many columns. --- api_name: app-home source_url: html: 'https://shopify.dev/docs/api/app-home/patterns/templates/index' md: 'https://shopify.dev/docs/api/app-home/patterns/templates/index.md' --- # Index The index layout lets merchants view and manage all their objects at once in a table format. They can filter, sort and do quick actions on their objects. To prevent tables from becoming visually cluttered, reveal actions only when the row is hovered over or selected | Used to | Examples | | - | - | | View all objects at once | Products, orders, customers, discounts | | Perform bulk actions | Delete products, pause/activate campaigns | ![Preview of the index pattern](https://shopify.dev/images/templated-apis-screenshots/admin/patterns/index-example.png) This pattern uses `Badge`, `Box`, `Button`, `Clickable`, `Grid`, `Heading`, `Image`, `Link`, `Paragraph`, `Section`, `Stack`, and `Table` components. *** ## Design guidelines Design your index page so users can organize and take action on resource objects. ### Navigation * Users must be able to return to the previous page without using the browser button. To achieve this, your app can provide breadcrumbs or a Back button on the page. * Offer users clear and predictable action labels. *** ### Layout * Design your app to be responsive and adapt to different screen sizes and devices. This ensures a seamless user experience across various platforms. * For resource index pages, use a full-width page. This is helpful when users are dealing with lists of data that have many columns. *** ### Examples * #### Index ##### jsx ```jsx Create puzzle Export puzzles Import puzzles {/* === */} {/* Empty state */} {/* This should only be visible if the merchant has not created any puzzles yet. */} {/* === */} Start creating puzzles Create and manage your collection of puzzles for players to enjoy. {" "} Learn more{" "} {" "} Create puzzle{" "} {/* === */} {/* Table */} {/* This should only be visible if the merchant has created one or more puzzles. */} {/* === */} Puzzle Pieces Created Status Mountain View 16 Today Active Ocean Sunset 9 Yesterday Active Forest Animals 25 Last week Draft {/* Add more rows as needed here */} {/* If more than 100 rows are needed, index page tables should use the paginate, hasPreviousPage, hasNextPage, onPreviousPage, and onNextPage attributes to display and handle pagination) */} ``` ##### html ```html Pattern Create puzzle Export puzzles Import puzzles Start creating puzzles Create and manage your collection of puzzles for players to enjoy. Learn more Create puzzle Puzzle Pieces Created Status Mountain View 16 Today Active Ocean Sunset 9 Yesterday Active Forest Animals 25 Last week Draft ``` ## Related [Requirements - Built for Shopify](https://shopify.dev/docs/apps/launch/built-for-shopify/requirements)