> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sublay.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Paginated, filtered, sorted feeds of entities with infinite scroll support

Entity Lists is the system for building feeds, search results, and any paginated collection of entities. It handles pagination state, sorting, filtering, and infinite scroll through a Redux-backed architecture.

## The Core Hook

The primary entry point is `useEntityList`. You call it with a unique `listId` — this is how multiple independent lists can exist on the same page without conflicting state.

```tsx theme={null}
import { useEntityList } from "@sublay/react-js";

function Feed() {
  const { entities, loading, hasMore, fetchEntities, loadMore } = useEntityList({
    listId: "main-feed",
  });

  useEffect(() => {
    fetchEntities({}, { sortBy: "hot" }, { limit: 20 });
  }, []);

  return (
    <div>
      {entities.map((entity) => <EntityCard key={entity.id} entity={entity} />)}
      {hasMore && <button onClick={loadMore}>Load more</button>}
    </div>
  );
}
```

## In This Section

> [card] [Fetching Entities](https://docs.sublay.io/v7/sdk/entity-lists/fetch-entities.md)
>
> How to call `fetchEntities`, paginate with `loadMore`, and create or delete entities within a list.

> [card] [Infusing Data](https://docs.sublay.io/v7/sdk/entity-lists/infuse-data.md)
>
> Merge Sublay entities with data from your own system using the `infuseData` callback.

> [card] [Filters](https://docs.sublay.io/v7/sdk/entity-lists/filters.md)
>
> Complete reference for keywords, title, content, metadata, attachments, and location filters.

## Hooks

> [card] [useEntityList](https://docs.sublay.io/v7/hooks/entity-lists/use-entity-list.md)
>
> Main hook for consuming and managing a paginated entity list.

> [card] [useEntityListActions](https://docs.sublay.io/v7/hooks/entity-lists/use-entity-list-actions.md)
>
> Low-level actions hook for fetch, create, and delete operations.

> [card] [useInfusedData](https://docs.sublay.io/v7/hooks/entity-lists/use-infused-data.md)
>
> Merges entity arrays with data from your own backend.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.