Files
WRNexusJSDoc/app/pages/components/public-mobile-navigation.wrn
T

581 lines
39 KiB
Plaintext

page PublicMobileNavigationcomponent {
seo {
title = "PublicMobileNavigation component"
description = "Reusable public mobile navigation component."
}
view {
<div class="docs-shell">
<SkipLink label="Skip to content" href="#main" class="docs-skip-link" />
<header class="topbar">
<a class="brand" href="/"><span>W</span> WRNexusJS</a>
<nav aria-label="Primary"><a href="/getting-started">Get started</a><a href="/packages">Packages</a><a href="/components">Components</a><a href="/language">Language</a><a href="/architecture">Architecture</a></nav>
<div class="topbar-actions"><a class="preview-pill" href="/access">Private preview · v0.2.68</a><button data-wire-theme-toggle class="theme-button" aria-label="Toggle color theme" title="Toggle color theme">◐</button></div>
</header>
<div class="mobile-doc-nav"><details><summary>Browse documentation</summary><nav><a href="/getting-started">Get started</a><a href="/packages">Packages</a><a href="/components">Components</a><a href="/language">Language</a><a href="/architecture">Architecture</a><a href="/tutorial">Tutorial</a><a href="/guides/project-structure">Guides</a><a href="/examples">Examples</a><a href="/search">Search</a></nav></details></div>
<main class="portal-main docs-layout component-detail-page"><article id="main" class="documentation prose standalone"><nav class="breadcrumbs" aria-label="Breadcrumb"><a href="/">Home</a><span>/</span><a href="/components">Components</a><span>/</span><span aria-current="page">PublicMobileNavigation</span></nav><section class="doc-intro"><span class="eyebrow">core component</span><h1>PublicMobileNavigation</h1><p>Reusable public mobile navigation component.</p><div class="doc-meta"><span>@wrnexus/ui 0.2.68</span><span>1 props</span><span>0 slots</span><span>1 events</span></div></section><section id="usage"><h2>Usage</h2><p>Components are auto-discovered. Use the component directly in any <code>.wrn</code> view:</p><pre data-language="wrn"><code>&lt;PublicMobileNavigation /&gt;</code></pre><p>Legacy mount name: <code>data-component=&quot;PublicMobileNavigation&quot;</code>.</p></section><section id="props"><h2>Props and attributes</h2><div class="table-wrap"><table><thead><tr><th>Prop</th><th>Type</th><th>Requirement</th><th>Default</th></tr></thead><tbody><tr><td><code>class</code></td><td><code>string</code></td><td>Optional</td><td><code>&quot;&quot;</code></td></tr></tbody></table></div></section><section id="slots"><h2>Slots</h2><p>This component does not declare a slot.</p></section><section id="events"><h2>Events</h2><ul><li><code>click</code></li></ul></section><section id="source"><h2>Source contract</h2><p>Installed source: <code>components/PublicMobileNavigation.wrn</code></p><pre data-language="wrn"><code>component PublicMobileNavigation &#123;
props &#123;
class: string = &quot;&quot;
&#125;
state openSection = &quot;&quot;
view &#123;
&lt;div
class=&quot;border-t border-slate-200 bg-white shadow-xl dark:border-white/10 dark:bg-slate-950 lg:hidden &#123;class&#125;&quot;
&gt;
&lt;div class=&quot;mx-auto max-h-[calc(100dvh-4.5rem)] max-w-7xl overflow-y-auto px-5 py-5 sm:px-8&quot;&gt;
&lt;!-- Mobile status --&gt;
&lt;a
href=&quot;/status&quot;
class=&quot;mb-5 flex items-center justify-between rounded-2xl border border-emerald-200 bg-emerald-50 px-4 py-3 transition hover:border-emerald-300 hover:bg-emerald-100 dark:border-emerald-500/20 dark:bg-emerald-500/10 dark:hover:border-emerald-500/30 dark:hover:bg-emerald-500/15&quot;
&gt;
&lt;span class=&quot;flex items-center gap-3&quot;&gt;
&lt;span class=&quot;relative flex h-2.5 w-2.5 shrink-0&quot;&gt;
&lt;span class=&quot;absolute inline-flex h-full w-full animate-ping rounded-full bg-emerald-400 opacity-60&quot;&gt;
&lt;/span&gt;
&lt;span class=&quot;relative inline-flex h-2.5 w-2.5 rounded-full bg-emerald-500&quot;&gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span&gt;
&lt;span class=&quot;block text-sm font-semibold text-emerald-900 dark:text-emerald-100&quot;&gt;
All systems operational
&lt;/span&gt;
&lt;span class=&quot;mt-0.5 block text-xs text-emerald-700 dark:text-emerald-300&quot;&gt;
View service status
&lt;/span&gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span class=&quot;icon-[lucide--arrow-up-right] h-4 w-4 shrink-0 text-emerald-700 dark:text-emerald-300&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/a&gt;
&lt;nav
aria-label=&quot;Mobile navigation&quot;
class=&quot;space-y-2&quot;
&gt;
&lt;!-- Product --&gt;
&lt;div
class=&quot;overflow-hidden rounded-2xl border border-slate-200 bg-white dark:border-white/10 dark:bg-white/5&quot;
&gt;
&lt;button
type=&quot;button&quot;
@click=&quot;openSection = openSection === 'product' ? '' : 'product'&quot;
aria-expanded=&quot;&#123;openSection === 'product'&#125;&quot;
aria-controls=&quot;mobile-product-menu&quot;
class=&quot;flex w-full items-center justify-between gap-4 px-4 py-4 text-left transition hover:bg-slate-50 dark:hover:bg-white/5&quot;
class:bg-indigo-50=&quot;openSection === 'product'&quot;
class:dark:bg-indigo-500/10=&quot;openSection === 'product'&quot;
&gt;
&lt;span class=&quot;flex items-center gap-3&quot;&gt;
&lt;span
class=&quot;grid h-10 w-10 shrink-0 place-items-center rounded-xl transition&quot;
class:bg-indigo-100=&quot;openSection === 'product'&quot;
class:text-indigo-700=&quot;openSection === 'product'&quot;
class:bg-slate-100=&quot;openSection !== 'product'&quot;
class:text-slate-600=&quot;openSection !== 'product'&quot;
class:dark:bg-indigo-500/15=&quot;openSection === 'product'&quot;
class:dark:text-indigo-300=&quot;openSection === 'product'&quot;
class:dark:bg-white/5=&quot;openSection !== 'product'&quot;
class:dark:text-slate-300=&quot;openSection !== 'product'&quot;
&gt;
&lt;span class=&quot;icon-[lucide--boxes] h-5 w-5&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span&gt;
&lt;span
class=&quot;block text-sm font-semibold&quot;
class:text-indigo-950=&quot;openSection === 'product'&quot;
class:text-slate-950=&quot;openSection !== 'product'&quot;
class:dark:text-indigo-100=&quot;openSection === 'product'&quot;
class:dark:text-white=&quot;openSection !== 'product'&quot;
&gt;
Product
&lt;/span&gt;
&lt;span class=&quot;mt-0.5 block text-xs text-slate-500 dark:text-slate-400&quot;&gt;
Explore the WRNexusJS platform
&lt;/span&gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span class=&quot;icon-[lucide--chevron-down] h-5 w-5 shrink-0 text-slate-400 transition-transform duration-200&quot; class:rotate-180=&quot;openSection === 'product'&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/button&gt;
&lt;div
id=&quot;mobile-product-menu&quot;
data-show=&quot;openSection === 'product'&quot;
class=&quot;border-t border-slate-200 px-3 py-3 dark:border-white/10&quot;
&gt;
&lt;div class=&quot;grid gap-1&quot;&gt;
&lt;a
href=&quot;/platform&quot;
class=&quot;group flex items-start gap-3 rounded-xl px-3 py-3 transition hover:bg-slate-100 dark:hover:bg-white/5&quot;
&gt;
&lt;span
class=&quot;grid h-9 w-9 shrink-0 place-items-center rounded-lg bg-indigo-50 text-indigo-700 dark:bg-indigo-500/10 dark:text-indigo-300&quot;
&gt;
&lt;span class=&quot;icon-[lucide--layers-3] h-4 w-4&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span&gt;
&lt;span
class=&quot;block text-sm font-semibold text-slate-900 group-hover:text-indigo-700 dark:text-white dark:group-hover:text-indigo-300&quot;
&gt;
Platform
&lt;/span&gt;
&lt;span class=&quot;mt-0.5 block text-xs leading-5 text-slate-500 dark:text-slate-400&quot;&gt;
Complete identity infrastructure
&lt;/span&gt;
&lt;/span&gt;
&lt;/a&gt;
&lt;a
href=&quot;/authentication&quot;
class=&quot;group flex items-start gap-3 rounded-xl px-3 py-3 transition hover:bg-slate-100 dark:hover:bg-white/5&quot;
&gt;
&lt;span
class=&quot;grid h-9 w-9 shrink-0 place-items-center rounded-lg bg-violet-50 text-violet-700 dark:bg-violet-500/10 dark:text-violet-300&quot;
&gt;
&lt;span class=&quot;icon-[lucide--fingerprint] h-4 w-4&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span&gt;
&lt;span
class=&quot;block text-sm font-semibold text-slate-900 group-hover:text-indigo-700 dark:text-white dark:group-hover:text-indigo-300&quot;
&gt;
Authentication
&lt;/span&gt;
&lt;span class=&quot;mt-0.5 block text-xs leading-5 text-slate-500 dark:text-slate-400&quot;&gt;
Passwords, passkeys, social login, and SSO
&lt;/span&gt;
&lt;/span&gt;
&lt;/a&gt;
&lt;a
href=&quot;/user-management&quot;
class=&quot;group flex items-start gap-3 rounded-xl px-3 py-3 transition hover:bg-slate-100 dark:hover:bg-white/5&quot;
&gt;
&lt;span
class=&quot;grid h-9 w-9 shrink-0 place-items-center rounded-lg bg-cyan-50 text-cyan-700 dark:bg-cyan-500/10 dark:text-cyan-300&quot;
&gt;
&lt;span class=&quot;icon-[lucide--users-round] h-4 w-4&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span&gt;
&lt;span
class=&quot;block text-sm font-semibold text-slate-900 group-hover:text-indigo-700 dark:text-white dark:group-hover:text-indigo-300&quot;
&gt;
User management
&lt;/span&gt;
&lt;span class=&quot;mt-0.5 block text-xs leading-5 text-slate-500 dark:text-slate-400&quot;&gt;
Profiles, sessions, invitations, and lifecycle
&lt;/span&gt;
&lt;/span&gt;
&lt;/a&gt;
&lt;a
href=&quot;/organizations&quot;
class=&quot;group flex items-start gap-3 rounded-xl px-3 py-3 transition hover:bg-slate-100 dark:hover:bg-white/5&quot;
&gt;
&lt;span
class=&quot;grid h-9 w-9 shrink-0 place-items-center rounded-lg bg-emerald-50 text-emerald-700 dark:bg-emerald-500/10 dark:text-emerald-300&quot;
&gt;
&lt;span class=&quot;icon-[lucide--building-2] h-4 w-4&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span&gt;
&lt;span
class=&quot;block text-sm font-semibold text-slate-900 group-hover:text-indigo-700 dark:text-white dark:group-hover:text-indigo-300&quot;
&gt;
Organizations
&lt;/span&gt;
&lt;span class=&quot;mt-0.5 block text-xs leading-5 text-slate-500 dark:text-slate-400&quot;&gt;
Multi-tenant workspaces and teams
&lt;/span&gt;
&lt;/span&gt;
&lt;/a&gt;
&lt;a
href=&quot;/security&quot;
class=&quot;group flex items-start gap-3 rounded-xl px-3 py-3 transition hover:bg-slate-100 dark:hover:bg-white/5&quot;
&gt;
&lt;span
class=&quot;grid h-9 w-9 shrink-0 place-items-center rounded-lg bg-amber-50 text-amber-700 dark:bg-amber-500/10 dark:text-amber-300&quot;
&gt;
&lt;span class=&quot;icon-[lucide--shield-check] h-4 w-4&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span&gt;
&lt;span
class=&quot;block text-sm font-semibold text-slate-900 group-hover:text-indigo-700 dark:text-white dark:group-hover:text-indigo-300&quot;
&gt;
Security
&lt;/span&gt;
&lt;span class=&quot;mt-0.5 block text-xs leading-5 text-slate-500 dark:text-slate-400&quot;&gt;
Protect identities and sensitive actions
&lt;/span&gt;
&lt;/span&gt;
&lt;/a&gt;
&lt;a
href=&quot;/integrations&quot;
class=&quot;group flex items-start gap-3 rounded-xl px-3 py-3 transition hover:bg-slate-100 dark:hover:bg-white/5&quot;
&gt;
&lt;span
class=&quot;grid h-9 w-9 shrink-0 place-items-center rounded-lg bg-rose-50 text-rose-700 dark:bg-rose-500/10 dark:text-rose-300&quot;
&gt;
&lt;span class=&quot;icon-[lucide--plug] h-4 w-4&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span&gt;
&lt;span
class=&quot;block text-sm font-semibold text-slate-900 group-hover:text-indigo-700 dark:text-white dark:group-hover:text-indigo-300&quot;
&gt;
Integrations
&lt;/span&gt;
&lt;span class=&quot;mt-0.5 block text-xs leading-5 text-slate-500 dark:text-slate-400&quot;&gt;
Connect your stack and applications
&lt;/span&gt;
&lt;/span&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;a
href=&quot;/product&quot;
class=&quot;mt-2 flex items-center justify-center gap-2 rounded-xl bg-indigo-50 px-4 py-3 text-sm font-semibold text-indigo-700 transition hover:bg-indigo-100 dark:bg-indigo-500/10 dark:text-indigo-300 dark:hover:bg-indigo-500/15&quot;
&gt;
View all product features
&lt;span class=&quot;icon-[lucide--arrow-right] h-4 w-4&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Solutions --&gt;
&lt;div
class=&quot;overflow-hidden rounded-2xl border border-slate-200 bg-white dark:border-white/10 dark:bg-white/5&quot;
&gt;
&lt;button
type=&quot;button&quot;
@click=&quot;openSection = openSection === 'solutions' ? '' : 'solutions'&quot;
aria-expanded=&quot;&#123;openSection === 'solutions'&#125;&quot;
aria-controls=&quot;mobile-solutions-menu&quot;
class=&quot;flex w-full items-center justify-between gap-4 px-4 py-4 text-left transition hover:bg-slate-50 dark:hover:bg-white/5&quot;
class:bg-indigo-50=&quot;openSection === 'solutions'&quot;
class:dark:bg-indigo-500/10=&quot;openSection === 'solutions'&quot;
&gt;
&lt;span class=&quot;flex items-center gap-3&quot;&gt;
&lt;span
class=&quot;grid h-10 w-10 shrink-0 place-items-center rounded-xl transition&quot;
class:bg-indigo-100=&quot;openSection === 'solutions'&quot;
class:text-indigo-700=&quot;openSection === 'solutions'&quot;
class:bg-slate-100=&quot;openSection !== 'solutions'&quot;
class:text-slate-600=&quot;openSection !== 'solutions'&quot;
class:dark:bg-indigo-500/15=&quot;openSection === 'solutions'&quot;
class:dark:text-indigo-300=&quot;openSection === 'solutions'&quot;
class:dark:bg-white/5=&quot;openSection !== 'solutions'&quot;
class:dark:text-slate-300=&quot;openSection !== 'solutions'&quot;
&gt;
&lt;span class=&quot;icon-[lucide--lightbulb] h-5 w-5&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span&gt;
&lt;span class=&quot;block text-sm font-semibold text-slate-950 dark:text-white&quot;&gt;
Solutions
&lt;/span&gt;
&lt;span class=&quot;mt-0.5 block text-xs text-slate-500 dark:text-slate-400&quot;&gt;
Built for your business
&lt;/span&gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span class=&quot;icon-[lucide--chevron-down] h-5 w-5 shrink-0 text-slate-400 transition-transform duration-200&quot; class:rotate-180=&quot;openSection === 'solutions'&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/button&gt;
&lt;div
id=&quot;mobile-solutions-menu&quot;
data-show=&quot;openSection === 'solutions'&quot;
class=&quot;border-t border-slate-200 px-3 py-3 dark:border-white/10&quot;
&gt;
&lt;div class=&quot;grid grid-cols-2 gap-2&quot;&gt;
&lt;a
href=&quot;/solutions/startups&quot;
class=&quot;rounded-xl px-3 py-3 transition hover:bg-slate-100 dark:hover:bg-white/5&quot;
&gt;
&lt;span class=&quot;icon-[lucide--rocket] h-5 w-5 text-indigo-600 dark:text-indigo-400&quot;&gt;
&lt;/span&gt;
&lt;span class=&quot;mt-2 block text-sm font-semibold text-slate-900 dark:text-white&quot;&gt;
Startups
&lt;/span&gt;
&lt;/a&gt;
&lt;a
href=&quot;/solutions/saas&quot;
class=&quot;rounded-xl px-3 py-3 transition hover:bg-slate-100 dark:hover:bg-white/5&quot;
&gt;
&lt;span class=&quot;icon-[lucide--cloud] h-5 w-5 text-cyan-600 dark:text-cyan-400&quot;&gt;
&lt;/span&gt;
&lt;span class=&quot;mt-2 block text-sm font-semibold text-slate-900 dark:text-white&quot;&gt;
SaaS
&lt;/span&gt;
&lt;/a&gt;
&lt;a
href=&quot;/solutions/enterprise&quot;
class=&quot;rounded-xl px-3 py-3 transition hover:bg-slate-100 dark:hover:bg-white/5&quot;
&gt;
&lt;span class=&quot;icon-[lucide--building] h-5 w-5 text-violet-600 dark:text-violet-400&quot;&gt;
&lt;/span&gt;
&lt;span class=&quot;mt-2 block text-sm font-semibold text-slate-900 dark:text-white&quot;&gt;
Enterprise
&lt;/span&gt;
&lt;/a&gt;
&lt;a
href=&quot;/solutions/developers&quot;
class=&quot;rounded-xl px-3 py-3 transition hover:bg-slate-100 dark:hover:bg-white/5&quot;
&gt;
&lt;span class=&quot;icon-[lucide--code-2] h-5 w-5 text-emerald-600 dark:text-emerald-400&quot;&gt;
&lt;/span&gt;
&lt;span class=&quot;mt-2 block text-sm font-semibold text-slate-900 dark:text-white&quot;&gt;
Developers
&lt;/span&gt;
&lt;/a&gt;
&lt;a
href=&quot;/solutions/agencies&quot;
class=&quot;rounded-xl px-3 py-3 transition hover:bg-slate-100 dark:hover:bg-white/5&quot;
&gt;
&lt;span class=&quot;icon-[lucide--briefcase-business] h-5 w-5 text-amber-600 dark:text-amber-400&quot;&gt;
&lt;/span&gt;
&lt;span class=&quot;mt-2 block text-sm font-semibold text-slate-900 dark:text-white&quot;&gt;
Agencies
&lt;/span&gt;
&lt;/a&gt;
&lt;a
href=&quot;/solutions/b2b&quot;
class=&quot;rounded-xl px-3 py-3 transition hover:bg-slate-100 dark:hover:bg-white/5&quot;
&gt;
&lt;span class=&quot;icon-[lucide--handshake] h-5 w-5 text-rose-600 dark:text-rose-400&quot;&gt;
&lt;/span&gt;
&lt;span class=&quot;mt-2 block text-sm font-semibold text-slate-900 dark:text-white&quot;&gt;
B2B
&lt;/span&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Developers --&gt;
&lt;div
class=&quot;overflow-hidden rounded-2xl border border-slate-200 bg-white dark:border-white/10 dark:bg-white/5&quot;
&gt;
&lt;button
type=&quot;button&quot;
@click=&quot;openSection = openSection === 'developers' ? '' : 'developers'&quot;
aria-expanded=&quot;&#123;openSection === 'developers'&#125;&quot;
aria-controls=&quot;mobile-developers-menu&quot;
class=&quot;flex w-full items-center justify-between gap-4 px-4 py-4 text-left transition hover:bg-slate-50 dark:hover:bg-white/5&quot;
class:bg-indigo-50=&quot;openSection === 'developers'&quot;
class:dark:bg-indigo-500/10=&quot;openSection === 'developers'&quot;
&gt;
&lt;span class=&quot;flex items-center gap-3&quot;&gt;
&lt;span
class=&quot;grid h-10 w-10 shrink-0 place-items-center rounded-xl transition&quot;
class:bg-indigo-100=&quot;openSection === 'developers'&quot;
class:text-indigo-700=&quot;openSection === 'developers'&quot;
class:bg-slate-100=&quot;openSection !== 'developers'&quot;
class:text-slate-600=&quot;openSection !== 'developers'&quot;
class:dark:bg-indigo-500/15=&quot;openSection === 'developers'&quot;
class:dark:text-indigo-300=&quot;openSection === 'developers'&quot;
class:dark:bg-white/5=&quot;openSection !== 'developers'&quot;
class:dark:text-slate-300=&quot;openSection !== 'developers'&quot;
&gt;
&lt;span class=&quot;icon-[lucide--terminal-square] h-5 w-5&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span&gt;
&lt;span class=&quot;block text-sm font-semibold text-slate-950 dark:text-white&quot;&gt;
Developers
&lt;/span&gt;
&lt;span class=&quot;mt-0.5 block text-xs text-slate-500 dark:text-slate-400&quot;&gt;
Build with WRNexusJS
&lt;/span&gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span class=&quot;icon-[lucide--chevron-down] h-5 w-5 shrink-0 text-slate-400 transition-transform duration-200&quot; class:rotate-180=&quot;openSection === 'developers'&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/button&gt;
&lt;div
id=&quot;mobile-developers-menu&quot;
data-show=&quot;openSection === 'developers'&quot;
class=&quot;border-t border-slate-200 px-3 py-3 dark:border-white/10&quot;
&gt;
&lt;div class=&quot;grid gap-1&quot;&gt;
&lt;a
href=&quot;/docs&quot;
class=&quot;flex items-center gap-3 rounded-xl px-3 py-3 text-sm font-semibold text-slate-800 transition hover:bg-slate-100 hover:text-indigo-700 dark:text-slate-200 dark:hover:bg-white/5 dark:hover:text-indigo-300&quot;
&gt;
&lt;span class=&quot;icon-[lucide--book-open] h-5 w-5 text-indigo-600 dark:text-indigo-400&quot;&gt;
&lt;/span&gt;
Documentation
&lt;/a&gt;
&lt;a
href=&quot;/docs/api&quot;
class=&quot;flex items-center gap-3 rounded-xl px-3 py-3 text-sm font-semibold text-slate-800 transition hover:bg-slate-100 hover:text-indigo-700 dark:text-slate-200 dark:hover:bg-white/5 dark:hover:text-indigo-300&quot;
&gt;
&lt;span class=&quot;icon-[lucide--braces] h-5 w-5 text-violet-600 dark:text-violet-400&quot;&gt;
&lt;/span&gt;
API reference
&lt;/a&gt;
&lt;a
href=&quot;/sdks&quot;
class=&quot;flex items-center gap-3 rounded-xl px-3 py-3 text-sm font-semibold text-slate-800 transition hover:bg-slate-100 hover:text-indigo-700 dark:text-slate-200 dark:hover:bg-white/5 dark:hover:text-indigo-300&quot;
&gt;
&lt;span class=&quot;icon-[lucide--package] h-5 w-5 text-cyan-600 dark:text-cyan-400&quot;&gt;
&lt;/span&gt;
SDKs
&lt;/a&gt;
&lt;a
href=&quot;/examples&quot;
class=&quot;flex items-center gap-3 rounded-xl px-3 py-3 text-sm font-semibold text-slate-800 transition hover:bg-slate-100 hover:text-indigo-700 dark:text-slate-200 dark:hover:bg-white/5 dark:hover:text-indigo-300&quot;
&gt;
&lt;span class=&quot;icon-[lucide--flask-conical] h-5 w-5 text-emerald-600 dark:text-emerald-400&quot;&gt;
&lt;/span&gt;
Examples
&lt;/a&gt;
&lt;a
href=&quot;/changelog&quot;
class=&quot;flex items-center gap-3 rounded-xl px-3 py-3 text-sm font-semibold text-slate-800 transition hover:bg-slate-100 hover:text-indigo-700 dark:text-slate-200 dark:hover:bg-white/5 dark:hover:text-indigo-300&quot;
&gt;
&lt;span class=&quot;icon-[lucide--history] h-5 w-5 text-amber-600 dark:text-amber-400&quot;&gt;
&lt;/span&gt;
Changelog
&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Resources --&gt;
&lt;div
class=&quot;overflow-hidden rounded-2xl border border-slate-200 bg-white dark:border-white/10 dark:bg-white/5&quot;
&gt;
&lt;button
type=&quot;button&quot;
@click=&quot;openSection = openSection === 'resources' ? '' : 'resources'&quot;
aria-expanded=&quot;&#123;openSection === 'resources'&#125;&quot;
aria-controls=&quot;mobile-resources-menu&quot;
class=&quot;flex w-full items-center justify-between gap-4 px-4 py-4 text-left transition hover:bg-slate-50 dark:hover:bg-white/5&quot;
class:bg-indigo-50=&quot;openSection === 'resources'&quot;
class:dark:bg-indigo-500/10=&quot;openSection === 'resources'&quot;
&gt;
&lt;span class=&quot;flex items-center gap-3&quot;&gt;
&lt;span
class=&quot;grid h-10 w-10 shrink-0 place-items-center rounded-xl transition&quot;
class:bg-indigo-100=&quot;openSection === 'resources'&quot;
class:text-indigo-700=&quot;openSection === 'resources'&quot;
class:bg-slate-100=&quot;openSection !== 'resources'&quot;
class:text-slate-600=&quot;openSection !== 'resources'&quot;
class:dark:bg-indigo-500/15=&quot;openSection === 'resources'&quot;
class:dark:text-indigo-300=&quot;openSection === 'resources'&quot;
class:dark:bg-white/5=&quot;openSection !== 'resources'&quot;
class:dark:text-slate-300=&quot;openSection !== 'resources'&quot;
&gt;
&lt;span class=&quot;icon-[lucide--library] h-5 w-5&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span&gt;
&lt;span class=&quot;block text-sm font-semibold text-slate-950 dark:text-white&quot;&gt;
Resources
&lt;/span&gt;
&lt;span class=&quot;mt-0.5 block text-xs text-slate-500 dark:text-slate-400&quot;&gt;
Learn and get support
&lt;/span&gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span class=&quot;icon-[lucide--chevron-down] h-5 w-5 shrink-0 text-slate-400 transition-transform duration-200&quot; class:rotate-180=&quot;openSection === 'resources'&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/button&gt;
&lt;div
id=&quot;mobile-resources-menu&quot;
data-show=&quot;openSection === 'resources'&quot;
class=&quot;border-t border-slate-200 px-3 py-3 dark:border-white/10&quot;
&gt;
&lt;div class=&quot;grid grid-cols-2 gap-2&quot;&gt;
&lt;a
href=&quot;/blog&quot;
class=&quot;rounded-xl px-3 py-3 text-sm font-semibold text-slate-800 transition hover:bg-slate-100 dark:text-slate-200 dark:hover:bg-white/5&quot;
&gt;
Blog
&lt;/a&gt;
&lt;a
href=&quot;/customers&quot;
class=&quot;rounded-xl px-3 py-3 text-sm font-semibold text-slate-800 transition hover:bg-slate-100 dark:text-slate-200 dark:hover:bg-white/5&quot;
&gt;
Customer stories
&lt;/a&gt;
&lt;a
href=&quot;/guides&quot;
class=&quot;rounded-xl px-3 py-3 text-sm font-semibold text-slate-800 transition hover:bg-slate-100 dark:text-slate-200 dark:hover:bg-white/5&quot;
&gt;
Guides
&lt;/a&gt;
&lt;a
href=&quot;/help&quot;
class=&quot;rounded-xl px-3 py-3 text-sm font-semibold text-slate-800 transition hover:bg-slate-100 dark:text-slate-200 dark:hover:bg-white/5&quot;
&gt;
Help center
&lt;/a&gt;
&lt;a
href=&quot;/security&quot;
class=&quot;rounded-xl px-3 py-3 text-sm font-semibold text-slate-800 transition hover:bg-slate-100 dark:text-slate-200 dark:hover:bg-white/5&quot;
&gt;
Security
&lt;/a&gt;
&lt;a
href=&quot;/trust&quot;
class=&quot;rounded-xl px-3 py-3 text-sm font-semibold text-slate-800 transition hover:bg-slate-100 dark:text-slate-200 dark:hover:bg-white/5&quot;
&gt;
Trust center
&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Direct links --&gt;
&lt;a
href=&quot;/pricing&quot;
class=&quot;flex items-center justify-between rounded-2xl border border-slate-200 bg-white px-4 py-4 text-sm font-semibold text-slate-950 transition hover:border-indigo-300 hover:bg-indigo-50 dark:border-white/10 dark:bg-white/5 dark:text-white dark:hover:border-indigo-500 dark:hover:bg-indigo-500/10&quot;
&gt;
&lt;span class=&quot;flex items-center gap-3&quot;&gt;
&lt;span
class=&quot;grid h-10 w-10 place-items-center rounded-xl bg-slate-100 text-slate-600 dark:bg-white/5 dark:text-slate-300&quot;
&gt;
&lt;span class=&quot;icon-[lucide--badge-dollar-sign] h-5 w-5&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/span&gt;
Pricing
&lt;/span&gt;
&lt;span class=&quot;icon-[lucide--chevron-right] h-5 w-5 text-slate-400&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/a&gt;
&lt;/nav&gt;
&lt;!-- Mobile CTAs --&gt;
&lt;div class=&quot;mt-5 grid gap-3 border-t border-slate-200 pt-5 dark:border-white/10 sm:grid-cols-2&quot;&gt;
&lt;a
href=&quot;/sign-in&quot;
class=&quot;flex h-12 items-center justify-center gap-2 rounded-xl border border-slate-200 bg-white px-5 text-sm font-semibold text-slate-700 shadow-sm transition hover:border-indigo-300 hover:bg-slate-50 hover:text-indigo-700 focus:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500 dark:border-white/10 dark:bg-white/5 dark:text-slate-200 dark:hover:border-indigo-500 dark:hover:bg-white/10 dark:hover:text-indigo-300&quot;
&gt;
&lt;span class=&quot;icon-[lucide--log-in] h-4 w-4&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
Sign in
&lt;/a&gt;
&lt;a
href=&quot;/sign-up&quot;
class=&quot;group flex h-12 items-center justify-center gap-2 rounded-xl bg-indigo-600 px-5 text-sm font-bold text-white shadow-lg shadow-indigo-600/20 transition hover:-translate-y-0.5 hover:bg-indigo-500 hover:shadow-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500&quot;
&gt;
Start free
&lt;span class=&quot;icon-[lucide--arrow-right] h-4 w-4 transition-transform group-hover:translate-x-1&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;p class=&quot;mt-5 text-center text-xs leading-5 text-slate-400 dark:text-slate-500&quot;&gt;
Secure identity infrastructure for modern applications.
&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&#125;
&#125;
</code></pre></section></article><aside class="on-this-page"><h2>On this page</h2><nav><a href="#usage">Usage</a><a href="#props">Props and attributes</a><a href="#slots">Slots</a><a href="#events">Events</a><a href="#source">Source contract</a></nav></aside></main>
<footer><div class="footer-brand"><span class="footer-mark" aria-hidden="true">W</span><p><strong>WRNexusJS 0.2.68</strong><span>Complete API documentation generated from installed package declarations.</span></p></div><nav aria-label="Footer"><a href="/packages">All packages</a><a href="/getting-started">Get started</a><a href="/security">Security</a><a href="/support">Support</a><a href="/llms.txt">AI guide</a></nav><p class="footer-meta">Private Developer Preview · Bun-native</p></footer>
<BackToTop />
</div>
}
}