Layer @astryx-svelte/core v0.3.0 · Layer

Usage

Layer utilities provide the app-level provider used by overlay systems. Use LayerProvider at the app root for toast/layer configuration; use higher-level Popover, HoverCard, or Tooltip APIs for most overlay UI.
ts
import { Layer } from '@astryx-svelte/core';

Best practices

GuidancePractices
DoUse LayerProvider once near the app root when you need shared toast/layer configuration.
DoBuild on higher-level components like Popover, HoverCard, and Tooltip for common overlay patterns.
Don'tAdd nested LayerProvider instances: nested providers are ignored and add unnecessary tree depth.