OTTODesign System

Components

Button

Buttons are elements to trigger most UI interactions, such as submitting forms or opening sheets.

Buttons are used for most interactions in our UI.

Configurator

LiveButton: change the settings; the markup below follows.
In den Warenkorb
HTML
<oc-button-v1 variant="primary">In den Warenkorb</oc-button-v1>

Usage

Anatomy

Label 1 2 3 4
  1. Icon left (optional)
  2. Label
  3. Icon right (optional)
  4. Container
LiveAnnotations
HTML
<div class="anatomy" style="width:420px">
<oc-button-v1 variant="primary" icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1>
<span class="anatomy-pin" style="left:8%;top:0%">1</span>
<span class="anatomy-pin" style="left:50%;top:0%">2</span>
<span class="anatomy-pin" style="left:92%;top:0%">3</span>
<span class="anatomy-pin" style="left:100%;top:100%">4</span>
<ol class="anatomy-key"><li data-n="1">Icon left (optional)</li><li data-n="2">Label</li><li data-n="3">Icon right (optional)</li><li data-n="4">Container</li></ol>

Variants

The button come in two sizes: 50 and 100. Use button 100, the larger size, as the default. Only use button 50 in areas with limited space because it provides an suboptimal hitbox size.

The button is available in the following variants:

  • Primary: Use for the most important action on a page. Use only once per view.
  • Secondary: Use for less important actions.
  • Secondary-over-color: Use for less important actions on frame, stacked or colored backgrounds.
  • Tertiary: Has the least visual attention and functions like links but are styled as buttons.
  • Success: Use to indicate a positive outcome of an action. The success button is displayed as a variant because it has its own states.
  • Custom-color-soft: Use semantic design tokens with the prefix "$oc-semantic-color-background-soft-" for the background and use semantic design tokens with sufficient color contrast for the text. Please check with the design system team before doing so.
  • Custom-color-strong: Use semantic design tokens with the prefix "$oc-semantic-color-background-strong-" for the background and use semantic design tokens with sufficient color contrast for the text. Please check with the design system team before doing so.

primary, secondary

LabelLabel
LabelLabel

secondary-over-color, on frame

LabelLabel

tertiary

LabelLabel

success (from primary and from secondary)

LabelLabel
LabelLabel

custom-color-strong, custom-color-soft

LabelLabel
LabelLabel
LiveVariants and sizes
HTML
<p class="demo-label">primary, secondary</p>
<oc-button-v1 variant="primary" icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1><oc-button-v1 variant="primary" size="50" icon-type-left="smiley-positive" icon-type-right="arrow-right" style="flex:none; flex:none">Label</oc-button-v1></div>
<oc-button-v1 variant="secondary" icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1><oc-button-v1 variant="secondary" size="50" icon-type-left="smiley-positive" icon-type-right="arrow-right" style="flex:none; flex:none">Label</oc-button-v1></div>
<p class="demo-label">secondary-over-color, on frame</p>
<oc-button-v1 variant="secondary-over-color" icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1><oc-button-v1 variant="secondary-over-color" size="50" icon-type-left="smiley-positive" icon-type-right="arrow-right" style="flex:none; flex:none">Label</oc-button-v1></div>
<p class="demo-label">tertiary</p>
<oc-button-v1 variant="tertiary" icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1><oc-button-v1 variant="tertiary" size="50" icon-type-left="smiley-positive" icon-type-right="arrow-right" style="flex:none; flex:none">Label</oc-button-v1></div>
<p class="demo-label">success (from primary and from secondary)</p>
<oc-button-v1 variant="primary" success icon-type-left="check" icon-type-right="arrow-right">Label</oc-button-v1><oc-button-v1 variant="primary" size="50" success icon-type-left="check" icon-type-right="arrow-right" style="flex:none">Label</oc-button-v1></div>
<oc-button-v1 variant="secondary" success icon-type-left="check" icon-type-right="arrow-right">Label</oc-button-v1><oc-button-v1 variant="secondary" size="50" success icon-type-left="check" icon-type-right="arrow-right" style="flex:none">Label</oc-button-v1></div>
<p class="demo-label">custom-color-strong, custom-color-soft</p>
<oc-button-v1 variant="custom-color-strong" icon-type-left="smiley-positive" icon-type-right="arrow-right" style="--background-color: var(--oc-semantic-color-background-strong-mint); --text-color: var(--oc-semantic-color-background-soft-mint)">Label</oc-button-v1><oc-button-v1 variant="custom-color-strong" size="50" icon-type-left="smiley-positive" icon-type-right="arrow-right" style="flex:none; --background-color: var(--oc-semantic-color-background-strong-mint); --text-color: var(--oc-semantic-color-background-soft-mint)">Label</oc-button-v1></div>
<oc-button-v1 variant="custom-color-soft" icon-type-left="smiley-positive" icon-type-right="arrow-right" style="--background-color: var(--oc-semantic-color-background-soft-mint); --text-color: var(--oc-semantic-color-text-default)">Label</oc-button-v1><oc-button-v1 variant="custom-color-soft" size="50" icon-type-left="smiley-positive" icon-type-right="arrow-right" style="flex:none; --background-color: var(--oc-semantic-color-background-soft-mint); --text-color: var(--oc-semantic-color-text-default)">Label</oc-button-v1></div>

