Skip to content

Z-Index

Baklava z-index tokens define the stacking order for overlays, dialogs, and tooltips.

Reference

TokenCSS VariableDefault
deep--bl-index-deep-1
base--bl-index-base1
popover--bl-index-popover100
tooltip--bl-index-tooltip200
sticky--bl-index-sticky300
overlay--bl-index-overlay400
dialog--bl-index-dialog500
notification--bl-index-notification600

Usage

Override z-index when you need custom layering:

vue
<script setup>
import { useBaklavaTheme } from "@baklavue/composables";

useBaklavaTheme().applyTheme({
  zIndex: {
    dialog: 1000,
    notification: 1100,
  },
});
</script>