FaqAccordion
ShellsOrganize FAQ questions and answers with Composite and Disclosure components.
Consult six design-system reference sections covering primitives, keyboard patterns, Tailwind selectors, and accessibility attributes.
bun add @reopt-ai/opt-uiimport { DesignGuidePanel } from "@reopt-ai/opt-ui";Change the width and theme, then interact with the components.
디자인 시스템의 아키텍처를 한눈에 정리한 참조 패널입니다. UI 디버거와 별도로 @reopt-ai/opt-ui에서 export되며, 필요한 페이지에 직접 렌더링하여 사용합니다.
import { DesignGuidePanel } from "@reopt-ai/opt-ui";
// 아무 페이지에서 렌더링
<DesignGuidePanel />패널에 포함된 6개 섹션:
예제별 사용 primitive와 WAI-ARIA 역할 표
글로벌 단축키, Composite/Roving Tabindex, 예제별 키보드 조작
data-[active-item], data-[focus-visible], data-[enter]/[leave], data-[open] 등 사용법
WAI-ARIA 역할, aria-label, aria-invalid, aria-expanded, aria-live
RouteFocusManager, Sidebar activeId 동기화, focusLoop/focusWrap, Dialog 포커스 트랩
폴더 트리, 핵심 의존성 목록
DesignGuidePanel은 다음과 같은 상황에서 유용합니다:
Organize FAQ questions and answers with Composite and Disclosure components.
Browse environment variables with collapsible environment groups and Composite navigation.
Choose a Git branch with a wrapper around the Select primitive.
Present frequent actions in a grid or list with keyboard shortcut labels.
Show team members and online status in list, compact, or avatar-only layouts.
Display an event icon from a semantic key or React node with a background color.