Shopify Polaris

by Shopify

#Foundations

The docs are written one section at a time, from what the capture read and a review of full-page shots. A draft has captured data to write from; a missing section needs another capture pass.

5 of 6 with captured data · 5 written

Color

Reviewed

Neutral greys with no tint: a #f1f1f1 page, white cards, menus and modals, #303030 ink and #616161 for secondary text, #e3e3e3 for borders and tracks. The primary button is near-black (#303030), not a brand color; blue (#005bd3) is kept for links and focus. Status colors come as pale fills with dark ink (critical #fed1d7 on #8e0b21) and solid banner headers (warning #ffb800, info #91d0ff). Dark is Polaris's dark-experimental theme: a #1a1a1a page, #303030 surfaces and #e3e3e3 ink, with the primary button flipped to white.

Still missing

  • dark-experimental leaves navigation, fields, badges and banners on their light values, so some dark copies read light-on-light.

Type

Reviewed

Inter throughout at 13px on a 20px line, weight 450 for body, buttons and fields; 12px on a 16px line for small text. Emphasis uses 550 and 650 rather than 500 and 600. Headings are tight and bold: 20px/24 at 700 with -0.2px tracking, up to 36px/48 at 700 for display.

Shape

Reviewed

8px corners on buttons, nav rows, tabs and menu rows; 12px on cards, banners, popovers and tooltips' surfaces; 16px on the modal; 4px on keyboard keys. Switches are full pills.

Spacing

Reviewed

Compact, on a 2px grid: 8px is by far the most common gap, then 12px, 6px and 4px. Controls are 28px (buttons, tabs, nav rows) and 32px (fields, menu rows).

Elevation

Reviewed

