reopt design
DocsExploreTemplatesCanvasToolsPricing
Login
opt-uiopt-chartsopt-datagridopt-editoropt-calendaropt-filemanageropt-chatopt-shellbrandapp-ui
brandapp-ui8
Sign In Gate
reopt designreopt design

A design system for the AI era

  • Docs
  • Pricing
  • Releases
  • About
  • Contact
  • Terms of Service
  • Privacy Policy

reopt Inc.Business registration no. 217-88-02453contact@reopt.ai

© 2026 reopt Inc. All rights reserved.

Auth Gatebrandapp-ui example

Sign In Gate

A local simulation of a protected-content gate with loading, signed-out, and signed-in states. Its sign-in CTA changes only the preview state.

authsessionempty-stategate
opt block add sign-in-gate

APIs used

ButtonSkeleton

Live preview

Change the width and theme, then interact with the components.

1024px

세션 상태 시뮬레이션

현재 상태: signed-out

🔒

로그인이 필요합니다

이 화면을 이용하려면 Reopt 계정으로 로그인해주세요.

실제 Surface는 authClient.useSession()으로 세션 상태를 감지합니다. 이 데모는 버튼으로 3-state 분기를 시각화한 로컬 시뮬레이션입니다.

Install and import

Related docs

Install

opt block add sign-in-gate

Import

import { SignInGate } from "@/components/surfaces/sign-in-gate";

Related Examples

brandapp-ui

Reopt User Menu

Examples

A local user-menu simulation with loading, signed-out, sign-in, and sign-out transitions. The copied ReoptUserMenu Surface derives these states from the real session.

brandapp-ui

Session Expired Dialog

Examples

A local re-auth dialog simulation with manual expiry, optional dismissal, and a simulated sign-in action. Automatic session/401 detection belongs to the copied Surface.

brandapp-ui

BrandApp Control Center

Examples

SDK control center showing server-side verifier checks, auth health, secret rotation, EAV schema remediation, AI credit guardrails, webhook replay, terms publication, and lazy server-client boundaries.

PreviousReopt User MenuNextSession Expired Dialog