Customizing Tailwind’s Spacing Utilities

Learn how to customize Tailwind’s spacing utilities according to our needs.

In this lesson, we’ll explore how we can customize Tailwind’s spacing utilities by customizing the core plugins.

Adding spacing utilities

Tailwind has a rich set of spacing utilities, but sometimes we might need a bit more precision. In that situation, we can add the needed utilities again in two ways.

One, we can just discard the Tailwind utilities and replace them with our own.

Get hands-on with 1400+ tech skills courses.