Dark Mode Toggle example, Command Palette: Press ⌘K (or the search icon) and a domain opens from the icon in which the page becomes a command palette. Run a command or press Esc and it collapses back into the icon. A take on the toggle (switch). Fits navbar and app UI sections.
Dark Mode Toggle example, Dark Mode: A landing page's theme toggle. Dark mode opens from the button as a domain and takes the page over, with a seam of stars at its edge; press again to draw it back in. A take on the toggle (switch). Fits navbar and app UI sections.
Dark Mode Toggle example, Focus Mode: A writing app. Focus opens a calm, dark domain in which the sidebar and toolbar, wrapped in `DomainSwitchAside`, dissolve, and the document in `DomainSwitchMain` comes forward. One `Editor` renders both worlds. Esc leaves. A take on the toggle (switch). Fits navbar and app UI sections.
Sticky Navbar on Scroll example, AI Product: An AI inbox's landing page. Scroll the page: the bar docks into a pill, and "Get Morrow" flies up into it as the hero passes under. Scroll back up and it flies home. A take on the navbar (nav bar). Fits navbar, shop and hero sections.
Sticky Navbar on Scroll example, Sticky Add to Bag: A product page where "Add to bag" moves into the nav, so it's one click away all the way down to the reviews. Either copy adds to the bag, and the action's count and the button's label update in both places. A take on the navbar (nav bar). Fits navbar, shop and hero sections.
Sticky Navbar on Scroll example, Studio at Phone Width: An interiors studio's site in a phone frame. The links fold into a menu that grows out of the pill, and "Book a call" shares the pill with it once caught; the hero copy gets wider padding through `data-[placement=hero]:`. A take on the navbar (nav bar). Fits navbar, shop and hero sections.
Expanding Search Bar example, Command Menu: An app's command menu. The trigger travels to the middle of the screen, with grouped commands and their shortcuts. Opens with ⌘K. A take on the search bar (search box). Fits navbar, docs and app UI sections.
Expanding Search Bar example, Docs Search: A docs header with a fake search field that becomes the real one. Press / to open it from anywhere. A take on the search bar (search box). Fits navbar, docs and app UI sections.
Expanding Search Bar example, Nav Bar: A search button in a site header. It grows into a field with popular pages underneath; pick one to go there. A take on the search bar (search box). Fits navbar, docs and app UI sections.