Function: Lens()
Lens(
props):Element
Defined in: lens.tsx:72
Parameters
props
children
Element
Trigger content (inline JSX — a term, a number, a thumbnail).
class?
string
detail
Component
Tier 3: the full, interactive detail view.
label
string
Accessible name for the trigger and heading for the detail panel.
panelClass?
string
Extra class(es) for the DETAIL PANEL (.aiui-lens-panel) — the hook for per-lens sizing (a wide instrument, a narrow definition) without touching the global panel rule. class styles the trigger only.
preview?
Component
Tier 2: the dense, glanceable preview. Omit to go straight to detail.
Returns
Element