Surface Context – shadcn/ui Lib by delta | shadcnregistry
Surface Context
lib
React context that tracks the current substrate elevation level. Elevated components (Dropdown, Select, etc.) read it via useSurface() and render at substrate + offset, then re-provide a new substrate so further nesting elevates further.