Icons are optional and can be placed on either the left or right side of the button. The decorative icon on the left reduces cognitive load by symbolizing the button’s action. The icon on the right serve as an affordance for interaction, such as an arrow pointing forward for navigation.

Loading button

Buttons can be put into a loading state. This replaces the icons and the label with a centered spinner. This feature should be used for actions expected to complete asynchronously. During loading, the button has no interactive states and is not interactive.

Size 100: before and while loading

Label Label Label Label

Size 50: before and while loading

Label
Label
Label
Label
LiveLoading button
HTML
<p class="demo-label">Size 100: before and while loading</p>
<oc-button-v1 variant="primary" fit-content icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1>
<oc-button-v1 variant="primary" fit-content loading icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1>
<oc-button-v1 variant="secondary" fit-content icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1>
<oc-button-v1 variant="secondary" fit-content loading icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1>
<p class="demo-label">Size 50: before and while loading</p>
<div><oc-button-v1 variant="primary" size="50" icon-type-left="smiley-positive" icon-type-right="arrow-right" style="flex:none; flex:none">Label</oc-button-v1></div>
<div><oc-button-v1 variant="primary" size="50" loading icon-type-left="smiley-positive" icon-type-right="arrow-right" style="flex:none">Label</oc-button-v1></div>
<div><oc-button-v1 variant="secondary" size="50" icon-type-left="smiley-positive" icon-type-right="arrow-right" style="flex:none; flex:none">Label</oc-button-v1></div>
<div><oc-button-v1 variant="secondary" size="50" loading icon-type-left="smiley-positive" icon-type-right="arrow-right" style="flex:none">Label</oc-button-v1></div>

Behavior

States

Enabled (hover, press and tab to it)

Label Label
Label
Label

Disabled

Label Label
Label
Label
LiveStates
HTML
<p class="demo-label">Enabled (hover, press and tab to it)</p>
<oc-button-v1 variant="primary" fit-content icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1>
<oc-button-v1 variant="secondary" fit-content icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1>
<div class="on-frame" style="margin:0"><oc-button-v1 variant="secondary-over-color" fit-content icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1></div>
<oc-button-v1 variant="tertiary" fit-content icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1>
<p class="demo-label">Disabled</p>
<oc-button-v1 variant="primary" fit-content disabled icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1>
<oc-button-v1 variant="secondary" fit-content disabled icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1>
<div class="on-frame" style="margin:0"><oc-button-v1 variant="secondary-over-color" fit-content disabled icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1></div>
<oc-button-v1 variant="tertiary" fit-content disabled icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1>

Success states

Enabled (hover, press and tab to it)

Label

Disabled

Label
LiveSuccess button states
HTML
<p class="demo-label">Enabled (hover, press and tab to it)</p>
<oc-button-v1 variant="primary" fit-content success icon-type-left="check">Label</oc-button-v1>
<p class="demo-label">Disabled</p>
<oc-button-v1 variant="primary" fit-content success disabled icon-type-left="check">Label</oc-button-v1>