Polaris bevels instead of shadowing: buttons carry an inset bottom shade, a 1px inner ring and a 0.5px top highlight, and pressing swaps it for an inset shade along the top. Cards and banners sit on a single 1px drop (#1a1a1a at 7%); popovers and the modal float on soft drops up to 20px.

#Components

One section per component: its variants and sizes by name, its states, and how the product uses it.

26 of 32 with captured data · 15 written

button

Reviewed

Polaris's Button: 28px, 12px padding, 13px at 450, 8px corners and the bevel. Variants are primary (near-black with a gradient and dark bevel), secondary (white with a grey bevel, the default), tertiary (no frame until hover), plain (blue text) and a critical tone (red #c70a24 with a red bevel). Icon-only buttons are 28px squares.

Variants25 found, 6 named by the product · 9 shown, named first

Loading…

pressableclass×154A class every Polaris button carries, not a variant: the capture grouped primary, secondary, tertiary, plain and critical under it. The tile is secondary, on the dark sheet.

Loading…

autoclass×149

Loading…

adminNextclass×5

Loading…

clickableclass×5

Loading…

inheritclass×2

Loading…

criticalclass×1

Loading…

on toastnamed by AI×1The dismiss × on the dark #1a1a1a toast.

Loading…

unnamedv-cydhlx×73

Loading…

unnamedv-ni4d85×57

Sizes17 found, 3 named by the product · 6 shown, named first

SizeHeightPaddingTextIconSeen
iconnamed by AIA bare 20px icon: the toast's ×.20px0px12px20x20×5
Microclass24px8px13px—×23
unnameds-rwgwgm24px0px13px—×99
Slimclass28px4px13px—×116
Mediumclass28px, 12px padding: Polaris's default size.28px12px13px—×32
unnameds-rl0tb330px0px13px16x16×133

StatesOf its first variant, pressable.

Loading…

rest

Loading…

hover

Loading…

pressed

Loading…

focus

Usage

  • Pressed buttons swap the bevel for an inset shade and darken; focus adds a 2px #005bd3 ring 1px outside.

Still missing

  • The variants aren't split: the shared class pressable names them all, so primary, tertiary, plain and critical have no tiles of their own yet.
  • The live Shopify Admin (signed in) awaits the local capture; these are Polaris React 13.9.5 in a harness.

toggle-button

Reviewed

Variants5 found, 1 named by the product

Loading…

neutralclass×3

Loading…

unnamedv-yqan7d×15

Loading…

unnamedv-iizq23×6

Loading…

unnamedv-42hmgp×2

Loading…

unnamedv-7jwxtb×1

Sizes10 found, 0 named by the product · 6 shown, named first

SizeHeightPaddingTextIconSeen
unnameds-mq2jzj24px2px12px—×15
unnameds-g0vpus28px6px12px—×3
unnameds-d07ce848px32px14px—×2
unnameds-189r1048px32px10px—×1
unnameds-3s0qxb48px32px13px—×1
unnameds-48miwt48px32px15px—×1

StatesOf its first variant, neutral.

Loading…

rest

Loading…

hover

Loading…

pressed

Loading…

focus

Loading…

selected · set by the capture

Loading…

disabled · set by the capture

Left outLooks the capture put here that are not this component.

  • pressablethe modal's close ×: an icon button, see button
  • v-bw4xfythe date picker's day cells

Still missing

  • Polaris React has no toggle button; nothing else read here.

badge

Draft

Variants3 found, 0 named by the product

Loading…

unnamedv-5v7j78×27

Loading…

unnamedv-atbyvj×11

Loading…

unnamedv-6a73ns×2

Sizes4 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-6j8ede12px3px8px—×11
unnameds-vki7f816px4px10px—×16
unnameds-dhbv4q28px0px13px—×2
unnameds-8oqenb30px10px12px—×11

StatesOf its first variant.

Loading…

rest

tabs

Reviewed

Tabs are pill buttons at button size: 28px, 12px padding, #4a4a4a at rest; the selected one gets an 8% black fill.

Variants2 found, 0 named by the product

Loading…

defaultnamed by AI×7Unfulfilled, unselected.

Loading…

default, darknamed by AI×2The same tab on the dark sheet, still #4a4a4a ink.

Sizes2 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-61tdr928px, 12px padding.28px12px13.3333px—×7
unnameds-5zfby3The dark sheet's tab, same size.28px12px13.3333px—×2

StatesOf its first variant, default.

Loading…

rest

Loading…

hover

Loading…

pressed

Loading…

disabled

Still missing

  • The selected tab wasn't read on its own.

segmented-control

Reviewed

Polaris has no segmented control: a segmented ButtonGroup stands in. Its buttons are secondary buttons joined edge to edge; the chosen one is pressed into a grey (#cccccc) fill with an inset shade.

Variants1 found, 1 named by the product

Loading…

pressableclass×4Day, Week, Month: white with the grey bevel.

Sizes1 found, 1 named by the product

SizeHeightPaddingTextIconSeen
Mediumclass28px, 12px padding.28px12px13px—×4

StatesOf its first variant, pressable · Medium.

Loading…

rest

Loading…

hover

Loading…

pressed

Loading…

focus

Loading…

disabled · set by the capture

Still missing

  • The chosen segment reads only as selected, so it isn't in the grid.

text-field

Draft

Variants3 found, 1 named by the product

Loading…

suffixedclass×40

Loading…

unnamedv-gqfsiv×7

Loading…

unnamedv-4ca94c×1

Sizes7 found, 0 named by the product · 6 shown, named first

SizeHeightPaddingTextIconSeen
unnameds-y085lk26.2px0px13px—×1
unnameds-1w3i7q28px4px13px—×2
unnameds-1a23br30px0px13px—×8
unnameds-4n9nrk30px12px13px—×8
unnameds-2pwudg40px2px13px—×27
unnameds-ggge4y60px2px13px—×1

StatesOf its first variant, suffixed.

Loading…

rest

Loading…

focus

Loading…

disabled · set by the capture

combobox

Draft

Variants2 found, 0 named by the product

Loading…

unnamedv-yauozy×16

Loading…

unnamedv-7wu3y9×1

Sizes2 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-dtji2a26px0px13px—×16
unnameds-07md1a32px11.5px13px—×1

StatesOf its first variant.

Loading…

rest

Loading…

focus

Loading…

disabled · set by the capture

checkbox

Reviewed

Variants2 found, 0 named by the product

Loading…

switchtheir docs×1Polaris web components' switch, drawn on a checkbox input: a 32×16 pill, #fdfdfd with a 1px #8a8a8a edge when off.

Loading…

unnamedv-lqnc8o×4

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-vcwmu716px tall, 32px wide.16px2px13.3333px—×5

StatesOf its first variant, switch.

Loading…

rest

Loading…

hover

Loading…

pressed

Loading…

focus

Loading…

selected · set by the capture

Loading…

disabled · set by the capture

Loading…

invalid · set by the capture

Still missing

  • Polaris React's 16px checkbox and radio weren't read; the Admin's (signed in) await the local capture.

radio-group

Draft

Variants1 found, 0 named by the product

Loading…

unnamedv-yp2iql×7

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-kpmedz14px0px13.3333px—×7

StatesOf its first variant.

Loading…

rest

Loading…

hover

Loading…

focus

Loading…

selected

Loading…

disabled · set by the capture

slider

Reviewed

RangeSlider: a thin track with a blue (#005bd3) round thumb.

Variants2 found, 0 named by the product

Loading…

default, darknamed by AI×1On the dark sheet the thumb turns light blue.

Loading…

defaultnamed by AI×1The thumb at 40.

Sizes2 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-eigjn428px tall with its track.28px———×1
unnameds-eqazmuThe dark sheet's slider.28px———×1

StatesOf its first variant, default, dark.

Loading…

rest

Loading…

focus

Loading…

disabled · set by the capture

menu

Reviewed

Menus are ActionLists in a popover: 32px rows with 6px padding and 8px row corners, a grey highlight on hover, destructive rows in red (#8e0b21).

menu

Variants1 found, 1 named by the product

Loading…

listResetclass×17The list itself (Profile, Billing, Settings, Delete): a Polaris reset class.

Sizes2 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-15zhf5————×16
unnameds-go0wsn————×1

StatesOf its first variant, listReset.

Loading…

rest

menuitem

Variants3 found, 3 named by the product

Loading…

adminNextclass×45

Loading…

defaultclass×3Profile, Settings: 13px rows.

Loading…

destructiveclass×1Delete: red ink.

Sizes2 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-j7unmz32px6px13px—×45
unnameds-paufct32px rows, 6px padding.32px6px13px—×4

StatesOf its first variant, adminNext.

Loading…

rest

Loading…

hover

Loading…

pressed

Loading…

focus

menuitemradio

Variants1 found, 0 named by the product

Loading…

unnamedv-42hmgp×3

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-1w3i7q28px4px13px—×3

StatesOf its first variant.

Loading…

rest

Loading…

hover

Loading…

pressed

Loading…

focus

Loading…

disabled · set by the capture

dialog

Reviewed

Modal: a 16px-cornered panel on a 50% black backdrop, a header band split by a hairline, a 14px/650 title and the actions in a footer.

Variants1 found, 0 named by the product

Loading…

modaltheir docs×1Delete product?: the capture read the full-width layer around the panel.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-go0wsn————×1

StatesOf its first variant, modal.

Loading…

rest

popover

Reviewed

Variants8 found, 1 named by the product

Loading…

measuredclass×2A Popover's open state class: #303030 on the dark sheet, 12px corners, a soft drop.

Loading…

unnamedv-1rg48z×26

Loading…

unnamedv-vt4mxm×15

Loading…

unnamedv-xtxoc3×15

Loading…

unnamedv-a8wel5×13

Loading…

unnamedv-rl356e×1

Loading…

unnamedv-s2slax×1

Loading…

unnamedv-yy6glm×1

Sizes2 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-15zhf5————×72
unnameds-go0wsn————×2

StatesOf its first variant, measured.

Loading…

rest

tooltip

Reviewed

A small surface tooltip: 28px, 8px padding, 13px at 450, 8px corners and a tail. It takes the surface color, white in light and #303030 in dark, rather than an inverted one.

Variants3 found, 1 named by the product

Loading…

defaultclass×1Save changes, on the dark sheet.

Loading…

unnamedv-k71bx3×1

Loading…

unnamedv-ozzw0t×1

Sizes3 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-5ij1mr26px—12px—×1
unnameds-j47wc828px.28px—13px—×1
unnameds-xgp0sm28px—13px—×1

StatesOf its first variant, default.

Loading…

rest

table

Draft

Variants2 found, 2 named by the product

Loading…

unclickableclass×7

Loading…

hoveredclass×1

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-15zhf5————×8

StatesOf its first variant, unclickable.

Loading…

rest

Loading…

hover

card

Reviewed

Card: white on the #f1f1f1 page with a 1px drop shadow at the bottom; in dark, #303030 on #1a1a1a.

Variants20 found, 1 named by the product · 9 shown, named first

Loading…

autoclass×19

Loading…

defaulttheir docs×19The harness's cards, each holding a row of specimens.

Loading…

default, darknamed by AI×6#303030 on the dark page.

Loading…

unnamedv-ps1m3q×109

Loading…

unnamedv-a8wel5×29

Loading…

unnamedv-gqamol×28

Loading…

unnamedv-0oq0bb×15

Loading…

unnamedv-50w05q×12

Loading…

unnamedv-38384n×8

Sizes2 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-15zhf5————×265
unnameds-go0wsn————×7

StatesOf its first variant, auto.

Loading…

rest

Left outLooks the capture put here that are not this component.

  • v-m29wyothe modal's panel: see dialog

Still missing

  • The Admin's cards (12px corners, a 1px ring under soft drops) are signed in only.

avatar

Draft

Variants1 found, 0 named by the product

Loading…

unnamedv-2olalp×3

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-lq5njs20px———×3

StatesOf its first variant.

Loading…

rest

separator

Draft

Variants3 found, 0 named by the product

Loading…

unnamedv-wyrc0k×47

Loading…

unnamedv-p1otp9×32

Loading…

unnamedv-muc8l9×1

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-15zhf5————×80

StatesOf its first variant.

Loading…

rest

kbd

Reviewed

KeyboardKey: #f3f3f3 with #616161 text at 550, 4px corners, no border; in dark, an 8% white fill.

Variants2 found, 0 named by the product

Loading…

defaulttheir docs×3⌘ and K.

Loading…

default, darknamed by AI×3

Sizes3 found, 1 named by the product

SizeHeightPaddingTextIconSeen
smallclass20px, 4px padding, 12px.20px4px12px—×2
default, darknamed by AI28px8px14px—×2
defaultnamed by AI28px, 8px padding, 14px.28px8px14px—×2

StatesOf its first variant, default · default.

Loading…

rest

breadcrumbs

Draft

Variants1 found, 1 named by the product

Loading…

autoclass×2

Sizes2 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-1w3i7q28px4px13px—×1
unnameds-vdj80628px4px12px—×1

StatesOf its first variant, auto.

Loading…

rest

Loading…

hover

Loading…

pressed

Loading…

focus

Loading…

selected · set by the capture

Loading…

disabled · set by the capture

alert

Reviewed

Banner: on the page, a white body under a solid status header strip (warning #ffb800, info #91d0ff) with a 1px drop; inside a card, a compact tinted row with an icon. The class names say where it sits.

alert

Variants2 found, 2 named by the product

Loading…

withinContentContainerclass×1Payment failed.: a pale red row with a red icon, inside a card.

Loading…

withinPageclass×1Shipping rates changed: a yellow warning header over a white body.

Sizes2 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-sqrv7vOne line with a 20px icon.36px0px13px20x20×1
unnameds-5sp6fzA title and a line of text.92px0px13px—×1

StatesOf its first variant, withinContentContainer.

Loading…

rest

status

Variants3 found, 2 named by the product

Loading…

infoclass×3

Loading…

withinPageclass×1Store is in test mode: the info banner, a blue header.

Loading…

unnamedv-ghsqkw×1

Sizes3 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-225p6728px6px13px16x16×1
unnameds-xjxa5r52px0px13px—×3
unnameds-5sp6fz92px0px13px—×1

StatesOf its first variant, info.

Loading…

rest

field

Reviewed

Variants3 found, 0 named by the product

Loading…

inline labelnamed by AI×2The switch's label (Off): 13px at 450 in the ink color.

Loading…

unnamedv-j9mo9i×11

Loading…

unnamedv-s88yad×8

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-wg3w4y——13px—×21

StatesOf its first variant, inline label.

Loading…

rest

tree

Draft

Variants1 found, 0 named by the product

Loading…

unnamedv-i2xemy×1

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-1a23br30px0px13px—×1

StatesOf its first variant.

Loading…

rest