
Tailwind Capacitor
This walks you through styling Capacitor mobile apps with Tailwind CSS, covering the mobile-specific stuff that trips people up. You get safe area inset handling for notches and home indicators, proper touch target sizing (44px minimum), and configuration for dark mode with system preference detection. The source includes working examples for common mobile patterns like headers that respect the notch, bottom sheets, and touch feedback states. It also handles the tricky bits like disabling text selection except in inputs, preventing pull-to-refresh bounce, and making hover states work correctly on touch devices. If you're building a Capacitor app and want Tailwind to behave properly on actual phones, this covers the essentials.
- skills.sh installs
- 1K
- GitHub stars
- 77
- last updated
- Aug 21, 2026
Install
$ npx -y skills add cap-go/capgo-skills --skill tailwind-capacitor --agent claude-codeInstalls into .claude/skills of the current project.
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)
Sponsors
Details
- Repository
- github.com/cap-go/capgo-skills
- Categories
- Frontend Development, Documentation, Code Review & Quality, Debugging, Mobile Development, Design & UI/UX
- First seen
- Jun 3, 2026
More from cap-go/capgo-skills
All 41- Capacitor Mcp961
- Capacitor Apple Review Preflight956
- Framework To Capacitor912
- Capgo Live Updates897
- Konsta Ui874
- Cocoapods To Spm836
- Capacitor App Upgrades815
- Cordova To Capacitor807
- Capgo Cli Usage773
- Capacitor Plugin Upgrades772
- Capacitor Plugin Spm Support756
- Capgo Native Builds754
- Capgo Release Management749
- Capgo Release Workflows749
- Sqlite To Fast Sql749
- Capacitor App Upgrade V7 To V8744
- Capgo Cloud731
- Capgo Organization Management725
- Ionic Enterprise Sdk Migration719
- Skill Creator718
- Ionic Appflow Migration690
- Capacitor Plugin Upgrade V7 To V8683
- Capacitor App Upgrade V6 To V7680
- Capacitor Best Practices2.9K