Success interaction

You can start a positive action with a primary, secondary or tertiary button. Once the positive action is completed, the button changes to the success variant. Make sure the size (100, 50) and fitting of the success button match the preceding button.

Only use the success variant in combination with a check icon, as there should be redundant cues for the state.

Folgen

Klick oder Tipp löst die positive Aktion aus

Folge ich

Der Button zeigt das positive Ergebnis

LiveSuccess button interaction
HTML
<oc-button-v1 variant="secondary" size="50" icon-type-left="plus" style="flex:none">Folgen</oc-button-v1>
<oc-icon-v1 type="arrow-long-down" style="color:#e5006b"></oc-icon-v1>
<oc-button-v1 variant="secondary" size="50" success icon-type-left="check" style="flex:none">Folge ich</oc-button-v1>
FolgenFolge ich
FolgenFolge ich
FolgenFolge ich
LiveSuccess button match
HTML
<oc-button-v1 variant="primary" fit-content icon-type-left="smiley-positive">Folgen</oc-button-v1><oc-icon-v1 type="arrow-long-right" style="color:#e5006b"></oc-icon-v1><oc-button-v1 variant="primary" fit-content success icon-type-left="check">Folge ich</oc-button-v1></div>
<oc-button-v1 variant="secondary" size="50" icon-type-left="plus" style="flex:none">Folgen</oc-button-v1><oc-icon-v1 type="arrow-long-right" style="color:#e5006b"></oc-icon-v1><oc-button-v1 variant="secondary" size="50" success icon-type-left="check" style="flex:none">Folge ich</oc-button-v1></div>
<oc-button-v1 variant="tertiary" size="50" icon-type-left="plus" style="flex:none">Folgen</oc-button-v1><oc-icon-v1 type="arrow-long-right" style="color:#e5006b"></oc-icon-v1><oc-button-v1 variant="tertiary" size="50" success icon-type-left="check" style="flex:none">Folge ich</oc-button-v1></div>

According to your needs, you can choose whether the positive action can be undone. If you do not want the positive action to be reversible, use the disabled state of the Success Button.

Reversible

Folge ich

Klick oder Tipp auf den Success-Button macht die Aktion rückgängig

Folgen

Not reversible

Bewertung gesendet

Das positive Ergebnis lässt sich nicht rückgängig machen

LiveSuccess button disabled
HTML
<p class="demo-label">Reversible</p>
<oc-button-v1 variant="secondary" size="50" success icon-type-left="check" style="flex:none">Folge ich</oc-button-v1>
<oc-icon-v1 type="arrow-long-down" style="color:#e5006b"></oc-icon-v1>
<oc-button-v1 variant="secondary" size="50" icon-type-left="plus" style="flex:none">Folgen</oc-button-v1>
<p class="demo-label">Not reversible</p>
<oc-button-v1 variant="secondary" size="50" success disabled icon-type-left="check" style="flex:none">Bewertung gesendet</oc-button-v1>

Fitting

The horizontal fitting of the button can behave in two different ways: fill-parent and fit-content. The default setting is fit-content. In contrast, the fill-parent button extends across the entire parent element, with the label centered. Generally, if the label exceeds the button's width, it will be truncated, which is best avoided.

The vertical fitting of the button is fit-content.

Size 100, fit-content

Label

Size 100, fill parent (default)

Label

Size 50, fit-content (default)

Label

Size 50, fill-parent

Label
LiveFill-parent and fit-content
HTML
<p class="demo-label">Size 100, fit-content</p>
<oc-button-v1 variant="primary" fit-content icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1>
<p class="demo-label">Size 100, fill parent (default)</p>
<oc-button-v1 variant="primary" icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1>
<p class="demo-label">Size 50, fit-content (default)</p>
<oc-button-v1 variant="primary" size="50" icon-type-left="smiley-positive" icon-type-right="arrow-right" style="flex:none; flex:none">Label</oc-button-v1>
<p class="demo-label">Size 50, fill-parent</p>
<oc-button-v1 variant="primary" size="50" fill-parent icon-type-left="smiley-positive" icon-type-right="arrow-right">Label</oc-button-v1>

