DEV Community

Dimer Bwimba
Dimer Bwimba

Posted on • Updated on

How to Indent Your Text Using Tailwind . Ultimate Guide

You can use one of these two plugins:

https://www.npmjs.com/package/tailwindcss-typography

or

Use this plugin:

https://www.npmjs.com/package/tailwindcss-text-indent

...and configure it like this:

// tailwind.config.js

module.exports =
theme: {
textIndent: theme => theme('spacing'),
// ...
},
// ...
}

Top comments (0)