### ZvSelect Help Text Configuration (Vue) Source: https://zds.zurich.com/0.8.1/inputs/select__vue_framework=vue Demonstrates how to provide help text for the ZvSelect component using the `help-text` parameter and the `help-text` slot. This is useful for guiding users or providing additional context. Examples show both default and 'line' configurations, as well as invalid states. ```html Help text ``` -------------------------------- ### HTML Examples Source: https://zds.zurich.com/0.8.1/atoms/icon__web Provides various HTML examples demonstrating different configurations of the ZIcon component. ```APIDOC ## HTML Examples | | peach | mint | small | xs | lemon:s | |---|---|---|---|---|---| | solid | | | | | | | outline | | | | | | **Note**: The table above seems to be illustrative and might not directly translate to runnable code snippets without further context or a specific component implementation that renders based on these cells. ``` -------------------------------- ### ZStageBanner HTML Examples Source: https://zds.zurich.com/0.8.1/molecules/stage_banner__web Provides practical HTML examples for implementing the ZStageBanner component with different configurations. ```APIDOC ## HTML Examples ### Description Illustrative examples demonstrating various ways to use the `ZStageBanner` component with different attributes and slots. #### Basic Usage with `shape` ```html Content goes here ``` #### Usage with `config` and `shape` ```html Content goes here ``` #### Usage with `pictogram` ```html Content goes here ``` #### Usage with `image-src` attribute ```html Content goes here ``` #### Usage with `image-src` slot ```html Content goes here ``` #### Usage with `category` attribute ```html Content goes here ``` #### Usage with `category` slot ```html Welcome to ZDS Content goes here ``` ``` -------------------------------- ### Alert Configuration Examples Source: https://zds.zurich.com/0.8.1/molecules/alert__react Provides examples of how to configure the Alert component using different `config` types. ```APIDOC ## ZrAlert Configuration Examples ### Description These examples showcase the different `config` options available for the ZrAlert component, including 'info', 'alert', 'negative', and 'positive'. ### Method Component Rendering ### Endpoint N/A ### Parameters #### Path Parameters N/A #### Query Parameters N/A #### Request Body N/A ### Request Example ```html This is an info alert This is an alert alert This is a negative alert This is a positive alert ``` ### Response #### Success Response (200) Displays the alert with the specified configuration. #### Response Example ```html ``` ``` -------------------------------- ### Action Card HTML Example Source: https://zds.zurich.com/0.8.1/molecules/action_card__web A basic HTML example of an Action Card component with a description. ```html Description Button ``` -------------------------------- ### ZrMultiselect Help Text Examples Source: https://zds.zurich.com/0.8.1/inputs/multiselect__react_framework=react Provides examples of using the 'help-text' parameter and the 'help-text' slot for additional user guidance. It also shows how invalid states affect the display. ```jsx Help text ``` -------------------------------- ### HTML Example: Z-Switch with Label and Checked State Source: https://zds.zurich.com/0.8.1/inputs/switch__web An HTML example demonstrating a z-switch component that is both labeled and checked, showcasing its initial state. ```html ``` -------------------------------- ### Basic Promo HTML Example Source: https://zds.zurich.com/0.8.1/molecules/promo__web A simple HTML example showcasing the basic structure and content of a promo component, including text and a call to action. ```html Promotional content Go to Promotion ``` -------------------------------- ### Fieldset HTML Example with Theme Source: https://zds.zurich.com/0.8.1/layouts/fieldset Demonstrates setting the theme for the Fieldset component using the 'z-theme' attribute, with 'dark' as an example value. ```html ``` -------------------------------- ### Flag Component HTML Examples Source: https://zds.zurich.com/0.8.1/atoms/flag Demonstrates how to implement the Flag component in HTML using various parameters. It shows examples for setting custom fill colors via 'custom' and 'custom-str' properties, and applying a dark theme. ```html ``` -------------------------------- ### Tooltip Theme Example Source: https://zds.zurich.com/0.8.1/atoms/tooltip Shows how to set the theme of a tooltip component using the 'z-theme' attribute. This example specifically applies the 'dark' theme. ```html ``` -------------------------------- ### VerticalStepper Theme Example (HTML) Source: https://zds.zurich.com/0.8.1/inputs/vertical_stepper Illustrates how to set the theme for the VerticalStepper component using the 'z-theme' attribute, with 'dark' as an example. ```html ``` -------------------------------- ### ListItem Theming Example (HTML) Source: https://zds.zurich.com/0.8.1/molecules/list_item This example demonstrates how to apply a theme to the ListItem component using the `z-theme` attribute, which can be set to 'light' or 'dark'. ```html ``` -------------------------------- ### ShareBar Customization Example (Web Components) Source: https://zds.zurich.com/0.8.1/molecules/share_bar This example demonstrates how to customize the ShareBar component using the 'custom-str' attribute to set background and text colors. It utilizes Web Components for implementation. ```html Share bar ``` -------------------------------- ### Tooltip CSS Customization Example Source: https://zds.zurich.com/0.8.1/atoms/tooltip Provides an example of customizing tooltip appearance using CSS variables. It demonstrates setting the font color and background color. ```css :root { --z-tooltip--color: #ffffff; --z-tooltip--bg: #333333; } ``` -------------------------------- ### Configured ColorInput HTML Example Source: https://zds.zurich.com/0.8.1/inputs/color_input__web This HTML example showcases a more configured ColorInput component with attributes like 'size', 'line-version', 'readonly', and 'disabled'. It also includes slots for 'label' and 'help-text' to provide more context and guidance to the user. ```html Select your favorite color This is a helper text for the color input. ``` -------------------------------- ### TextInput Theme Example (HTML) Source: https://zds.zurich.com/0.8.1/inputs/text_input Illustrates how to set the visual theme of the TextInput component using the `z-theme` attribute. This example applies the 'dark' theme. ```html ``` -------------------------------- ### Profile Component Usage Examples Source: https://zds.zurich.com/0.8.1/atoms/profile__react_framework=react Demonstrates various ways to use the ZrProfile component, including setting content via the 'content' prop or default slot, and displaying it with different initial values. ```html AA ``` -------------------------------- ### Use ListItem with Header, Content, and Timestamp (Vue) Source: https://zds.zurich.com/0.8.1/molecules/list_item__vue_framework=vue An example of a ListItem component configured with header, content, and timestamp attributes. This showcases a more complete list item setup. ```html ``` -------------------------------- ### Image Component - Size Configuration Source: https://zds.zurich.com/0.8.1/atoms/image__angular Examples demonstrating how to set the column size for the Image component. ```APIDOC ## Size Configuration ### `size` Parameter The `size` parameter determines the width of the image within its grid column. #### Accepted values for `size`: - `"2"` - `"3"` - `"4"` - `"5"` - `"6"` ### Request Examples ```html ``` ### Response This component renders an `` tag. The success response is the rendered image. No specific JSON response is applicable. ``` -------------------------------- ### Basic ZvAvatarList Usage (Vue) Source: https://zds.zurich.com/0.8.1/molecules/avatar_list__vue Illustrates the basic structure for using the ZvAvatarList component. This example shows an empty component without any profiles, serving as a starting point. ```html ``` -------------------------------- ### Implement Tile Component with Parameters (Web Components) Source: https://zds.zurich.com/0.8.1/molecules/tile Demonstrates how to implement the Tile component using Web Components, configuring various parameters such as image source, header, content, and custom styling via `custom-str`. This example showcases setting a background and text color for the tile. ```html Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam nec purus nec nunc ultricies lacinia. Donec auctor, nunc nec ultricies lacinia, nunc nunc ultr ``` -------------------------------- ### Set Date Range for Calendar (Angular) Source: https://zds.zurich.com/0.8.1/inputs/calendar__angular This example demonstrates how to define a selectable date range for the ZaCalendar component using the `range` property, which accepts an array of start and end dates. ```html ``` -------------------------------- ### Import All Web Components via CDN (HTML) Source: https://zds.zurich.com/0.8.1/getting-started/packages/web-components This snippet demonstrates how to import all web components and their styles from a CDN into the of an HTML document. This is the fastest way to get started. ```html ``` -------------------------------- ### Using ZrTabs with Model Attribute (HTML) Source: https://zds.zurich.com/0.8.1/layouts/tabs__react_framework=react This example demonstrates how to use the `model` attribute in the ZrTabs component to set the initially active tab. The `model` attribute expects a numerical index starting from 1. Hardcoding this value can lead to non-reactive behavior. ```html
HTML - Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS - Lorem ipsum dolor sit amet, consectetur adipiscing elit.
JS - Lorem ipsum dolor sit amet, consectetur adipiscing elit.
``` -------------------------------- ### Define ProgressTracker Steps using Options (HTML) Source: https://zds.zurich.com/0.8.1/inputs/progress_tracker__vue_framework=vue This example demonstrates how to define the steps for the ProgressTracker component using `