Skip to content

Add fluidity-ts — responsive design hooks - #277

Open
tamish-max wants to merge 1 commit into
rehooks:masterfrom
tamish-max:add-fluidity-ts
Open

tamish-max wants to merge 1 commit into
rehooks:masterfrom
tamish-max:add-fluidity-ts

Conversation

@tamish-max

Copy link
Copy Markdown

Adding fluidity-ts — a collection of SSR-safe React hooks for responsive design:

  • useBreakpoint — typed breakpoint matching
  • useMediaQuery — reactive media query evaluation
  • useContainerQuery — container query hooks
  • useReducedMotion — prefers-reduced-motion detection
  • useColorScheme — dark/light mode with persistence
  • useDevicePixelRatio, usePointer, useSafeArea, useViewport

Zero dependencies, 3KB gzipped, full TypeScript types.

npm: https://www.npmjs.com/package/fluidity-ts

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant