Search articles

Enter a keyword to search.

Esc to close

Pixel office switch

Slide a liquid-glass lens between a sunlit city office and a late-night focus session.

Customize

Props3 items

PropsTypeDefaultDescription
defaultCheckedbooleanfalseStart focused, lowering the blinds, changing the city to night and turning on the desk lamp.
ariaLabelstring"像素工位开关"Accessible switch name announced by screen readers.
onChange(checked: boolean) => void—Returns true for focused or false for available after a user change.

Visual reference shared by Ai Caffeine

Component directory