Skip to content

Composables ​

VUIII provides a set of Vue 3 composables for common application patterns.

Data Loading ​

ComposableDescription
useLoadDataWrap data loading with loading state and error handling
useLoadPaginatedDataPaginated data loading with navigation

Form Actions ​

ComposableDescription
useSubmitActionAsync form submission with confirmation and redirect
useValidationForm validation state management

DOM Interactions ​

ComposableDescription
useOnClickOutsideDetect clicks outside an element
useOnFocusOutsideDetect focus leaving an element
useOnKeyPressHandle keyboard events
useCursorNavigate through arrays with cursor position
useFocusTrapTrap keyboard focus within an element

File Handling ​

ComposableDescription
useDropAreaEnable drag-and-drop file handling
usePreventHandlingDropPrevent default drop behavior

Routing ​

ComposableDescription
useRouteQuerySync state with URL query parameters
usePageFromRouteQueryPagination from route query

Released under the MIT License.