Home

Awesome

tailwind-capacitor

<a href="https://capgo.app/"><img src='https://raw.githubusercontent.com/Cap-go/capgo/main/assets/capgo_banner.png' alt='Capgo - Instant updates for capacitor'/></a>

<div align="center"> <h2><a href="https://capgo.app/">Check out: Capgo — live updates for capacitor</a></h2> </div>

Tailwind plugin for capacitor apps

How to use

  1. Add the plugin to your project
npm install --save-dev tailwind-capacitor
  1. Add the plugin to your tailwind config
// tailwind.config.js
module.exports = {
  plugins: [
    require('tailwind-capacitor').safeAreas,
    require('tailwind-capacitor').colors,
    require('tailwind-capacitor').hairlines,
    require('tailwind-capacitor').touchRipple,
    require('tailwind-capacitor').iosMaterial,
    require('tailwind-capacitor').lineClamp,
    require('tailwind-capacitor').translucent,
    require('tailwind-capacitor').range,
    require('tailwind-capacitor').touch,
    require('tailwind-capacitor').noScrollbar,
  ],
}

Documentation for each plugin can be found here:

Credits

Tailwind Capacitor is a fork of Konsta UI and Tailwind CSS.