# polaris-vue-elements
> Typed Vue 3 wrapper components for Shopify Polaris web components — props, events and v-model generated from the official Custom Elements Manifest.
Every page listed below is a Markdown copy of the HTML page at the same path (`/components/s-button` is also `/components/s-button.md`). [llms-full.txt](https://polaris-vue-elements.dev/llms-full.txt) has all of them in one file.
- Install: `npm install polaris-vue-elements` (Vue `^3.5` is a peer dependency).
- The wrappers are presentational only: the host page loads Shopify's Polaris runtime, ``, and Vue's compiler must treat `s-*` tags as custom elements (`isCustomElement: (tag) => tag.startsWith('s-')`).
- Each wrapper `S` renders the Polaris `` element: `SButton` is ``, `STextField` is ``.
- The npm package ships `AGENTS.md`, a guide for coding agents: `node_modules/polaris-vue-elements/AGENTS.md`.
## Guide
- [Getting started with Shopify Polaris in Vue 3](https://polaris-vue-elements.dev/guide/getting-started.md): Install polaris-vue-elements, load the Shopify Polaris web components runtime, and use typed Vue 3 wrappers like SButton and STextField with v-model in a Vue app or Shopify app.
- [Build a Shopify embedded app with Vue 3](https://polaris-vue-elements.dev/guide/shopify-embedded-app.md): Build a Shopify app with Vue 3 and Vite — load App Bridge and Polaris web components, authenticate fetch calls to your backend, and use typed s-* components in App Home.
- [Shopify Polaris web components in Vue — known quirks](https://polaris-vue-elements.dev/guide/quirks.md): Browser-verified quirks of Shopify Polaris web components when used from Vue 3 — slot requirements, event timing and v-model behaviors that differ from typical Vue component libraries.
- [Shopify Polaris in Vue 3 with Pug templates](https://polaris-vue-elements.dev/guide/pug.md): Write polaris-vue-elements components in Vue single-file components with — props, v-model, events and named slots in Pug, and linting the templates with ESLint.
- [Shopify Polaris in Vue 3 with AI coding agents — llms.txt and AGENTS.md](https://polaris-vue-elements.dev/guide/ai-agents.md): Give AI coding agents the polaris-vue-elements docs as Markdown — llms.txt, llms-full.txt, a .md copy of every page, and the AGENTS.md guide shipped in the npm package.
## Components
- [Shopify Polaris web components for Vue 3](https://polaris-vue-elements.dev/components.md): Browse all 62 typed Vue 3 wrappers for Shopify Polaris web components, grouped by category — actions, forms, layout, feedback, tables and more.
### Actions
- [SButton ``](https://polaris-vue-elements.dev/components/s-button.md): Triggers an action or navigates, with primary, secondary and tertiary variants, icons and a loading state.
- [SButtonGroup ``](https://polaris-vue-elements.dev/components/s-button-group.md): Lays out a set of related buttons together, such as a primary action and its secondary actions.
- [SClickable ``](https://polaris-vue-elements.dev/components/s-clickable.md): Makes any content clickable as a button or link, without imposing button styling.
- [SClickableChip ``](https://polaris-vue-elements.dev/components/s-clickable-chip.md): An interactive chip that can be clicked, followed as a link or removed — useful for filters and applied tags.
- [SLink ``](https://polaris-vue-elements.dev/components/s-link.md): A text link that navigates to another page or URL, or runs a command.
- [SMenu ``](https://polaris-vue-elements.dev/components/s-menu.md): A list of actions shown in an overlay, opened from a button.
- [SPressButton ``](https://polaris-vue-elements.dev/components/s-press-button.md): A toggle button that stays pressed or unpressed, for turning a mode or filter on and off.
### Feedback and status
- [SBadge ``](https://polaris-vue-elements.dev/components/s-badge.md): A small label that shows the status of an object, such as an order, payment or fulfillment.
- [SBanner ``](https://polaris-vue-elements.dev/components/s-banner.md): A prominent message that surfaces important information, warnings or errors at the top of a page or section.
- [SEmptyState ``](https://polaris-vue-elements.dev/components/s-empty-state.md): Explains why a view has no content yet and points merchants to the first action to take.
- [SProgress ``](https://polaris-vue-elements.dev/components/s-progress.md): A progress bar that shows how far a task has advanced toward its maximum value.
- [SSpinner ``](https://polaris-vue-elements.dev/components/s-spinner.md): An animated indicator that content or an action is loading.
### Forms
- [SCheckbox ``](https://polaris-vue-elements.dev/components/s-checkbox.md): A single checkbox for a yes/no choice, bound to its checked state with v-model. Supports `v-model`.
- [SChoice ``](https://polaris-vue-elements.dev/components/s-choice.md): One option inside a choice list.
- [SChoiceList ``](https://polaris-vue-elements.dev/components/s-choice-list.md): A group of radio buttons or checkboxes for picking one or several options. Supports `v-model`.
- [SColorField ``](https://polaris-vue-elements.dev/components/s-color-field.md): A text input for entering a color value, with an optional alpha channel. Supports `v-model`.
- [SColorPicker ``](https://polaris-vue-elements.dev/components/s-color-picker.md): A visual control for picking a color. Supports `v-model`.
- [SDateField ``](https://polaris-vue-elements.dev/components/s-date-field.md): An input for entering a date. Supports `v-model`.
- [SDatePicker ``](https://polaris-vue-elements.dev/components/s-date-picker.md): A calendar for selecting a single date or a date range. Supports `v-model`.
- [SDropZone ``](https://polaris-vue-elements.dev/components/s-drop-zone.md): A file upload area that accepts files by drag and drop or from a file picker. Supports `v-model`.
- [SEmailField ``](https://polaris-vue-elements.dev/components/s-email-field.md): A text input for email addresses. Supports `v-model`.
- [SMoneyField ``](https://polaris-vue-elements.dev/components/s-money-field.md): A numeric input for monetary amounts. Supports `v-model`.
- [SNumberField ``](https://polaris-vue-elements.dev/components/s-number-field.md): A numeric input with optional minimum, maximum and step. Supports `v-model`.
- [SOption ``](https://polaris-vue-elements.dev/components/s-option.md): One option inside a select.
- [SOptionGroup ``](https://polaris-vue-elements.dev/components/s-option-group.md): Groups related options inside a select under a shared label.
- [SPasswordField ``](https://polaris-vue-elements.dev/components/s-password-field.md): A text input for passwords that masks what is typed. Supports `v-model`.
- [SSearchField ``](https://polaris-vue-elements.dev/components/s-search-field.md): A text input for search queries. Supports `v-model`.
- [SSelect ``](https://polaris-vue-elements.dev/components/s-select.md): A dropdown for choosing one option from a list. Supports `v-model`.
- [SSwitch ``](https://polaris-vue-elements.dev/components/s-switch.md): A toggle switch that turns a setting on or off. Supports `v-model`.
- [STextArea ``](https://polaris-vue-elements.dev/components/s-text-area.md): A multi-line text input for longer content such as notes or descriptions. Supports `v-model`.
- [STextField ``](https://polaris-vue-elements.dev/components/s-text-field.md): A single-line text input with label, placeholder, validation error and help text. Supports `v-model`.
- [SUrlField ``](https://polaris-vue-elements.dev/components/s-url-field.md): A text input for web addresses. Supports `v-model`.
### Layout and structure
- [SBox ``](https://polaris-vue-elements.dev/components/s-box.md): A generic container for padding, background, border, radius and sizing.
- [SDivider ``](https://polaris-vue-elements.dev/components/s-divider.md): A horizontal or vertical line that separates content.
- [SGrid ``](https://polaris-vue-elements.dev/components/s-grid.md): A CSS grid container for laying out content in rows and columns.
- [SGridItem ``](https://polaris-vue-elements.dev/components/s-grid-item.md): A child of a grid that can span several columns or rows.
- [SListItem ``](https://polaris-vue-elements.dev/components/s-list-item.md): One item inside an ordered or unordered list.
- [SOrderedList ``](https://polaris-vue-elements.dev/components/s-ordered-list.md): A numbered list.
- [SPage ``](https://polaris-vue-elements.dev/components/s-page.md): The top-level page layout, with a heading, page actions and content areas.
- [SQueryContainer ``](https://polaris-vue-elements.dev/components/s-query-container.md): Turns an element into a size container so its children can adapt to its width with container queries.
- [SScrollBox ``](https://polaris-vue-elements.dev/components/s-scroll-box.md): A container that scrolls its content when it overflows.
- [SSection ``](https://polaris-vue-elements.dev/components/s-section.md): Groups related content, with an optional heading, subheading and actions.
- [SStack ``](https://polaris-vue-elements.dev/components/s-stack.md): Arranges its children in a row or column with consistent spacing and alignment.
- [STable ``](https://polaris-vue-elements.dev/components/s-table.md): A table for structured data, with optional pagination, a loading state and a list layout on small screens.
- [STableBody ``](https://polaris-vue-elements.dev/components/s-table-body.md): The body of a table, holding its data rows.
- [STableCell ``](https://polaris-vue-elements.dev/components/s-table-cell.md): One cell in a table row.
- [STableHeader ``](https://polaris-vue-elements.dev/components/s-table-header.md): One column header in a table.
- [STableHeaderRow ``](https://polaris-vue-elements.dev/components/s-table-header-row.md): The row of column headers at the top of a table.
- [STableRow ``](https://polaris-vue-elements.dev/components/s-table-row.md): One row of data in a table.
- [SUnorderedList ``](https://polaris-vue-elements.dev/components/s-unordered-list.md): A bulleted list.
### Media and visuals
- [SAvatar ``](https://polaris-vue-elements.dev/components/s-avatar.md): Shows a person's or business's image, or their initials when there is no image.
- [SIcon ``](https://polaris-vue-elements.dev/components/s-icon.md): Displays an icon from the Polaris icon set by name.
- [SImage ``](https://polaris-vue-elements.dev/components/s-image.md): Displays an image with control over aspect ratio, fit, borders and lazy loading.
- [SThumbnail ``](https://polaris-vue-elements.dev/components/s-thumbnail.md): A small, fixed-size preview image of a product or file.
### Overlays
- [SModal ``](https://polaris-vue-elements.dev/components/s-modal.md): A dialog overlay for focused tasks and confirmations, opened by a command or a method call.
- [SPopover ``](https://polaris-vue-elements.dev/components/s-popover.md): Floating content anchored to the button that opens it.
### Typography and content
- [SChip ``](https://polaris-vue-elements.dev/components/s-chip.md): A static label for a tag or attribute, optionally removable.
- [SHeading ``](https://polaris-vue-elements.dev/components/s-heading.md): A heading that titles a page section.
- [SNumber ``](https://polaris-vue-elements.dev/components/s-number.md): Displays a number you have already formatted, with typography, tone and color styling.
- [SParagraph ``](https://polaris-vue-elements.dev/components/s-paragraph.md): A block of body text.
- [SText ``](https://polaris-vue-elements.dev/components/s-text.md): Inline text with tone, weight and emphasis styling.
- [STooltip ``](https://polaris-vue-elements.dev/components/s-tooltip.md): A short label that appears when another element is hovered or focused.
## App Bridge (beta)
- [Shopify App Bridge components for Vue 3](https://polaris-vue-elements.dev/app-bridge.md): Typed Vue 3 components for Shopify App Bridge: Modal, SaveBar, AppWindow, TitleBar, NavMenu, useAppBridge(). Mirrors @shopify/app-bridge-react, for embedded apps.
- [useAppBridge() – Shopify App Bridge for Vue 3](https://polaris-vue-elements.dev/app-bridge/use-app-bridge.md): useAppBridge() for Vue 3 returns the Shopify App Bridge shopify global, typed as ShopifyGlobal, as in @shopify/app-bridge-react. For Shopify embedded apps.
- [Modal (ui-modal) – App Bridge modal for Vue 3](https://polaris-vue-elements.dev/app-bridge/modal.md): Modal renders the Shopify App Bridge ui-modal in Vue 3: bind v-model:open, get show and hide events, add a TitleBar. From polaris-vue-elements/app-bridge.
- [TitleBar (ui-title-bar) – App Bridge for Vue 3](https://polaris-vue-elements.dev/app-bridge/title-bar.md): TitleBar renders the Shopify App Bridge ui-title-bar in Vue 3: a title and buttons, and in a Modal its header and footer. For Shopify embedded apps.
- [SaveBar (ui-save-bar) – App Bridge for Vue 3](https://polaris-vue-elements.dev/app-bridge/save-bar.md): SaveBar renders the Shopify App Bridge ui-save-bar in Vue 3, with v-model:open, show and hide events and discardConfirmation. For Shopify embedded apps.
- [AppWindow (s-app-window) – App Bridge for Vue 3](https://polaris-vue-elements.dev/app-bridge/app-window.md): AppWindow renders the Shopify App Bridge s-app-window, a fullscreen modal window in the Shopify admin, in Vue 3: src is required, open it with v-model:open.
- [NavMenu (ui-nav-menu) – App Bridge for Vue 3](https://polaris-vue-elements.dev/app-bridge/nav-menu.md): App navigation for a Shopify embedded app in Vue 3: Shopify documents s-app-nav, which works as a raw tag, and NavMenu renders the older App Bridge ui-nav-menu.
### App Bridge types
- [App Bridge types for Vue 3 – ShopifyGlobal](https://polaris-vue-elements.dev/app-bridge/types.md): Reference for the @shopify/app-bridge-types types used by the App Bridge components for Vue 3: ShopifyGlobal, its APIs by category, element attributes and an A–Z index.
- [App Bridge types: authentication and data](https://polaris-vue-elements.dev/app-bridge/types/authentication-and-data.md): Types of the App Bridge authentication and data APIs in @shopify/app-bridge-types, for Vue 3: their members and the types only they use.
- [App Bridge types: user interface APIs](https://polaris-vue-elements.dev/app-bridge/types/user-interface-and-interactions.md): Types of the App Bridge user interface and interactions APIs in @shopify/app-bridge-types, for Vue 3: their members and the types only they use.
- [App Bridge types: device and platform APIs](https://polaris-vue-elements.dev/app-bridge/types/device-and-platform-integration.md): Types of the App Bridge device and platform integration APIs in @shopify/app-bridge-types, for Vue 3: their members and the types only they use.
- [App Bridge types: elements and attributes](https://polaris-vue-elements.dev/app-bridge/types/elements.md): Types of the App Bridge element interfaces and attributes in @shopify/app-bridge-types, for Vue 3: their members and the types only they use.
- [App Bridge types: other APIs and types](https://polaris-vue-elements.dev/app-bridge/types/other.md): App Bridge APIs that shopify.dev lists under no category, and types used across categories, from @shopify/app-bridge-types for Vue 3.
## CSS variables
- [Shopify Polaris CSS variables & design tokens (web components)](https://polaris-vue-elements.dev/css-variables.md): Every Polaris design token the Shopify web components runtime defines, with live previews, search and copy. Import them as tokens.css for your own app CSS.
- [All variables: Polaris CSS variables (design tokens)](https://polaris-vue-elements.dev/css-variables/reference.md): Every Polaris design token the Shopify web components runtime defines, with live previews, search and copy.
- [Migrating from @shopify/polaris-tokens](https://polaris-vue-elements.dev/css-variables/migration.md): @shopify/polaris-tokens is the token package of Polaris React. Polaris web components don't use it: the runtime defines its own variables, and most names carry over.