Skip to content

    Library search

    The search field filters the open section’s cards as you type. Results are ranked: a name match beats a keyword match, a whole-word match beats a prefix, and one matching word is enough to show a card. Words typed in Thai, Japanese, Chinese, Korean, Spanish, Portuguese, French, German or Indonesian are translated to English with a dictionary in the browser before matching. In Photos and Graphics the results also include free pictures from Wikimedia Commons.

    Where to find it

    The field is in the Library panel head, under the title, on every section page. Its placeholder is “Search” followed by the section name in lower case, for example “Search graphics”. It is hidden on the Elements and Draw pages.

    1. Open a section, for example Icons.
    2. Type in the field (Search icons). Cards that match appear, best match first. The head title stays the section’s name.
    3. Press Escape to clear the field and return to the section’s browse view.

    How to search in another language

    1. Open Graphics and type a Thai word, for example แมว.
    2. Read the note above the results: “Results for “cat”, translated from “แมว”.”
    3. If a word is not in the dictionary, the note says so and that word is searched as typed.

    How to search Wikimedia Commons

    1. Open Photos or Graphics.
    2. Type at least 2 characters and stop typing. After about 0.4 seconds the panel shows “Searching Wikimedia Commons for ""…”.
    3. Commons results are added after the panel’s own. Scroll to the end for more. The panel shows “Searching Wikimedia Commons for more…”.
    4. A credit line “Some results from Wikimedia Commons (CC0 / public domain)” appears with them.

    How to switch between items and collections

    1. In a section that has collections (Graphics, Icons, Photos and the other shop-backed sections), type a search.
    2. Tabs appear: All (for example “All graphics”) and Collections. Style chips (All and one per style) appear for sections with styles.
    3. Press a tab. The search field is cleared and the view changes to that tab.

    Options

    Control What it does Values Default
    search-field Search
    filters and ranks the section’s cards
    any text empty
    tab-all All shows matching items. Pressing it clears the query. tab, shown during a search none
    tab-collections Collections shows matching collections. Pressing it clears the query. tab none
    style-chip All and one chip per style narrow the cards to one style the section’s styles All

    Keys

    Keys When What happens
    Escape The search field has focus Clears the text and the search
    Any key The search field has focus Typed into the field. Editor tool shortcuts do not fire.

    Limits

    • Search covers the open section only. There is no search across all sections. The Elements and Draw pages have no field.
    • Each typed word is compared with the card’s name, keywords, category, description and “good for” field, in that order of weight. A card needs only one matching word. Cards that match more words rank higher, a matching phrase adds a bonus, and an exact name match ranks first. At most 12 words are used, and short common words are ignored. Thai text is split into words with the browser’s word segmenter.
    • Keyword lists for Graphics, Icons and Photos load on the first keystroke. If they cannot load, the foot line says “Search is matching names only. ”.
    • Translation uses word lists downloaded on demand, one per language: th, ja, zh, ko, es, pt, fr, de, id.
    • Translation notes: while loading, “Translating ""…”. When translated, “Results for "", translated from "".” When one word is missing, the translated note plus ” "" is not in the search dictionary yet, so it was searched as typed.” When nothing is found, """ is not in the search dictionary yet, so it was searched as typed.” When you are offline, “You are offline, so "" was searched as typed, without translation.” When the dictionary fails, “The search dictionary could not be loaded, so "" was searched as typed. Try again in a moment.”
    • An empty result reads “Searching…” while translation or Commons is still pending, then “No match for "".”
    • Commons search runs only in Photos and Graphics. It needs at least 2 characters and waits 420 ms after your last keystroke.
    • A Commons drawing (SVG) larger than 512 KB is refused when placed: “that drawing is KB, too heavy to place”.
    • Typing in the field never moves the canvas tool.

    See also