Polaris web components
Actions
Button
Triggers actions or events, such as submitting forms, opening dialogs, or navigating to other pages.
Clickable
A generic interactive container component that provides a flexible alternative for custom interactive elements not achievable with existing components like Button or Link.
Clickable
Interactive button used to categorize or highlight content attributes.
Link
Makes text interactive, allowing users to navigate to other pages or perform specific actions.
Press
Allows users to toggle between active/inactive states.
Feedback
Announcement
The Announcement component provides a less disruptive alternative to auto-open modals for capturing user attention.
Banner
Highlights important information or required actions prominently within the interface.
Progress
Displays an indicator showing the completion status of a task.
Skeleton
Displays a placeholder representation of text content while it loads.
Spinner
Displays an animated indicator showing users that content or actions are loading.
Forms
Checkbox
Give users a clear way to make selections, such as agreeing to terms or choosing multiple items from a list.
Choice
Present multiple options to users, allowing either single selections with radio buttons or multiple selections with checkboxes.
Consent
Use buyer consent checkboxes for collecting the buyer’s approval for a given policy.
Consent
Display a phone field for customers to sign up for text message marketing, noting that the phone field value will be automatically saved during checkout.
Date
Allow users to select a specific date with a date picker.
Date
Allow users to select a specific date or date range.
Drop
Lets users upload files through drag-and-drop functionality into a designated area on a page, or by activating a button.
Email
Let users enter email addresses with optimized keyboard settings.
Form
Wraps one or more form controls and enables implicit submission, letting users submit the form from any input by pressing “Enter.” Unlike the HTML form element, this component doesn’t automatically submit data via HTTP.
Money
Collect monetary values from users with built-in currency formatting and validation.
Number
Collect numerical values from users with optimized keyboard settings and built-in validation.
Password
Securely collect sensitive information from users.
Phone
Use PhoneField to allow users to enter phone numbers.
Select
Allow users to pick one option from a menu.
Switch
Give users a clear way to toggle options on or off.
Text
Collect longer text content from users with a multi-line input that expands automatically.
Text
Lets users enter or edit text within a single-line input.
URL
Collect URLs from users with built-in formatting and validation.
Interactive
Media
Overlays
Modal
Displays content in an overlay.
Popover
Popovers are used to display content in an overlay that can be triggered by a button.
Sheet
The Sheet component displays essential information for customers at the bottom of the screen, appearing above other elements.
Tooltip
Displays helpful information in a small overlay when users hover or focus on an element.
Structure
Box
A generic container that provides a flexible alternative for custom designs not achievable with existing components.
Divider
Create clear visual separation between elements in your user interface.
Grid
Use s-grid to organize your content in a matrix of rows and columns and make responsive layouts for pages.
Ordered
Displays a numbered list of related items in a specific sequence.
Query
Establishes a query container for responsive design.
Scroll
Provides a scrollable container for long content that exceeds the available space.
Section
Groups related content into clearly-defined thematic areas.
Stack
Organizes elements horizontally or vertically along the block or inline axis.
Unordered
Displays a bulleted list of related items.
Titles and text
Abbreviation
Displays abbreviated text or acronyms, revealing their full meaning or additional context through a tooltip on hover or focus.
Badge
Inform users about the status of an object or indicate that an action has been completed.
Chip
Represents a set of user-supplied keywords that help label, organize, and categorize objects.
Heading
Renders hierarchical titles to communicate the structure and organization of page content.
Paragraph
Displays a block of text and can contain inline elements such as buttons, links, or emphasized text.
Text
Displays inline text with specific visual styles or tones.
Time
Represents a specific point or duration in time.