← Back to Components

menu-spacer Component Documentation

{{componentName}}

QdsMenuSpacer

A vertical line divider for separating menu items or sections in a toolbar.

Overview

The qds-menu-spacer component is a custom element that renders a vertical line, used to visually separate menu items or sections within a toolbar or similar interface. It provides customizable height, width, and margin.

Usage

To use the qds-menu-spacer component, include it in your HTML:

<qds-menu-spacer height="24" width="1" margin="8"></qds-menu-spacer>

API Reference

Attributes

CSS Parts

Example

<qds-menu-spacer height="32" width="2" margin="12"></qds-menu-spacer>