Components are interactive UI elements with a specific functional behaviour. These can vary in complexity: from basic components like buttons or text inputs, to more complicated components like a color picker. All of the components within Canvas have been created using Canvas Tokens which are consistent preset stylings used in both design libraries and code libraries alike. Think of these like the DNA that makes Workday products look and feel like they’re part of the same family.
The components in Canvas Kit code repository have been created to be as universal, flexible and scaleable as possible. This means they can be of most value to the most amount of teams using them. Our mission is to provide you with high quality flexible building blocks so you can efficiently build a diverse set of cohesive Workday experiences.
Components vs Patterns
Components and Patterns are intrinsically related, but they are not the same. Components in and of themselves lack context. They are the essential building blocks by which UI solutions are built. Components help development teams to quickly and efficiently build UI solutions in a modular way.
Core patterns classify and document reusable UI solutions, or 'ways of doing things' built to respond to common user problems. An example of a patterns is the convention of how search bars and results work on eCommerce websites. Or the pattern of error messages reacting to user interactions. The patterns and components we use in Canvas are solutions built with similar visuals. These use a combination of various Canvas components and tokens, which provide the visual UI layer which users interact with.
Looking to create custom components with Canvas? Check out our Getting Started guidance for creating custom components with Canvas.
Can't Find What You Need?
Check out our FAQ section which may help you find the information you're looking for.FAQ Section