sterling-svelte  1.0.12
A modern, accessible, lightweight UI component library for Svelte.
Exciting News! sterling-svelte 2.0 is out and built on Svelte 5! Read all about it here!

MenuSeparator

A visual separator of items in a <Menu>

Code
<script lang="ts">
  import { MenuSeparator } from '@geoffcox/sterling-svelte';
</script>

<MenuSeparator />

Members

Property Name Type Default Comment
variant string '' Additional class names to apply

Considerations

  • Includes HTMLDivElement props, event, and methods

Anatomy

<div class="sterling-menu-separator" />