Skip to content

API Documentation

This section provides detailed API documentation for the composables and utilities exported by V-Float.

Core Composables

Positioning Utilities

  • useClientPoint - Pointer-based positioning with multiple tracking modes

Interaction Composables

Middleware

  • arrow - Arrow element alignment data
  • autoPlacement - Automatically choose the best placement
  • flip - Flip positioning when out of bounds
  • hide - Provide data to hide when reference is hidden or escaped
  • offset - Offset positioning
  • shift - Shift positioning to stay in bounds
  • size - Size-aware positioning

Released under the MIT License.