useBreakpoint

A reactive composable for tracking active Tailwind CSS breakpoints and conditionally rendering content based on screen size.

Install: pnpm add-composable useBreakpoint

Conditional rendering

Render different components based on the device type.

API