Visage
the Vistaprint UI Library & Design System
We capture and publicize Vistaprint's brand and design vision to make it easy to create a consistent, intuitive, and scalable experience on the Vistaprint site at speed.
What's New:
The UI Library has a new name! Visage (pronounced "vizz-edge") is the new name for the UI Library & Design System, since it represents the public face of the Vistaprint site (and it starts with "Vis-", too.)
Changes since v3.0
See the changelist at Gitlab.
Upgrading to v3
There is a detailed document on Confluence with all the v3 changes. The items below are just an overview:
Breaking Changes in v3
-
There's a new set of packages for v3, e.g.
react-visage
instead ofreact-vp-uilibrary
. - The "evergreen" version on the CDN is no longer getting updates; it will be forever on the latest v2.N release. To update to v3, you'll have to move off of the evergreen URLs.
- There is a new Page Setup API with new static file paths and new typography support.
- The Grid is now proportional by default, and your page's outermost grid(s) needs a new Bounded Content container around it.
-
If you're not using the React components, the static file paths have changed, and you'll need to update them.
(They are all now just
/css/* or /js/*
). - If you're not using the React component for Alert Box, the component's dependencies have changed.
New components and new APIs
- Standard Tiles no longer need a Card Set around them. (Card Set is now deprecated.)
- Selection Set is a new component to replace Option Set. It has a simpler API, and it's 59% smaller! (Option Set is now deprecated.)
-
Forms now have a new "standard form"
component
and an Input Group component that provide a standard layout.
- The searchbar input now uses the new Control Icon instead of a textbutton, so it has an updated API. (The old API is deprecated, but will still work for now.)
-
Grid now supports
col-md-
classes that set column widths on Medium screens only. - Toggle Switch is a new component to replace Flipswitch. (Flipswitch does not meet accessibility standards, so you should replace any Flipswitches with Toggle Switches immediately.)
- Control Icon is a new component to replace the more complicated Graphic Button. (Graphic Button is now deprecated.)
- Dropdowns have a new look and a simpler API to go with it. (The old API still works, but is now deprecated.)
- Breadcrumbs have a new API with better accessibility support. (The old API still works, but is now deprecated.)
Visual refresh
In v3.0, Vistaprint is getting a whole new look! Most components have visuals and features over the next few months.
- Textbuttons have a new look. Some skins have been retired, and some options (like "mini" and "wide") are no longer available.
- Step Indicator has a new look — but for a good user experience, we recommend that you instead use an Accordion on Extra-Small screens (such as phones).
- For typography, we're no longer using "semi-bold"; we've gone back to having just one weight for bold.
Looking for the React documentation?
The code examples for each component have a link to the React documentation for that component, or you can skip to the React main page.