tailwindcss-interactivity
Interactivity utilities Tailwind CSS v4.1. Cursor (cursor-*), Scroll (scroll-smooth, scroll-snap-*, overscroll-*), User select (select-*), Pointer events (pointer-events-*), Touch action, Resize, Caret color, Accent color.
What this skill does
# Tailwind CSS Interactivity Utilities Comprehensive utilities for controlling user interaction behaviors and cursor styles in Tailwind CSS v4.1. ## Categories ### Cursor Utilities Control the cursor appearance on elements - `cursor-*` - Standard cursors (auto, default, pointer, wait, text, move, help, not-allowed, none, etc.) - Support for resize cursors (col-resize, row-resize, n-resize, e-resize, s-resize, w-resize, ne-resize, nw-resize, se-resize, sw-resize, ew-resize, ns-resize, nesw-resize, nwse-resize) - Zoom cursors (zoom-in, zoom-out) - Grab cursors (grab, grabbing) - Special cursors (context-menu, progress, cell, crosshair, vertical-text, alias, copy, no-drop, all-scroll) ### Scroll Behavior & Snap Manage scrolling and snap behavior - `scroll-smooth` - Enable smooth scrolling - `scroll-snap-type` - Define snap container behavior (snap-none, snap-x, snap-y, snap-both) - `scroll-snap-align` - Position snap points (snap-start, snap-center, snap-end) - `scroll-snap-stop` - Force snap stops (snap-always, snap-normal) - `overscroll-behavior` - Control overscroll area (overscroll-auto, overscroll-contain, overscroll-none) - Support for axis-specific variants (x, y) ### User Selection Control text selection behavior - `select-none` - Disable text selection - `select-text` - Allow text selection - `select-all` - Select all text when clicked - `select-auto` - Browser default selection ### Pointer Events Control element interactivity - `pointer-events-none` - Element cannot be interacted with - `pointer-events-auto` - Element is interactive (default) ### Touch Action Define how touch gestures are handled - `touch-auto` - Browser default touch handling - `touch-none` - Disable all touch behaviors - `touch-pan-x` - Allow horizontal panning only - `touch-pan-y` - Allow vertical panning only - `touch-manipulation` - Allow panning and zoom only (no double-tap zoom) - Support for directional variants (pan-up, pan-down, pan-left, pan-right, pinch-zoom) ### Resize Control element resize behavior - `resize-none` - Disable resizing - `resize` - Allow resizing in both directions - `resize-y` - Allow vertical resizing only - `resize-x` - Allow horizontal resizing only ### Caret Color Set text input cursor color - `caret-*` - Color utilities for input/textarea cursor - Supports all Tailwind colors and opacity modifiers - Full dark mode support ### Accent Color Define accent color for form controls - `accent-*` - Color utilities for checkboxes, radios, and range inputs - Supports all Tailwind colors and opacity modifiers - Full dark mode support ## Resources - [Official Tailwind CSS Docs](https://tailwindcss.com/) - [Cursor Documentation](https://tailwindcss.com/docs/cursor) - [Scroll Behavior Documentation](https://tailwindcss.com/docs/scroll-behavior) - [Scroll Snap Documentation](https://tailwindcss.com/docs/scroll-snap) - [User Select Documentation](https://tailwindcss.com/docs/user-select) - [Pointer Events Documentation](https://tailwindcss.com/docs/pointer-events) - [Touch Action Documentation](https://tailwindcss.com/docs/touch-action) - [Resize Documentation](https://tailwindcss.com/docs/resize) - [Caret Color Documentation](https://tailwindcss.com/docs/caret-color) - [Accent Color Documentation](https://tailwindcss.com/docs/accent-color)
Related in Web Dev
generating-lwc-components
IncludedLightning Web Components with PICKLES methodology and 165-point scoring. Use this skill when the user creates or edits LWC components, builds wire service patterns, or writes Jest tests for LWC. TRIGGER when: user creates/edits LWC components, touches lwc/**/*.js, .html, .css, .js-meta.xml files, or asks about wire service, SLDS, or Jest LWC tests. DO NOT TRIGGER when: Apex classes (use generating-apex), Aura components, or Visualforce.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Set up queries with useQuery, mutations with useMutation, configure QueryClient caching strategies, implement optimistic updates, and handle infinite scroll with useInfiniteQuery. Use when: setting up data fetching in React projects, migrating from v4 to v5, or fixing object syntax required errors, query callbacks removed issues, cacheTime renamed to gcTime, isPending vs isLoading confusion, keepPreviousData removed problems.
document-processor-api
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
nutrient-document-processing
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Covers useMutationState, simplified optimistic updates, throwOnError, network mode (offline/PWA), and infiniteQueryOptions. Use when setting up data fetching, fixing v4→v5 migration errors (object syntax, gcTime, isPending, keepPreviousData), or debugging SSR/hydration issues with streaming server components.
accelint-nextjs-best-practices
IncludedNext.js performance optimization and best practices. Use when writing Next.js code (App Router or Pages Router); implementing Server Components, Server Actions, or API routes; optimizing RSC serialization, data fetching, or server-side rendering; reviewing Next.js code for performance issues; fixing authentication in Server Actions; or implementing Suspense boundaries, parallel data fetching, or request deduplication.