package templates templ CustomSectionBuilder(user User, libraries []LibraryData, errorMessage string) { Create Custom Section - Bookhoard @Header(user, "/custom-section")
@Icon("layers", "h-5 w-5")

Create Custom Section

Build a custom dashboard section by defining filter rules or manually selecting books.

@Icon("info", "h-5 w-5") Section Details

@Icon("filter", "h-5 w-5") Filter Rules

Books matching these rules will be automatically added to your section. Use AND for all rules, OR for any rule.

@Icon("book", "h-5 w-5") Manual Book Selection

Add specific books to this section. Use the search to find and select multiple books.

No books selected

@Icon("play", "h-5 w-5") Live Preview

Add filter rules or select books to see a preview of your custom section.

@ErrorToast(errorMessage) }