reopt design
DocsExploreTemplatesCanvasToolsPricing
Login
opt-uiopt-chartsopt-datagridopt-editoropt-calendaropt-filemanageropt-chatopt-shellbrandapp-ui
Overview205Core74Shells99Blocks32
Identity
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.

Identity

Component

Represent a person or anonymous device in a list cell with name, email, and ID fallbacks.

Related docs
bun add @reopt-ai/opt-ui
Install and import
bash
bun add @reopt-ai/opt-ui
tsx
import { Identity } from "@reopt-ai/opt-ui";

Live preview

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

100%

식별·익명 사용자가 섞인 활동 목록

이름 → 이메일 → ID 순서로 안전하게 대체합니다.

Identified and anonymous customer activity
IdentityLatest activity
MPMina ParkKnownmina.park@example.comCheckout completed
Jjoon@example.comKnownPricing page viewed
dev_8f2a91Anonymous deviceProduct tour started

Usage guidance

Best practices

  • Use consistently in columns identifying the subject of user, session, and event tables.

Usage to avoid

  • Use Avatar directly when only an avatar is needed.

Identity

PropTypeDefaultDescription
namestring | null—표시 이름. 없으면 secondary, 그다음 id로 폴백한다
secondarystring | null—보통 이메일. 이름이 없으면 주 라벨로 승격된다
idstring—최후 폴백 라벨이자 hover 시 title
avatarSrcstring | null—아바타 이미지 URL
state"identified" | "anonymous"—익명 여부. 디바이스를 사람으로 오독하지 않게 배지로 표시한다
badgeReactNode—state 배지 대신 표시할 내용 (라이프사이클 단계 등)
size"sm" | "md""md"밀도 프리셋
hideAvatarbooleanfalse이미 밀도가 높은 행에서 아바타 제거
labels{ identified?: string; anonymous?: string }—식별/익명 배지 문구
View test results

테스트 커버리지

2026년 7월 9일

생성된 테스트 결과를 찾지 못했습니다.

Identity 항목이 문서 메타에 연결되어 있지만 현재 생성 파일에는 없습니다.

테스트를 추가한 뒤 `bun run generate:test-results`를 실행하거나 `testDescribe` 매핑을 다시 확인하세요.

Related components

opt-ui

FieldToken

Core

Display field types with consistent glyphs and optional labels for strings, numbers, dates, IP addresses, and geographic data.

opt-ui

Facet

Core

Filter by field values while reading their counts and distribution bars. Show top values first and collapse the long tail.

opt-ui

Expression

Core

Read and edit conditions as sentences for alert rules and segment filters that need to be easy to verify.

opt-ui

TextTruncate

Core

Measure text in its actual font and available width to truncate the start, middle, or both ends while preserving the full accessible text.

opt-ui

Highlight

Core

Mark matching search terms with semantic mark elements, matching longer terms first to avoid fragmented overlaps.

opt-ui

LiveRegion

Core

Announce live updates to screen readers with throttled summaries and alternating nodes that can repeat identical messages.

PreviousDescriptionListNextCard