Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Tailwind CSS Navbar | Preline UI, crafted with Tailwind CSS
[go: Go Back, main page]

  1. Components
  2. Navbar

Navigations

Tailwind CSS Navbar

Documentation and examples for Preline UI's powerful, responsive navigation header, the navbar. Includes support for branding, navigation, and more.

Example

A basic form of the navbar.

Theme:

With horizontal scroll

Here's an example of a navbar that is horizontally scrollable at the sm (small) breakpoint.

Resize the example to see it in action.

Theme:

With collapse

Requires JS

Note that this component requires the use of our Collapse plugin, else you can skip this message if you are already using Preline UI as a package.

Group and hide navbar contents by a parent breakpoint.

Here's an example of a navbar that automatically collapses at the sm (small) breakpoint.

Theme:

SVG

You can replace the text within the navbar with an <svg>.

Theme:

SVG and text

You can also make use of some additional utilities to add an svg and text at the same time.

Theme:

Image

You can replace the text within the navbar with an <img>.

Theme:

Image and text

You can also make use of some additional utilities to add an image and text at the same time.

Theme:

Alignment

Left aligned navbar.

Theme:

Center aligned navbar.

Theme:

With dropdown

Requires JS

Note that this component requires the use of our Dropdown plugin, else you can skip this message if you are already using Preline UI as a package.

You can also use mega menu in your navbar.

Theme:

Color variants

Theming the navbar with utility classes.

Theme: