🎯

shopify-polaris-icons

🎯Skill

from toilahuongg/shopify-agents-kit

VibeIndex|
What it does

Provides comprehensive guidance and examples for integrating and using Shopify Polaris Icons in commerce applications with accessibility and semantic color tones.

πŸ“¦

Part of

toilahuongg/shopify-agents-kit(35 items)

shopify-polaris-icons

Installation

npm installInstall npm package
npm install @shopify/polaris-icons
πŸ“– Extracted from docs: toilahuongg/shopify-agents-kit
6Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Guide for using Shopify Polaris Icons in Shopify Apps. Covers icon usage patterns, accessibility, tone variants, and common icon categories for commerce applications.

Overview

# Shopify Polaris Icons Skill

Polaris Icons is Shopify's official icon library with 400+ carefully designed icons focused on commerce and entrepreneurship. These icons are designed to work seamlessly with the Polaris Design System.

Installation

```bash

npm install @shopify/polaris-icons

# or

yarn add @shopify/polaris-icons

```

> [!NOTE]

> The @shopify/polaris-icons package is typically installed alongside @shopify/polaris. If you're using Polaris, you likely already have access to these icons.

Basic Usage

With Polaris Icon Component (Recommended)

```jsx

import { Icon } from '@shopify/polaris';

import { PlusCircleIcon } from '@shopify/polaris-icons';

function MyComponent() {

return ;

}

```

With Accessibility Label

When an icon appears without accompanying text, always provide an accessibility label:

```jsx

import { Icon } from '@shopify/polaris';

import { DeleteIcon } from '@shopify/polaris-icons';

function DeleteButton() {

return (

);

}

```

Icon Tones

Use the tone prop to set the icon color semantically:

```jsx

import { Icon } from '@shopify/polaris';

import { AlertCircleIcon, CheckCircleIcon, InfoIcon } from '@shopify/polaris-icons';

// Available tones

// Green - positive actions

// Red - errors, destructive

// Yellow - warnings

// Orange - caution

// Blue - information

// Default text color

// Muted/secondary

// Link/action color

// Inherit from parent

// AI/Magic features

// Emphasized content

// Primary brand color

```

Icon Naming Convention

All icons follow a consistent naming pattern: {Name}Icon

```jsx

// Examples

import {

HomeIcon, // Navigation

ProductIcon, // Commerce

OrderIcon, // Orders

CustomerIcon, // Customers

SettingsIcon, // Settings

PlusIcon, // Actions

EditIcon, // Actions

DeleteIcon, // Actions

SearchIcon, // Search

FilterIcon, // Filtering

} from '@shopify/polaris-icons';

```

Common Icon Categories

Navigation & Layout

```jsx

import {

HomeIcon,

MenuIcon,

ChevronLeftIcon,

ChevronRightIcon,

ChevronUpIcon,

ChevronDownIcon,

ArrowLeftIcon,

ArrowRightIcon,

ExternalIcon,

MaximizeIcon,

MinimizeIcon,

} from '@shopify/polaris-icons';

```

Commerce & Products

```jsx

import {

ProductIcon,

CollectionIcon,

InventoryIcon,

PriceTagIcon, // Renamed from TagIcon

GiftCardIcon,

DiscountIcon,

CartIcon,

CartAbandonedIcon,

StorefrontIcon,

} from '@shopify/polaris-icons';

```

Orders & Fulfillment

```jsx

import {

OrderIcon,

OrderDraftIcon,

OrderFulfilledIcon,

DeliveryIcon,

ShippingLabelIcon,

PackageIcon,

ReturnIcon,

RefundIcon,

} from '@shopify/polaris-icons';

```

Customers & Users

```jsx

import {

CustomerIcon,

CustomerPlusIcon,

PersonIcon,

PersonAddIcon,

TeamIcon,

ProfileIcon,

} from '@shopify/polaris-icons';

```

Actions

```jsx

import {

PlusIcon,

PlusCircleIcon,

MinusIcon,

MinusCircleIcon,

EditIcon,

DeleteIcon,

DuplicateIcon,

ArchiveIcon,

SaveIcon,

UndoIcon,

RedoIcon,

RefreshIcon,

ImportIcon,

ExportIcon,

UploadIcon,

DownloadIcon,

} from '@shopify/polaris-icons';

```

Status & Feedback

```jsx

import {

CheckIcon,

CheckCircleIcon,

XIcon,

XCircleIcon,

AlertCircleIcon,

AlertTriangleIcon,

InfoIcon,

QuestionCircleIcon,

ClockIcon,

CalendarIcon,

} from '@shopify/polaris-icons';

```

