Tailwind Capacitor
Tailwind CSS v4 setup and mobile styling guide for Capacitor apps, covering CSS-first config and WebView compatibility.
- CCM score
- 66 of 100
- skills.sh installs
- 1.1K
- GitHub stars
- 79
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers installing Tailwind v4 with Vite or PostCSS, upgrading from v3
tailwind.config.js, and fixing missing styles after upgrade - Includes
@theme,@utility, and@custom-variantsetup for safe-area padding, platform variants, and class-based dark mode - Flags that v4 needs Safari 16.4+ and Chrome 111+, so iOS 15.x to 16.3 devices need a higher minimum OS or staying on Tailwind 3.4
- Designed for Capacitor projects that need mobile layouts, touch targets, and troubleshooting, not Konsta UI, Ionic theming, or keyboard overlap
Install
$ npx -y skills add cap-go/capgo-skills --skill tailwind-capacitor -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Tailwind CSS in Capacitor Apps
When to Use
TRIGGER when:
- Adding Tailwind to a Capacitor app (Vite, Angular, Next static export, etc.)
- Upgrading Tailwind v3 -> v4, or a v4 install produces no styles
tailwind.config.jsedits have no effect (v4 is CSS-first)- Colors / gradients broken or transparent on older iOS devices
- Safe-area, dark mode, platform-specific, or touch-target utilities
Do not use:
- Konsta UI setup/components:
konsta-ui - Ionic components and
--ion-*variables:ionic-design - SystemBars / Android edge-to-edge / status bar plugin:
safe-area-handling - Inputs hidden by keyboard:
capacitor-keyboard - Adding Capacitor to a framework:
framework-to-capacitor
Version facts (October 2026)
Details
- Repository
- github.com/cap-go/capgo-skills
- Categories
- Frontend & UI Code, Mobile Apps
- First seen
- Jun 3, 2026
Questions
What does the tailwind-capacitor skill do?
The tailwind-capacitor skill sets up and uses Tailwind CSS v4 in Capacitor apps, covering CSS-first config, the Vite and PostCSS plugins, and upgrades from v3. It also gives mobile utilities for safe areas, platform variants, class-based dark mode, and touch targets.
How do I install the tailwind-capacitor skill?
Run npx -y skills add cap-go/capgo-skills --skill tailwind-capacitor -y in a project. The agent then gains guidance for installing Tailwind in a Capacitor project and building mobile layouts with it.
Will Tailwind v4 styles work on older iPhones with the tailwind-capacitor skill?
The tailwind-capacitor skill notes that v4 targets Safari 16.4 and newer, so devices on iOS 15.x to 16.3 can render v4 styles incorrectly. It advises asking whether to stay on Tailwind 3.4 or raise the minimum OS before shipping v4.
Which skills sit alongside tailwind-capacitor in Frontend and UI Code?
Within the Frontend and UI Code category, tailwind-capacitor is listed next to vercel-react-best-practices, web-design-guidelines, and design-taste-frontend. Its own focus is Tailwind setup and mobile utilities inside Capacitor WebViews.
More from cap-go/capgo-skills
All 41- Capacitor Apple Review Preflight1K
- Capacitor Mcp1K
- Framework To Capacitor956
- Capgo Live Updates943
- Konsta Ui918
- Cocoapods To Spm881
- Capacitor App Upgrades859
- Cordova To Capacitor851
- Capgo Cli Usage817
- Capacitor Plugin Upgrades815
- Capacitor Plugin Spm Support800
- Capgo Native Builds798
- Capgo Release Workflows793
- Sqlite To Fast Sql793
- Capgo Release Management792
- Capacitor App Upgrade V7 To V8785
- Capgo Cloud776
- Capgo Organization Management768
- Ionic Enterprise Sdk Migration760
- Capacitor Plugin Upgrade V7 To V8724
- Skill Creator717
- Ionic Appflow Migration686
- Capacitor App Upgrade V6 To V7677
- Capacitor Best Practices3K
Similar to Tailwind Capacitor
More Frontend & UI Codetailwind-best-practicesasyrafhussin/agent-skills1.1K installsTailwind CSS patterns for responsive, dark-mode, and v3-to-v4 work, with version detection first.
konsta-uicap-go/capgo-skills918 installsGuide to Konsta UI v5 for native-looking iOS and Material components in Capacitor, without Ionic.
tailwind-css-patternsgiuseppe-trisciuoglio/developer-kit18.4K installsModern Tailwind CSS v4.1 patterns for responsive layouts, components, dark mode, and accessibility.
tailwind-patternsdavila7/claude-code-templates567 installsTailwind CSS v4 principles covering CSS-first configuration, container queries, and design token architecture.
tailwindcssmindrally/skills1.6K installsExpert TailwindCSS guidance for utility-first styling, mobile-first responsive layouts, and dark mode without @apply.