Search⌘ K

Add Tailwind Features

Discover different types of classes about header and button components in Tailwind.

We'll cover the following...

Add some classes

We can center the text, add a little distance between two parts, vertically center the text against the logo, and put the logo on the right. The Tailwind classes that we use do a pretty good job of representing our intent.

We add some classes here. The outer div now has two Tailwind classes: flex justify-center. The image has another two classes, mx-4 order-last, ...