Navigation and search
Search field
A search field filters or finds content (Apple: search fields).
HTML
<div class="col" style="max-width:360px">
<div class="ar-search"><span class="sf" data-symbol="magnifyingglass"></span><span class="ar-input__ph">Search chats</span></div>
<div class="ar-search ar-search--focus"><span class="sf" data-symbol="magnifyingglass"></span>local-first<span class="ar-search__clear"><span class="sf" data-symbol="xmark.circle.fill"></span></span></div>
</div>
<!-- page-level layout helpers used by this example -->
<style>
body { margin:0; padding:24px; }
.row { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.col { display:flex; flex-direction:column; gap:16px; }
.cap { font:500 12px/16px var(--font-sans); letter-spacing:.5px; color:var(--color-text-secondary); }
</style>Guidelines
ar-search: 36px,color-bg-tertiaryfill (no border),radius-sm, leadingmagnifyingglassincolor-text-secondary, placeholder "Search …" naming what is searched.- Focus:
ar-search--focusswitches tocolor-bgwith acolor-accent1px inner edge andhalo-focus. When it has text, showxmark.circle.fill(ar-search__clear) to clear it. - Put it at the top of the content it filters: in a navigation bar, a sidebar header, or above a list.
The consumer provides: the input, live results or a submit handler, and the clear action. Don't hide it behind an icon when search is the main way to navigate.
Arlo Design System · generated from the design-system source by tools/build.py · SF Symbols are Apple's, licensed for apps on Apple platforms.