Communication

```jsx

import {

EmailIcon,

ChatIcon,

NotificationIcon,

BellIcon,

PhoneIcon,

SendIcon,

NoteIcon,

} from '@shopify/polaris-icons';

```

Settings & Tools

```jsx

import {

SettingsIcon,

ToolsIcon,

KeyIcon,

LockIcon,

UnlockIcon,

EyeIcon,

HideIcon,

FilterIcon,

SortIcon,

SearchIcon,

CodeIcon,

ApiIcon,

} from '@shopify/polaris-icons';

```

Analytics & Reports

```jsx

import {

AnalyticsIcon,

ChartVerticalIcon,

ChartHorizontalIcon,

ReportIcon,

TrendingUpIcon,

TrendingDownIcon,

} from '@shopify/polaris-icons';

```

Media

```jsx

import {

ImageIcon,

ImageAltIcon,

VideoIcon,

FileIcon,

FolderIcon,

AttachmentIcon,

LinkIcon,

} from '@shopify/polaris-icons';

```

AI & Magic (Shopify Magic)

```jsx

import {

MagicIcon,

SparklesIcon, // AI-generated content

WandIcon,

} from '@shopify/polaris-icons';

```

Usage in Polaris Components

Button with Icon

```jsx

import { Button } from '@shopify/polaris';

import { PlusIcon, DeleteIcon } from '@shopify/polaris-icons';

// Icon before text

// Destructive action

// Icon-only button (requires accessibilityLabel)

Accessibility Best Practices

  1. Decorative Icons: When an icon accompanies text that already describes the action, the icon is decorative and doesn't need a label:

```jsx

// No accessibilityLabel needed - "Add product" describes the action

```

  1. Standalone Icons: When an icon appears without text, always provide an accessibilityLabel:

```jsx

Anti-Patterns to Avoid

  • DO NOT use icons without context. Pair with text or provide accessibility labels.
  • DO NOT use non-Polaris icons in a Polaris app. This breaks visual consistency.
  • DO NOT manually set icon colors with CSS. Use the tone prop instead.
  • DO NOT resize icons using CSS. Polaris icons are designed for a 20x20 viewport.
  • DO NOT use icons for decoration only. Each icon should have semantic meaning.

References

  • [Icon Categories](./references/icon-categories.md) - Complete categorized list of all Polaris icons
  • [Migration Guide](./references/migration-guide.md) - Guide for migrating from older icon versions

External Resources

  • [Polaris Icons Browser](https://polaris.shopify.com/icons) - Search and browse all icons
  • [Icon Component Docs](https://polaris.shopify.com/components/images-and-icons/icon) - Official component documentation
  • [NPM Package](https://www.npmjs.com/package/@shopify/polaris-icons) - Package information and changelog

More from this repository10

🎯
shopify-polaris-viz🎯Skill

Generates accessible, Shopify Admin-styled data visualizations using Polaris Viz library for React applications.

🎯
shopify-polaris-design🎯Skill

Generates Shopify Polaris-styled React components and design elements for creating consistent and professional e-commerce interfaces.

🎯
threejs-loaders🎯Skill

Loads and manages 3D assets in Three.js, handling GLTF models, textures, and environments with comprehensive loading progress tracking.

🎯
algorithmic-art🎯Skill

Generates algorithmic art philosophies and p5.js code sketches using computational aesthetics, seeded randomness, and generative design principles.

🎯
shopify-webhooks🎯Skill

Handles Shopify webhook verification, processing, and registration for real-time event synchronization with secure HMAC authentication.

🎯
brainstorm🎯Skill

Guides users through creative brainstorming by applying structured techniques like SCAMPER and Design Thinking to generate innovative solutions.

🎯
shopify-extensions🎯Skill

Guides developers through building and integrating Shopify Extensions across Admin, Checkout, Theme, and Post-purchase interfaces using latest CLI and APIs.

🎯
threejs-animation🎯Skill

Enables precise and flexible object animations in Three.js, supporting keyframe, skeletal, and procedural motion with advanced blending and playback control.

🎯
design🎯Skill

Generates design-related tasks and recommendations for Shopify store aesthetics, layout, and visual branding using AI-powered analysis.

🎯
shopify-pos🎯Skill

Enables developers to create custom UI extensions for Shopify Point of Sale (POS), integrating specialized functionality across various retail interface screens.