reopt designreopt design
DocsExploreToolsPricingBuilder
Explore/
opt-ui161opt-charts21opt-datagrid5opt-editor5opt-chat6opt-shell14brandapp-ui8Examples12
reopt designreopt design

A design system for the AI era

  • Docs
  • Pricing
  • Releases
  • GitHub
  • Terms of Service
  • Privacy Policy

© 2026 reopt-ai. All rights reserved.

Explore/brandapp-ui/Sign In Gate
Auth Gatebrandapp-ui example

Sign In Gate

authClient.useSession() 상태에 따라 children/EmptyState/Skeleton 을 분기하는 게이트. 비로그인 시 인라인 안내와 SignInWithReoptButton CTA 가 노출됩니다.

Wraps protected content with session-aware empty/pending/signed-in branches and inline sign-in CTA.

authsessionempty-stategate
opt surface add sign-in-gate
SignInGate
1024px

세션 상태 시뮬레이션

현재 상태: signed-out

🔒

로그인이 필요합니다

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

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

Related Examples

User Menubrandapp-ui

Reopt User Menu

세션 상태에 따라 Avatar + Dropdown(로그아웃) 또는 로그인 버튼을 렌더하는 사용자 메뉴. 로딩/비로그인/로그인 3-state 를 자동 분기합니다.

authsessiondropdownavatar
ReoptUserMenu
Open
Session Modalbrandapp-ui

Session Expired Dialog

한 번 로그인된 세션이 만료되거나 401 응답이 발생하면 전역 모달로 재로그인을 유도합니다. forceReauth=true 면 backdrop/ESC dismiss 가 비활성화됩니다.

authsessiondialogglobal
SessionExpiredDialogSESSION_EXPIRED_EVENT
Open
BrandApp Control
healthy

1,248

OAuth sessions

18

EAV entities

8,420

AI credits

3/4

Published terms

SDK verifierready

server-only clients · webhooks · terms

Controlbrandapp-ui

BrandApp Control Center

brandapp-sdk 인증, SDK verifier, OAuth secret rotation, EAV drift remediation, AI credit guard, webhook replay, 약관 publish 클라이언트를 한 화면에서 점검하는 운영 콘솔형 Surface입니다.

brandapp-sdkverifierautheavai+1
createReoptEavClientcreateReoptTermsClientcreateBrandappProviderSignInGate
Open
PreviousReopt User MenuNextSession Expired Dialog