Skip to content
W WRNexusJS
overlays component

SolutionsMegaMenu

Reusable solutions mega menu component.

@wrnexus/ui 0.2.671 props0 slots0 events

Usage

Components are auto-discovered. Use the component directly in any .wrn view:

<SolutionsMegaMenu />

Legacy mount name: data-component="SolutionsMegaMenu".

Props and attributes

PropTypeRequirementDefault
classstringOptional""

Slots

This component does not declare a slot.

Events

This component does not declare a custom event.

Source contract

Installed source: components/SolutionsMegaMenu.wrn

component SolutionsMegaMenu {
    props {
        class: string = ""
    }
    view {
        <div
            class="border-t border-slate-200 bg-white shadow-2xl shadow-slate-950/10 dark:border-white/10 dark:bg-slate-950 dark:shadow-black/30 {class}"
        >
        <div class="mx-auto max-w-7xl px-6 py-8 lg:px-10">
        <div class="grid gap-8 lg:grid-cols-[minmax(0,1.6fr)_minmax(18rem,0.75fr)]">
        <!-- Solution links -->
        <section>
        <div class="mb-5 flex items-end justify-between gap-6">
        <div>
        <p class="text-xs font-semibold uppercase tracking-[0.16em] text-indigo-600 dark:text-indigo-400">
                                    Solutions
                                </p>
        <h2 class="mt-2 text-lg font-bold tracking-tight text-slate-950 dark:text-white">
                                    Identity infrastructure for every stage of growth
                                </h2>
        <p class="mt-1 text-sm text-slate-500 dark:text-slate-400">
                                    Choose a solution designed around your product, team, and customers.
                                </p>
        </div>
        <a
                                href="/solutions"
                                class="group hidden items-center gap-2 text-sm font-semibold text-indigo-600 transition hover:text-indigo-800 dark:text-indigo-400 dark:hover:text-indigo-300 xl:inline-flex"
                            >
                                View all solutions

                                <span class="icon-[lucide--arrow-right] h-4 w-4 transition-transform group-hover:translate-x-1" aria-hidden="true" >
        </span>
        </a>
        </div>
        <div class="grid gap-2 md:grid-cols-2">
        <!-- Startups -->
        <a
                                href="/solutions/startups"
                                class="group flex items-start gap-4 rounded-2xl border border-transparent p-4 transition hover:border-indigo-200 hover:bg-indigo-50 dark:hover:border-indigo-500/20 dark:hover:bg-indigo-500/10"
                            >
        <span
                                    class="grid h-11 w-11 shrink-0 place-items-center rounded-xl bg-indigo-100 text-indigo-700 transition group-hover:bg-indigo-600 group-hover:text-white dark:bg-indigo-500/15 dark:text-indigo-300 dark:group-hover:bg-indigo-500 dark:group-hover:text-white"
                                >
        <span class="icon-[lucide--rocket] h-5 w-5" aria-hidden="true" >
        </span>
        </span>
        <span class="min-w-0">
        <span class="flex items-center gap-2">
        <span class="text-sm font-semibold text-slate-950 dark:text-white">
                                            Startups
                                        </span>
        <span class="icon-[lucide--arrow-up-right] h-3.5 w-3.5 text-slate-300 opacity-0 transition group-hover:translate-x-0.5 group-hover:-translate-y-0.5 group-hover:text-indigo-600 group-hover:opacity-100 dark:text-slate-600 dark:group-hover:text-indigo-300" aria-hidden="true" >
        </span>
        </span>
        <span class="mt-1 block text-xs leading-5 text-slate-500 dark:text-slate-400">
                                        Launch secure authentication quickly without slowing product development.
                                    </span>
        </span>
        </a>
        <!-- SaaS -->
        <a
                                href="/solutions/saas"
                                class="group flex items-start gap-4 rounded-2xl border border-transparent p-4 transition hover:border-cyan-200 hover:bg-cyan-50 dark:hover:border-cyan-500/20 dark:hover:bg-cyan-500/10"
                            >
        <span
                                    class="grid h-11 w-11 shrink-0 place-items-center rounded-xl bg-cyan-100 text-cyan-700 transition group-hover:bg-cyan-600 group-hover:text-white dark:bg-cyan-500/15 dark:text-cyan-300 dark:group-hover:bg-cyan-500 dark:group-hover:text-white"
                                >
        <span class="icon-[lucide--cloud] h-5 w-5" aria-hidden="true" >
        </span>
        </span>
        <span class="min-w-0">
        <span class="flex items-center gap-2">
        <span class="text-sm font-semibold text-slate-950 dark:text-white">
                                            SaaS platforms
                                        </span>
        <span class="icon-[lucide--arrow-up-right] h-3.5 w-3.5 text-slate-300 opacity-0 transition group-hover:translate-x-0.5 group-hover:-translate-y-0.5 group-hover:text-cyan-600 group-hover:opacity-100 dark:text-slate-600 dark:group-hover:text-cyan-300" aria-hidden="true" >
        </span>
        </span>
        <span class="mt-1 block text-xs leading-5 text-slate-500 dark:text-slate-400">
                                        Add users, organizations, roles, SSO, and secure account recovery.
                                    </span>
        </span>
        </a>
        <!-- Enterprise -->
        <a
                                href="/solutions/enterprise"
                                class="group flex items-start gap-4 rounded-2xl border border-transparent p-4 transition hover:border-violet-200 hover:bg-violet-50 dark:hover:border-violet-500/20 dark:hover:bg-violet-500/10"
                            >
        <span
                                    class="grid h-11 w-11 shrink-0 place-items-center rounded-xl bg-violet-100 text-violet-700 transition group-hover:bg-violet-600 group-hover:text-white dark:bg-violet-500/15 dark:text-violet-300 dark:group-hover:bg-violet-500 dark:group-hover:text-white"
                                >
        <span class="icon-[lucide--building-2] h-5 w-5" aria-hidden="true" >
        </span>
        </span>
        <span class="min-w-0">
        <span class="flex items-center gap-2">
        <span class="text-sm font-semibold text-slate-950 dark:text-white">
                                            Enterprise
                                        </span>
        <span class="icon-[lucide--arrow-up-right] h-3.5 w-3.5 text-slate-300 opacity-0 transition group-hover:translate-x-0.5 group-hover:-translate-y-0.5 group-hover:text-violet-600 group-hover:opacity-100 dark:text-slate-600 dark:group-hover:text-violet-300" aria-hidden="true" >
        </span>
        </span>
        <span class="mt-1 block text-xs leading-5 text-slate-500 dark:text-slate-400">
                                        Support complex organizations, governance, auditability, and scale.
                                    </span>
        </span>
        </a>
        <!-- Developers -->
        <a
                                href="/solutions/developers"
                                class="group flex items-start gap-4 rounded-2xl border border-transparent p-4 transition hover:border-emerald-200 hover:bg-emerald-50 dark:hover:border-emerald-500/20 dark:hover:bg-emerald-500/10"
                            >
        <span
                                    class="grid h-11 w-11 shrink-0 place-items-center rounded-xl bg-emerald-100 text-emerald-700 transition group-hover:bg-emerald-600 group-hover:text-white dark:bg-emerald-500/15 dark:text-emerald-300 dark:group-hover:bg-emerald-500 dark:group-hover:text-white"
                                >
        <span class="icon-[lucide--code-2] h-5 w-5" aria-hidden="true" >
        </span>
        </span>
        <span class="min-w-0">
        <span class="flex items-center gap-2">
        <span class="text-sm font-semibold text-slate-950 dark:text-white">
                                            Developers
                                        </span>
        <span class="icon-[lucide--arrow-up-right] h-3.5 w-3.5 text-slate-300 opacity-0 transition group-hover:translate-x-0.5 group-hover:-translate-y-0.5 group-hover:text-emerald-600 group-hover:opacity-100 dark:text-slate-600 dark:group-hover:text-emerald-300" aria-hidden="true" >
        </span>
        </span>
        <span class="mt-1 block text-xs leading-5 text-slate-500 dark:text-slate-400">
                                        APIs, SDKs, webhooks, templates, and developer-friendly workflows.
                                    </span>
        </span>
        </a>
        <!-- Agencies -->
        <a
                                href="/solutions/agencies"
                                class="group flex items-start gap-4 rounded-2xl border border-transparent p-4 transition hover:border-amber-200 hover:bg-amber-50 dark:hover:border-amber-500/20 dark:hover:bg-amber-500/10"
                            >
        <span
                                    class="grid h-11 w-11 shrink-0 place-items-center rounded-xl bg-amber-100 text-amber-700 transition group-hover:bg-amber-600 group-hover:text-white dark:bg-amber-500/15 dark:text-amber-300 dark:group-hover:bg-amber-500 dark:group-hover:text-white"
                                >
        <span class="icon-[lucide--briefcase-business] h-5 w-5" aria-hidden="true" >
        </span>
        </span>
        <span class="min-w-0">
        <span class="flex items-center gap-2">
        <span class="text-sm font-semibold text-slate-950 dark:text-white">
                                            Agencies
                                        </span>
        <span class="icon-[lucide--arrow-up-right] h-3.5 w-3.5 text-slate-300 opacity-0 transition group-hover:translate-x-0.5 group-hover:-translate-y-0.5 group-hover:text-amber-600 group-hover:opacity-100 dark:text-slate-600 dark:group-hover:text-amber-300" aria-hidden="true" >
        </span>
        </span>
        <span class="mt-1 block text-xs leading-5 text-slate-500 dark:text-slate-400">
                                        Manage identities across customer projects and branded experiences.
                                    </span>
        </span>
        </a>
        <!-- B2B -->
        <a
                                href="/solutions/b2b"
                                class="group flex items-start gap-4 rounded-2xl border border-transparent p-4 transition hover:border-rose-200 hover:bg-rose-50 dark:hover:border-rose-500/20 dark:hover:bg-rose-500/10"
                            >
        <span
                                    class="grid h-11 w-11 shrink-0 place-items-center rounded-xl bg-rose-100 text-rose-700 transition group-hover:bg-rose-600 group-hover:text-white dark:bg-rose-500/15 dark:text-rose-300 dark:group-hover:bg-rose-500 dark:group-hover:text-white"
                                >
        <span class="icon-[lucide--handshake] h-5 w-5" aria-hidden="true" >
        </span>
        </span>
        <span class="min-w-0">
        <span class="flex items-center gap-2">
        <span class="text-sm font-semibold text-slate-950 dark:text-white">
                                            B2B products
                                        </span>
        <span class="icon-[lucide--arrow-up-right] h-3.5 w-3.5 text-slate-300 opacity-0 transition group-hover:translate-x-0.5 group-hover:-translate-y-0.5 group-hover:text-rose-600 group-hover:opacity-100 dark:text-slate-600 dark:group-hover:text-rose-300" aria-hidden="true" >
        </span>
        </span>
        <span class="mt-1 block text-xs leading-5 text-slate-500 dark:text-slate-400">
                                        Secure customer organizations, team access, and enterprise connections.
                                    </span>
        </span>
        </a>
        </div>
        <a
                            href="/solutions"
                            class="mt-4 flex items-center justify-center gap-2 rounded-xl border border-indigo-200 bg-indigo-50 px-4 py-3 text-sm font-semibold text-indigo-700 transition hover:border-indigo-300 hover:bg-indigo-100 dark:border-indigo-500/20 dark:bg-indigo-500/10 dark:text-indigo-300 dark:hover:border-indigo-500/30 dark:hover:bg-indigo-500/15 xl:hidden"
                        >
                            View all solutions

                            <span class="icon-[lucide--arrow-right] h-4 w-4" aria-hidden="true" >
        </span>
        </a>
        </section>
        <!-- Featured solution -->
        <aside
                        class="relative overflow-hidden rounded-3xl border border-violet-200 bg-linear-to-br from-violet-50 via-white to-indigo-50 p-6 dark:border-violet-500/20 dark:from-violet-500/10 dark:via-slate-900 dark:to-indigo-500/10"
                    >
        <div aria-hidden="true" class="absolute -right-16 -top-16 h-40 w-40 rounded-full bg-violet-300/30 blur-3xl dark:bg-violet-500/10" >
        </div>
        <div aria-hidden="true" class="absolute -bottom-20 -left-16 h-40 w-40 rounded-full bg-indigo-300/30 blur-3xl dark:bg-indigo-500/10" >
        </div>
        <div class="relative">
        <span
                                class="inline-flex items-center gap-2 rounded-full border border-violet-200 bg-white/80 px-3 py-1.5 text-xs font-semibold text-violet-700 backdrop-blur-sm dark:border-violet-500/20 dark:bg-white/5 dark:text-violet-300"
                            >
        <span class="icon-[lucide--wand-sparkles] h-3.5 w-3.5" aria-hidden="true" >
        </span>

                                Recommended for SaaS
                            </span>
        <div
                                class="mt-5 grid h-12 w-12 place-items-center rounded-2xl bg-violet-600 text-white shadow-lg shadow-violet-600/20"
                            >
        <span class="icon-[lucide--cloud-cog] h-6 w-6" aria-hidden="true" >
        </span>
        </div>
        <h3 class="mt-5 text-xl font-bold tracking-tight text-slate-950 dark:text-white">
                                Launch enterprise-ready identity
                            </h3>
        <p class="mt-3 text-sm leading-6 text-slate-600 dark:text-slate-400">
                                Start with simple authentication and add organizations,
                                permissions, enterprise SSO, and governance as your product grows.
                            </p>
        <div class="mt-5 grid gap-3">
        <div
                                    class="flex items-center gap-3 rounded-xl border border-violet-200 bg-white/70 px-3 py-3 dark:border-violet-500/20 dark:bg-white/5"
                                >
        <span
                                        class="grid h-8 w-8 shrink-0 place-items-center rounded-lg bg-violet-100 text-violet-700 dark:bg-violet-500/15 dark:text-violet-300"
                                    >
        <span class="icon-[lucide--timer-reset] h-4 w-4" aria-hidden="true" >
        </span>
        </span>
        <span>
        <span class="block text-sm font-semibold text-slate-900 dark:text-white">
                                            Faster launch
                                        </span>
        <span class="block text-xs text-slate-500 dark:text-slate-400">
                                            Start with secure defaults
                                        </span>
        </span>
        </div>
        <div
                                    class="flex items-center gap-3 rounded-xl border border-violet-200 bg-white/70 px-3 py-3 dark:border-violet-500/20 dark:bg-white/5"
                                >
        <span
                                        class="grid h-8 w-8 shrink-0 place-items-center rounded-lg bg-indigo-100 text-indigo-700 dark:bg-indigo-500/15 dark:text-indigo-300"
                                    >
        <span class="icon-[lucide--expand] h-4 w-4" aria-hidden="true" >
        </span>
        </span>
        <span>
        <span class="block text-sm font-semibold text-slate-900 dark:text-white">
                                            Built to scale
                                        </span>
        <span class="block text-xs text-slate-500 dark:text-slate-400">
                                            Add advanced controls later
                                        </span>
        </span>
        </div>
        <div
                                    class="flex items-center gap-3 rounded-xl border border-violet-200 bg-white/70 px-3 py-3 dark:border-violet-500/20 dark:bg-white/5"
                                >
        <span
                                        class="grid h-8 w-8 shrink-0 place-items-center rounded-lg bg-emerald-100 text-emerald-700 dark:bg-emerald-500/15 dark:text-emerald-300"
                                    >
        <span class="icon-[lucide--shield-check] h-4 w-4" aria-hidden="true" >
        </span>
        </span>
        <span>
        <span class="block text-sm font-semibold text-slate-900 dark:text-white">
                                            Secure by design
                                        </span>
        <span class="block text-xs text-slate-500 dark:text-slate-400">
                                            Protect every account flow
                                        </span>
        </span>
        </div>
        </div>
        <a
                                href="/solutions/saas"
                                class="group mt-6 flex h-11 w-full items-center justify-center gap-2 rounded-xl bg-violet-600 px-4 text-sm font-bold text-white shadow-lg shadow-violet-600/20 transition hover:-translate-y-0.5 hover:bg-violet-500 hover:shadow-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-violet-500 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-slate-900"
                            >
                                Explore the SaaS solution

                                <span class="icon-[lucide--arrow-right] h-4 w-4 transition-transform group-hover:translate-x-1" aria-hidden="true" >
        </span>
        </a>
        </div>
        </aside>
        </div>
        <!-- Bottom use-case links -->
        <div
                    class="mt-7 flex flex-wrap items-center justify-between gap-4 border-t border-slate-200 pt-5 dark:border-white/10"
                >
        <div class="flex flex-wrap items-center gap-x-6 gap-y-3">
        <a
                            href="/solutions/customer-identity"
                            class="inline-flex items-center gap-2 text-sm font-semibold text-slate-600 transition hover:text-indigo-700 dark:text-slate-400 dark:hover:text-indigo-300"
                        >
        <span class="icon-[lucide--contact-round] h-4 w-4" aria-hidden="true" >
        </span>

                            Customer identity
                        </a>
        <a
                            href="/solutions/workforce-identity"
                            class="inline-flex items-center gap-2 text-sm font-semibold text-slate-600 transition hover:text-indigo-700 dark:text-slate-400 dark:hover:text-indigo-300"
                        >
        <span class="icon-[lucide--id-card] h-4 w-4" aria-hidden="true" >
        </span>

                            Workforce identity
                        </a>
        <a
                            href="/solutions/marketplaces"
                            class="inline-flex items-center gap-2 text-sm font-semibold text-slate-600 transition hover:text-indigo-700 dark:text-slate-400 dark:hover:text-indigo-300"
                        >
        <span class="icon-[lucide--store] h-4 w-4" aria-hidden="true" >
        </span>

                            Marketplaces
                        </a>
        <a
                            href="/solutions/multi-tenant"
                            class="inline-flex items-center gap-2 text-sm font-semibold text-slate-600 transition hover:text-indigo-700 dark:text-slate-400 dark:hover:text-indigo-300"
                        >
        <span class="icon-[lucide--network] h-4 w-4" aria-hidden="true" >
        </span>

                            Multi-tenant apps
                        </a>
        </div>
        <a
                        href="/customers"
                        class="group inline-flex items-center gap-2 text-sm font-semibold text-indigo-600 transition hover:text-indigo-800 dark:text-indigo-400 dark:hover:text-indigo-300"
                    >
                        See customer stories

                        <span class="icon-[lucide--arrow-up-right] h-4 w-4 transition-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5" aria-hidden="true" >
        </span>
        </a>
        </div>
        </div>
        </div>
    }
}