Skip to content

[Integration] useBreakpoints system composable integration #118

@johnleider

Description

@johnleider

Summary

Integrate useBreakpoints with the v0 plugin system and ensure feature parity with Vuetify's createDisplay for breakpoint-related concerns.

Integration Points

  • Accept configuration from unified v0 plugin options (custom thresholds, mobile breakpoint)
  • Add mobileBreakpoint option — configurable threshold (number or breakpoint name) that exposes a reactive mobile boolean
  • Add *AndUp / *AndDown convenience booleans (smAndUp, mdAndDown, etc.)
  • SSR support — accept clientWidth / clientHeight for server-side rendering

Out of Scope (Vuetify-level concerns)

  • Platform detection (android, ios, chrome, electron, etc.) — device sniffing is not a breakpoint concern, Vuetify can layer this on top
  • Per-component mobile override via props — Vuetify's useDisplay(props) pattern, handled at the framework level

Related

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions