Styleguide
Skip to main contentEnable accessibility for low visionOpen the accessibility menu
Type Styles
We use fluid scaling for typography, meaning we don’t need to specify exact breakpoints. Instead, we define sizes for desktop & mobile and use relative units for the other values to allow the styles to scale seamlessly without much work. With this in mind, it’s important to ensure line-height and letter-spacing are set in percentage (%) values, not pixels.
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Body
Caption
Utility
Fluid Utility
We use fluid scaling for utility classes, meaning we don’t need to specify exact breakpoints. Instead, we define sizes for desktop & mobile and use relative units for the other values to allow the styles to scale seamlessly without much work.
Following are the utilities are available available:
fluid-text-[mobile|desktop]fluid-line-height-[mobile|desktop]fluid-gap-[mobile|desktop]fluid-pl-[mobile|desktop]fluid-pr-[mobile|desktop]fluid-pb-[mobile|desktop]fluid-pt-[mobile|desktop]fluid-ml-[mobile|desktop]fluid-mr-[mobile|desktop]fluid-mb-[mobile|desktop]fluid-mt-[mobile|desktop]fluid-inset-[mobile|desktop]fluid-top-[mobile|desktop]fluid-right-[mobile|desktop]fluid-bottom-[mobile|desktop]fluid-left-[mobile|desktop]fluid-size-[mobile|desktop]
Note: Replace mobile with Mobile Pixel Size Base and desktop with Desktop Size base
Examples:
Fluid, 12|16
Fluid, 30|70
fluid-size-[200|400]
Buttons
Button PrimaryButton PrimaryButton Primary
Secondary ButtonSecondary ButtonSecondary Button
Tertiary Button
Tertiary Button
Tertiary Button
Quaternary Button
Quaternary Button
Quaternary Button
Spacing
2xs xs sm md lg xl 2xl 3xl
Border Radius
rounded-sm rounded-md rounded-lg rounded-rounded
Primitives Colors
Indigo Blue 100Indigo Blue 80Indigo Blue 60Indigo Blue 40Indigo Blue 20Yellow 100Yellow 80Yellow 60Yellow 40Yellow 20Warm 100Warm 60Warm 40Warm 20WhiteCool 100Cool 60Cool 40Cool 20DangerWarningSuccessFocus
Tokens Colors
BackgroundBackground InverseForegroundForeground InverseBrand 01Brand 02Brand 03Brand 04Brand 05Brand 06Brand 07Brand 08Brand 09Brand 10Brand 11LinkDangerFocus
Foundation Colors
Foreground SecondaryBackground SecondaryAccent 01Accent 02Border 01Border 02DisabledDangerYellowGrey 300BlueWhiteGrey 500Grey 100OrangeGrey 200Grey 600Light BlueBlackGrey 400
Form Controls
Inputs
Square Input
Some help text here
Square Input Disabled
Some help text here
Square Input Success
Some help text here
Square Input Error
Some help text here
Rounded Input
Some help text here
Rounded Input Disabled
Some help text here
Rounded Input Success
Some help text here
Rounded Input Error
Some help text here
Outline Input
Some help text here
Outline Input Disabled
Some help text here
Outline Input Success
Some help text here
Outline Input Error
Some help text here
Controls
Radio Small
Radio Large
Radio Small Checked
Radio Large Checked
Radio Small Disabled
Radio Large Disabled
Switch Small
Switch Large
Switch Small Checked
Switch Large Checked
Switch Small Disabled
Switch Large Disabled
Checkbox Small
Checkbox Large
Checkbox Small Checked
Checkbox Large Checked
Checkbox Small Disabled
Checkbox Large Disabled
Selectors
Selector Small Not Contained
Selector Small Contained
Selector Large Not Contained
Selector Large Contained
Selector Small Not Contained Checked
Selector Small Contained Checked
Selector Large Not Contained Checked
Selector Large Contained Checked
Selector Small Not Contained Disabled
Selector Small Contained Disabled
Selector Large Not Contained Disabled
Selector Large Contained Disabled
Stepper
Decrease quantity for Increase quantity for
Maximum quantity reached
Stepper Blue
Decrease quantity for Increase quantity for
Maximum quantity reached
Stepper White
Decrease quantity for Increase quantity for
Maximum quantity reached
Stepper White Outlined
Textarea and Select
Message
Provide a message
Message
---CanadaUnited KingdomUnited States
Countries
Select a country
---CanadaUnited KingdomUnited States
Countries
Please select a country
Select an option
--- Canada United Kingdom United States
Custom Select
---CanadaUnited KingdomUnited States
Custom Select
This is a custom Select field
Select an option
--- Canada United Kingdom United States
Multiple Custom Select
---CanadaUnited KingdomUnited States
Multiple Custom Select
This is a custom Select field
Swiper Carousels
Slide1Slide2Slide3Slide4Slide5
Product Cards
Empty heading\ \ Regular price - \ \ Sale price\ From $19.99\ Regular price~~~~\ \ Unit price/ per
Empty heading\ \ Regular price - \ \ Sale price\ From $19.99\ Regular price~~~~\ \ Unit price/ per
Empty heading\ \ Regular price - \ \ Sale price\ From $19.99\ Regular price~~~~\ \ Unit price/ per
Icons
Dialogs / Modals
Close
Inner modal
Toggle ModalModal with URL Content
Dynamic Product Card
Mini Product Card Rendered:
Section Injection with Live Params
Search Input
Enter something to search for
Suggestions
Tabs component
Typically, this component would be rendered dynamically as part of section blocks, or something similiar, and the attributes could all be controlled dynamically. For the sake of the styleguide, I've hardcoded three tabs.
tab 1
tab 2
tab 3
content for tab 1
content for tab 2
content for tab 3
Toast Alerts
Toast alerts are used to provide feedback to users after they perform an action, such as adding a product to their cart. They appear temporarily and do not require user interaction to dismiss.
SuccessAlert
Tooltip
Hover me to see the tooltip at the top
This is the tooltip content at the top
Hover me to see the tooltip at the bottom
This is the tooltip content at the bottom
Hover me to see the tooltip at the left
This is the tooltip content at the left
shop.app
shop.app is blocked
This page has been blocked by an extension
- Try disabling your extensions.
ERR_BLOCKED_BY_CLIENT
Reload
This page has been blocked by an extension
ritual.com
ritual.com is blocked
This page has been blocked by an extension
- Try disabling your extensions.
ERR_BLOCKED_BY_CLIENT
Reload
This page has been blocked by an extension
ritual.com
ritual.com is blocked
This page has been blocked by an extension
- Try disabling your extensions.
ERR_BLOCKED_BY_CLIENT
Reload
This page has been blocked by an extension
ritual.com
ritual.com is blocked
This page has been blocked by an extension
- Try disabling your extensions.
ERR_BLOCKED_BY_CLIENT
Reload
This page has been blocked by an extension
ritual.com
ritual.com is blocked
This page has been blocked by an extension
- Try disabling your extensions.
ERR_BLOCKED_BY_CLIENT
Reload
This page has been blocked by an extension
ritual.com
ritual.com is blocked
This page has been blocked by an extension
- Try disabling your extensions.
ERR_BLOCKED_BY_CLIENT
Reload
This page has been blocked by an extension