diff --git a/apps/site/src/content/design-system/components/alert/design/user-experience/content.mdoc b/apps/site/src/content/design-system/components/alert/design/user-experience/content.mdoc index ccb4af382..a07131f24 100644 --- a/apps/site/src/content/design-system/components/alert/design/user-experience/content.mdoc +++ b/apps/site/src/content/design-system/components/alert/design/user-experience/content.mdoc @@ -5,7 +5,7 @@ Use alerts to draw attention to specific messages in a particular context. They #### Alert types **Success:** The green message colour and tick icon is used to communicate successful completion of a process or task. It is commonly used with confirmation messaging, the intention is to provide confidence that a process has been completed successfully and the user can now move on. - + **Information:** The blue message colour and info icon is used to convey useful information. It should be used for things like instructions, feedback about information that has been provided, or high-level information about a system or process. This style provides flexibility to use a different icon. To remain accessible, do not use any of the default icons that are used for the other alert types. **Warning:** The orange message colour and warning icon is for use in scenarios where the user needs to understand something before proceeding. It is saved for necessary messaging but not for error messages. For example, ‘this process will time-out in 3 min’ - use it as a ‘Watch out’, rather than a stop. diff --git a/apps/site/src/content/design-system/components/breadcrumb/accessibilityDemo.mdoc b/apps/site/src/content/design-system/components/breadcrumb/accessibilityDemo.mdoc index c3403b71f..4cce98db2 100644 --- a/apps/site/src/content/design-system/components/breadcrumb/accessibilityDemo.mdoc +++ b/apps/site/src/content/design-system/components/breadcrumb/accessibilityDemo.mdoc @@ -1,21 +1,47 @@ ```jsx // Using the Link component (as NextLink) from 'next/LinkLink' - - - Anchor item - - - Another anchor item - - - - Disabled item - - - - - Last item - - - +
+ + + Home + + + + + Home + + + Personal + + + + + Home + + + Personal + + + Credit cards + + + + + Anchor item + + + Another anchor item + + + + Disabled item + + + + + Last item + + + +
``` diff --git a/apps/site/src/content/design-system/components/breadcrumb/code.mdoc b/apps/site/src/content/design-system/components/breadcrumb/code.mdoc index abc753609..6e6a7aeb1 100644 --- a/apps/site/src/content/design-system/components/breadcrumb/code.mdoc +++ b/apps/site/src/content/design-system/components/breadcrumb/code.mdoc @@ -1,23 +1,45 @@ -## Breadcrumb +### Default breadcrumb ```jsx // Using the Link component (as NextLink) from 'next/LinkLink' - - - Anchor item - - - Another anchor item - - - - Disabled item - - - - - Last item - - - +
+ + + Anchor item + + + Another anchor item + + + + Disabled item + + + + + Last item + + + +
+``` + +### As router + +```jsx +
+ + + Home + + + Personal + + + + Credit cards + + + +
```