Hooks
Read responsive state and viewport changes without rewriting browser event plumbing.
Expanded mode simulates a desktop layout with more room for metadata and supporting actions.
pnpm dlx shadcn@latest add @tile-ui/use-media-queryconst isMobile = useMediaQuery('(max-width: 768px)');