{pageTitle('Library · Artists')}

Artists

{#if !query.isPending && !query.isError}

{total} {total === 1 ? 'artist' : 'artists'}

{/if}
{#if artists.length > 0} {/if}
{#if query.isError} {:else if showSkeleton.value && artists.length === 0}

Loading…

{:else if !query.isPending && total === 0} {#snippet actions()} Open settings {/snippet} {:else if filter.trim() && filtered.length === 0}

No artists in your loaded library match '{filter.trim()}'. Search the full library →

{:else} a.sort_name || a.name} > {#snippet item(a: ArtistRef)} {/snippet} {#if query.hasNextPage} query.fetchNextPage()} /> {#if query.isFetchingNextPage}

Loading more…

{/if} {:else if artists.length > 0}

End of library

{/if} {/if}