Placement

When placing multiple buttons horizontal or vertical to each other, make sure there is a gap of 8px in-between. When placing buttons horizontal to each other, the primary button should be on the right. When placing buttons vertical to each other, the primary button should be on top. Always make sure that there are at least 8 pixels in between buttons.

Abbrechen Speichern
Live8px horizontal gap
HTML
<oc-button-v1 variant="secondary" fit-content>Abbrechen</oc-button-v1>
<oc-button-v1 variant="primary" fit-content>Speichern</oc-button-v1>
Speichern Abbrechen
Live8px vertical gap
HTML
<oc-button-v1 variant="primary">Speichern</oc-button-v1>
<oc-button-v1 variant="secondary">Abbrechen</oc-button-v1>

Best practices

AbbrechenSpeichern
Zur KasseWeiter einkaufen
DoPlace one primary button per view.
AbbrechenSpeichern
Zur KasseWeiter einkaufen
Don'tPlace more than one primary button per view.
Rücksendung anmelden Bestellung ansehen
DoShow the full text on buttons. If necessary, they should be stacked when they cannot be placed side by side.
Rücksendung anmelden Bestellung ansehen
Don'tTruncate the button text.

Sneaker „Mojo“ aus dem neuen Fashion-Drop, jetzt mit Extra-Rabatt.

-12 %-20 % Extra
MerkenIn den Warenkorb
DoUse few buttons for only the relevant actions.

Sneaker „Mojo“ aus dem neuen Fashion-Drop, jetzt mit Extra-Rabatt.

-12 %-20 % Extra
TeilenVergleichen
MerkenIn den Warenkorb
Größe wählenBewertungen
Don'tDon't clutter your UI with too many buttons.
Speichern Abbrechen
DoUse the colors assigned by the design system.
Speichern Abbrechen
Don'tDon't use custom colors for buttons. The colors of different button variations have been designed to be consistent and accessible.

Rücksendung

Du hast 30 Tage Zeit, deine Artikel kostenlos zurückzuschicken. Melde die Rücksendung in deinem Kundenkonto an, druck das Etikett aus und gib das Paket bei Hermes ab. Sobald es bei uns ist, bekommst du dein Geld zurück.

Rücksendung anmeldenBestellungen ansehen
DoPlace buttons inside a block.

Rücksendung

Du hast 30 Tage Zeit, deine Artikel kostenlos zurückzuschicken. Melde die Rücksendung in deinem Kundenkonto an, druck das Etikett aus und gib das Paket bei Hermes ab. Sobald es bei uns ist, bekommst du dein Geld zurück. Bei Speditionsware holen wir die Ware bei dir ab: Vereinbare dafür einfach einen Termin. Artikel, die du im Laden gekauft hast, kannst du auch dort zurückgeben. Bitte leg den Lieferschein bei, damit wir die Rücksendung schnell zuordnen können.

Rücksendung anmelden
CautionButtons can be used as sticky elements with a shadow300.
Folgen
DoOnly use the secondary-over-color variant on frame, stacked or colored background.
Folgen
Don'tUse the secondary-over-color button on a white or canvas background.
Folgen Folge ich
DoChange the label to a positive outcome when using the success button.
Folgen Folgen
Don'tUse the same label for both the positive action and the positive outcome.
Folgen Folge ich
CautionMake sure to use the success button sparingly and only to display specific positive outcomes, such as "Marke folgen".
In den Warenkorb
DoUse decorative icons for the left icon and affordance icons for the right icon.
In den Warenkorb
Don'tUse decorative icons for the right icon and affordance icons for the left icon.

Content guidelines

Do
  1. Use simple, clear language.
  2. Keep the label concise, under 4 words and fewer than 20 characters, including spaces.
  3. Capitalize the first letter of the first word and proper nouns in the button label text.
  4. Use a verb that describes the action, such as "Zum Warenkorb hinzufügen".
  5. Contextualize the action the user is taking.
  6. Maintain consistent wording for the same button across different views.
  7. Avoid punctuation marks such as periods or exclamation points.
