---
title: FolderLayout
updated_at: '2026-11-25T17:36:18+01:00'
created_at: '2026-03-09T15:06:02+01:00'
symbol:
  kind: interface
  name: FolderLayout
  signatures:
    - interface FolderLayout<T>
  typeParameters:
    - name: T
  members:
    - name: folderOf
      kind: method
      signature: 'folderOf(slug: string): string | undefined'
      description: 'The folder the note''s file sits in, or `undefined` at the vault root.'
    - name: noteOf
      kind: method
      signature: 'noteOf(folder: string): T | undefined'
      description: >-
        The folder's own note, its `index.md`, `_index.md`, or note named after
        it.
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/ui/src/lib/navigation.ts#L71
description: ''
---

# FolderLayout
