Available Hooks
Currency Hooks
useFormatCurrency
Format numbers as currency values using context-aware settings
useInputCurrency
Handle currency input with automatic formatting and validation
Media Query Hooks
useMediaQuery
React to media query changes with SSR support
useMediaBreakpointUp
Check if viewport matches breakpoint sizes
Installation
All hooks are exported from the main package:Context Requirements
Some hooks require theDContextProvider to be present in your component tree:
useFormatCurrency- Requires currency settings from contextuseMediaBreakpointUp- Requires breakpoint configuration from context