Don't
  1. Use ambiguous wording or overly creative content, as they may not be accessible.
  2. Include polite expressions like "please" and "thank you."
  3. Use non-specific phrases like "learn more" or "click here."
  4. Use emojis or exclamation points, as they aren’t appropriate for the functional nature of buttons.
  5. Write labels as nouns or adjectives, which can be unclear and disorienting.

Accessibility

When writing accessible button labels, it's crucial to ensure that it provides sufficient context about the button's behavior. If a label like "Weiter" or "Mehr anzeigen" is used, it can be confusing for screen reader users when read out of context. In such cases, it's necessary to provide an alternative text with deeper context, such as "Weiter zur Kasse" or "Mehr ähnliche Produkte anzeigen," using the aria-label attribute. This attribute helps to describe the button's function fully, considering the rest of the website content is not visible to the screen reader.

  • Icon Button: Rounded Buttons consist of a single icon on a white circle
  • Link: A link allows users to navigate through applications and websites.
  • Skip Link

Implementation

Live demo

Weißer Ledersneaker mit Gummisohle

Mojo

Ledersneaker „Court“, weiß

Glattleder, Gummisohle in Honigbraun

89,99 €

statt 112,99 €

-20 %

Lieferbar · in 2 bis 4 Werktagen bei dir

In den WarenkorbGemerkt

Kostenlose Rücksendung innerhalb von 30 Tagen

LiveReal OTTO components, rendered by the OTTO component runtime
HTML
<div class="on-frame" style="margin:0;padding:24px">
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:16px;max-width:880px;margin:0 auto;align-items:start">
<div style="background:#fff;border-radius:16px;overflow:hidden"><img src="/previews/imagery/samples/otto-product-still/product-sneaker.webp" alt="Weißer Ledersneaker mit Gummisohle" style="display:block;margin:0;width:100%;aspect-ratio:1;object-fit:cover"></div>
<oc-block-v2><div style="display:grid;gap:16px">
  <div style="display:grid;gap:4px"><p class="oc-copy-75 oc-text-color-secondary">Mojo</p><p class="oc-headline-100">Ledersneaker „Court“, weiß</p><p class="oc-copy-75 oc-text-color-secondary">Glattleder, Gummisohle in Honigbraun</p></div>
<p class="oc-headline-200 oc-text-color-sale">89,99 €</p><p class="oc-copy-75 oc-text-color-secondary">statt <s>112,99 €</s></p><oc-tag-v1 variant="sale" size="50">-20 %</oc-tag-v1></div>
  <p class="oc-copy-75"><span class="oc-text-color-success" style="font-weight:700">Lieferbar</span> · in 2 bis 4 Werktagen bei dir</p>
  <div style="display:grid;gap:8px"><oc-button-v1 variant="primary" icon-type-left="basket">In den Warenkorb</oc-button-v1><oc-button-v1 variant="secondary" success icon-type-left="check">Gemerkt</oc-button-v1></div>
  <p class="oc-copy-75 oc-text-color-secondary">Kostenlose Rücksendung innerhalb von 30 Tagen</p>
</oc-block-v2>

Code

Version Tag Status API
v1 <oc-button-v1> Stable ButtonV1

API

API: <oc-button-v1> (ButtonV1)

The Button component is used to trigger specific actions in your application. It supports various styles, sizes, and can incorporate icons. It can be configured to fit content, be disabled, and set with an ARIA label for accessibility.

Attributes / properties
Attribute Type Default Required Description
variant "primary" | "secondary" | "secondary-on-color" | "secondary-over-color" | "tertiary" | "custom-color-strong" | "custom-color-soft" "primary" no Sets the main styling variant of the button.

Note: "secondary-on-color" is deprecated, use "secondary-over-color" instead.
type "submit" | "reset" | "button" undefined no Sets the type of the button. Can be one of: "button", "reset", "submit".
size "50" | "100" "100" no Sets the size of the button.
icon-type-left icon name undefined no Sets the icon for the left side of the button.
icon-type-right icon name undefined no Sets the icon for the right side of the button.
disabled boolean false no Indicates whether the button is disabled.
loading "" | "keep-native-events" | "true" false no Indicates whether the button is in a loading state. When enabled, displays a loading animation.

