@surstromming/util

Shared non-component helpers.
1,027
Install
npm install @surstromming/util
Latest Version:0.1.1
Vue:3
License:MIT
Last Updated:Oct 17, 2026
Links: GitHub  ·  npm
Maintainer: evgeniy_mnatsakanov

@surstromming/util

Shared non-component helpers.

Dependency graph

graph LR
  util["@surstromming/util"]

Usage

import { isBrowser, isMobile, MOBILE_BREAKPOINT } from '@surstromming/util'
  • isBrowser — true outside SSR.
  • isMobile — reactive ref: the viewport is below the design md breakpoint.
  • MOBILE_BREAKPOINT — 768, mirrors $screens.md in the design package.

Related Packages

@surstromming/popover

Panel anchored under a trigger; closes on outside click and Escape.

1,481 0
@surstromming/dialog

Modal dialog, with an alert-dialog mode and sheets on the screen's edges.

1,382 0
@surstromming/design

Everything related to design system, including colors, typography, and spacing.

1,363 0
@surstromming/scroll-area

A scroll container with an Edge-style overlay scrollbar.

1,157 0

Version History

Version Released Vue License
0.1.1 ^3.4.0 MIT
0.1.0 ^3.4.0 MIT