1. Components
  2. Menus

Simple Menu

<!-- Simple Navigation -->
<nav class="relative py-2">
    <!-- Mobile Nav -->
    <div class="block lg:hidden" x-data="dropdown">
        <button class="w-6 h-6 absolute top-2 right-2 z-10" @click="toggle()">
            <svg x-show="!open" xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" viewBox="0 0 20 20" fill="currentColor">
            <path fill-rule="evenodd" d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" clip-rule="evenodd" />
            </svg>
            <svg x-cloak x-show="open" xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" viewBox="0 0 20 20" fill="currentColor">
            <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd" />
            </svg>
        </button>

        <ul x-cloak x-show="open" x-transition.duration.200ms class="absolute top-10 right-0 w-full min-w-[300px] z-50 bg-white text-slate-900 shadow-sm">
            <li><a href="#" class="block p-4 border-b border-b-slate-200">Services</a></li>
            <li><a href="#" class="block p-4 border-b border-b-slate-200">Company</a></li>
            <li><a href="#" class="block p-4 border-b border-b-slate-200">Developers</a></li>
            <li><a href="#" class="block p-4 border-b border-b-slate-200">Support</a></li>
        </ul>
    </div>

    <!-- Desktop Nav -->
    <ul class="hidden lg:block">

        <li class="relative inline-block">
            <a href="#" class="inline-block px-4 hover:text-purple-600">Services</a>
        </li>
        <li class="relative inline-block">
            <a href="#" class="inline-block px-4 hover:text-purple-600">Company</a>
        </li>
        <li class="relative inline-block">
            <a href="#" class="inline-block px-4 hover:text-purple-600">Developers</a>
        </li>
        <li class="relative inline-block">
            <a href="#" class="inline-block px-4 hover:text-purple-600">Support</a>
        </li>

    </ul>

</nav>

<style type="text/css">
        [x-cloak] { display: none !important; }
</style>

<script>
    document.addEventListener('alpine:init', () => {
        Alpine.data('dropdown', () => ({
            open: false,

            toggle() {
                this.open = ! this.open
            },
            show() {
                this.open = true
            },
            close() {
                this.open = false
            },
        }))
    })
</script>
Requires AlpineJS

Menu with Dropdowns

Requires AlpineJS
Each dropdown can be easily aligned left, center, or right depending on your layout needs. Each overall dropdown width is also easily configurable.

Menu with Mega Links Dropdown

Requires AlpineJS
Each dropdown can be easily aligned left, center, or right depending on your layout needs. Each overall dropdown width is also easily configurable.

Menu with Features Dropdown

Requires AlpineJS
Each dropdown can be easily aligned left, center, or right depending on your layout needs. Each overall dropdown width is also easily configurable.

Full Page Menu with Blur Overlay

Requires AlpineJS Requires Collapse Plugin

Purchase TeakUI Components

Instant download - start building in minutes.

Affordable options to fit your budget.

TeakUI All Access

Every Component & Template

$99/year

$69/first year

Use code TEAKUILAUNCH at checkout.

  • Access to Every Component & Template We Release During Your Subscription
  • 60+ Hand Crafted Components
  • Easy Copy & Paste Code
  • Fully Responsive for Any Device
  • Built with TailwindCSS & AlpineJS
  • Use on Unlimited Projects & Apps
  • Priority Support
  • Free Updates & Access to All New Components for 1 Year
  • Valid for Single User
  • 30 Day Money-back Guarantee
Subscribe

TeakUI Team

Up to 5 Licensed Users

$249/year

  • Everything in All Access
  • Licensed For 5 Developers
Subscribe

TeakUI Unlimited

Unlimited Licensed Users

$799/year

  • Everything in All Access
  • Licensed For Unlimited Developers
Subscribe

Are you a Church or Non Profit? Contact us for special pricing.

FAQs

What is the difference between the single user and team plans?

Our All Access single user license plan allows one developer to use the code you purchase. If you have multiple developers on your team, you can upgrade to our team license for either 5 users or unlimited users.

A licensed user is anyone who writes or modifies component or template code created by Hey Teak. Backend devs, DevOps, and others who work in your code base but not on the UI do not require a license.

What kind of support do you offer?

We offer support with any purchasing issues as well as any bugs or errors you might find in our code. While we are not able to offer extensive integration support - we will do our best to help if you get stuck. Just reach out and let us know.

What is your refund policy?

If you're not happy for any reason, contact us within 30 days of purchase for a full refund.

What if I start on a single user plan and then want to upgrade for my team?

No problem! Just reach out to us and we can upgrade you and prorate your subscription.

Can I use this code with React, Vue, etc?

The short answer is yes! However, it may take a bit of effort to make things work. While we don't currently offer drop in components for JS frameworks, we do plan to support that soon. Stay tuned ;)

You mentioned templates but I don't see those yet?

You have a sharp eye! We're working on templates and will be releasing those very soon. Stay tuned.

TeakUI Components

Page Layouts

Navigation

Copyright © 2024 Hey Teak. A project by @tjwebdev.