---
title: FileTrie
updated_at: '2026-10-04T04:09:12+02:00'
created_at: '2026-03-09T15:06:02+01:00'
symbol:
  kind: variable
  name: FileTrie
  signatures:
    - 'const FileTrie: Component'
  members:
    - name: entries
      kind: property
      signature: 'entries?: readonly [[reference/api/ui/UiIndexEntry|UiIndexEntry]][]'
    - name: folders
      kind: property
      signature: 'folders: readonly [[reference/api/ui/UiFolderEntry|UiFolderEntry]][]'
      description: >-
        The index's folders. They place notes in the tree; without them every
        note sits at the root.
    - name: currentHref
      kind: property
      signature: 'currentHref?: string'
      description: >-
        The page being viewed. A root `guides.md` and the `guides` folder share
        a slug, never an href.
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/ui/src/lib/FileTrie.svelte
description: ''
---

# FileTrie
