Breakpoint
Screen size as signals — isMobile (up to 640px), isTablet (up to 768px) and any media query. false on the server.
Part of @tectra-ng/utils (npm install @tectra-ng/utils, also included in tectra-ng).
Basic
Resize the window: the tags follow the kit breakpoints.
Media query
matches() turns any media query into a signal — the same signal for the same query across the app.
(min-width: 1200px) | no |
(orientation: portrait) | no |
(prefers-color-scheme: dark) | no |
(prefers-reduced-motion: reduce) | no |
(hover: hover) | no |