For buttons of type "submit", the loading state also stops the propagation of click events after the first click to prevent multiple form submissions. Set to "keep-native-events" to enable the loading state but keep native events for this case.

Note: The loading animation overwrites the icon on the right side set via icon-type-right.
success boolean false no Indicates whether the button is in a success state. This is a visual state that indicates a successful action. It does not change the functionality of the button.
fit-content boolean false no Indicates whether the button width should fit its content. This attribute only applies to size="100".
fill-parent boolean false no Indicates whether the button width should fill to its parent. This attribute only applies to size="50".
form string undefined no Sets the form id the button belongs to. Only available as an attribute.
formaction string undefined no Sets the action for form submission. Only available as an attribute. Only for type="submit".
formmethod string undefined no Sets the method for form submission. Only available as an attribute. Only for type="submit".
href string undefined no Deprecated: Use an a tag in the default slot instead.

Visit SEO optimization techniques for more information.

Sets the link target of the button.
base64-href string undefined no Sets the base64 encoded link target of the button. Use this attribute to prevent search engines from indexing the link target.
target "_blank" | "_self" | "_parent" | "_top" undefined no Sets the target attribute of the button.

Note: Only applies when href or base64Href is set.
rel string undefined no Sets the rel attribute of the button.

Note: Only applies when href or base64Href is set.
oc-aria-label string undefined no Sets the ARIA label of the button.
Slots
Slot Required Description
default yes Sets the text content of the button.
Events
Event Detail type Description
click PointerEvent Clicking the button or pressing Enter or Space while the button is focused triggers the click event.
oc-property-change OcButtonV1Events["oc-property-change"] Whenever a property value changes, this event triggers. Use this event to track all property changes within the component.

Refer to the Events documentation for more information.
oc-mount { component: string; } Fired when the component is mounted to the DOM. The event is fired when the onMount hook of the component is called by the runtime.
oc-unmount { component: string; } Fired when the component is unmounted from the DOM. The event is fired when the function returned by the onMount hook of the component is called by the runtime.
CSS custom properties
Custom property Default Description
--background-color undefined Sets a custom background color through a CSS variable.

Note: The preferred way of using colors is via design tokens instead of hex values.

Note: This CSS variable only applies when using variant="custom-color-strong" or variant="custom-color-soft".
--text-color undefined Sets a custom text color through a CSS variable.

Note: The preferred way of using colors is via design tokens instead of hex values.

Note: This CSS variable only applies when using variant="custom-color-strong" or variant="custom-color-soft".

Examples

Listed below are the most common variations of the button component as well as specific component variations for different use cases.

Default

The default configuration uses size=100 and the primary variant.

Label
HTML
<oc-button-v1 variant="primary" size="100">Label</oc-button-v1>
Primary 100 with icons left and right

The primary variant, with size=100, and icons on both the left and right sides.

Label
HTML
<oc-button-v1 variant="primary" size="100" icon-type-left="arrow-left" icon-type-right="arrow-right">
Label
</oc-button-v1>
Primary 100 with fit-content and icon left

The primary variant, with size=100 and fit-content=true, and an icon on the left side.

Label
HTML
<oc-button-v1 variant="primary" size="100" icon-type-left="arrow-left" fit-content>Label</oc-button-v1>
Primary 100 disabled with icon right

The disabled primary variant, with size=100, and an icon on the right side.

Label
HTML
<oc-button-v1 variant="primary" size="100" icon-type-right="arrow-right" disabled>Label</oc-button-v1>
Primary 50 with icons left and right

The primary variant, with size=50, and icons on both the left and right sides.

Label
HTML
<oc-button-v1 variant="primary" size="50" icon-type-left="arrow-left" icon-type-right="arrow-right">
Label
</oc-button-v1>
Primary 50 disabled with icon right

The disabled primary variant, with size=50, and an icon on the right side.

Label
HTML
<oc-button-v1 variant="primary" size="50" icon-type-right="arrow-right" disabled>Label</oc-button-v1>