CSC Design System next
VueFlavour Vue React Angular TypeScript PrimaryCSC UI ColorsPrimarySecondaryAccentCustom ColorsRedOrangeGreenBluePurplePink
Guides Getting started Customization Data visualization Migration guide Componentsc-accordionc-alertc-autocompletec-badgec-buttonc-button-groupc-cardc-checkboxc-csc-logoc-data-tablec-dividerc-iconc-icon-buttonc-inputc-linkc-listc-loaderc-login-buttonsc-login-cardc-mainc-menuc-messagec-modalc-navigation-buttonc-otp-inputc-pagec-paginationc-popoverc-progress-barc-progress-circlec-radio-groupc-selectc-side-navigationc-sliderc-spinnerc-statusc-stepsc-switchc-tablec-tabsc-tagsc-text-fieldc-toastsc-toolbarc-tooltip

<c-toolbar>

Examples

Basic
Vue React Angular TypeScript
<template>
  <div>
    <!-- The relative class keeps the toolbar in flow; by default it is fixed to the top of the viewport -->
    <c-toolbar class="relative">
      <c-csc-logo />

      <span>My Service</span>

      <c-button style="margin-inline-start: auto" text>Log out</c-button>
    </c-toolbar>
  </div>
</template>

API reference

<c-toolbar>

Slots

SlotDescription
defaultContent of toolbar

CSS parts

Style from outside with c-toolbar::part(name) — parts are the library's only styling customization API.

PartDescription
rootThe toolbar bar itself, fixed to the top of the viewport