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

# Result List

export const LwTemplate = ({title = "Key questions to get you started", icon = "sparkles", cta = "Powered by Agent Studio", linkHref = "https://lucidworks.com/demo/?utm_source=docs&utm_medium=referral&utm_campaign=docs_cta_ai"}) => {
  const [isLoaded, setIsLoaded] = useState(false);
  useEffect(() => {
    const timer = setTimeout(() => {
      setIsLoaded(true);
    }, 500);
    return () => clearTimeout(timer);
  }, []);
  return <div className="lw-template-container">
      <Card title={title} icon={icon}>
        {isLoaded && <span dangerouslySetInnerHTML={{
    __html: `<lw-template id="a029c1a9-28be-427e-b0e1-5d918920246a"></lw-template
            >`
  }} />}
        <Link href={linkHref} className="agent-studio-link text-left text-gray-600 gap-2 dark:text-gray-400 text-sm font-medium flex flex-row items-center hover:text-primary dark:hover:text-primary-light group-hover:text-primary group-hover:dark:text-primary-light">Powered by Lucidworks Agent Studio</Link>
      </Card>
    </div>;
};

[localhost link]: http://localhost:3000/docs/5/app-studio/reference/gallery/result-lists

[mintlify link]: https://doc.lucidworks.com/docs/5/app-studio/reference/gallery/result-lists

[old doc.lw link]: https://doc.lucidworks.com/app-studio/4.2/1047

<LwTemplate />

## Default

The default result list shows all the fields

<img src="https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/resultlist01.png?fit=max&auto=format&n=_JCWsGwGCZxJia7w&q=85&s=bbaf7e62bf9317b66ddd8b670ced4406" alt="Example" width="1271" height="1065" data-path="assets/images/app-studio/as-examples/gallery/resultlist01.png" />

```xml wrap  theme={"dark"}
<search:result-list response="smallResponse"></search:result-list>
```

## List

Full width list of results

<img src="https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/resultlist02.png?fit=max&auto=format&n=_JCWsGwGCZxJia7w&q=85&s=64d30b3ad889a123944cc44d1fecf409" alt="Example" width="1271" height="383" data-path="assets/images/app-studio/as-examples/gallery/resultlist02.png" />

```xml wrap  theme={"dark"}
<search:result-list response="smallResponse">
    <search:result>
        <layout:grid>
            <layout:block md="1-4" padding-right="1">
                <Frame><img src="{{ result | field:'photo' | actual }}" alt=""></Frame>
            </layout:block>
            <layout:block md="3-4">
                <search:field name="full_name" styling="title"></search:field>
                <search:field name="year" label="Year" styling="label-inline"></search:field>
                <search:field name="gender" label="Gender" styling="label-inline"></search:field>
                <search:field name="Prize Category" styling="label-inline"></search:field>
                <br>
                <search:field name="motivation" styling="description"></search:field>
                <search:field name="details_url" styling="url description" prefix="http://nobel.divedeeper.io" urlfield="details_url" url-prefix="http://nobel.divedeeper.io"></search:field>
            </layout:block>
        </layout:grid>
    </search:result>
</search:result-list>
```

## Cards

Result cards that can be shown in a row

<img src="https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/resultlist03.png?fit=max&auto=format&n=_JCWsGwGCZxJia7w&q=85&s=e1717a682409da0f2a73287c1740785b" alt="Example" width="1271" height="1438" data-path="assets/images/app-studio/as-examples/gallery/resultlist03.png" />

```xml wrap  theme={"dark"}
<search:result-list response="response" styling="cards-md-2 cards-xl-3">
    <search:result>
        <layout:grid>
            <layout:block md="1-4" padding-right="1">
                <Frame><img src="{{ result | field:'photo' | actual }}" alt=""></Frame>
            </layout:block>
            <layout:block md="3-4">
                <search:field name="full_name" styling="title"></search:field>
                <search:field name="year" label="Year" styling="label-inline"></search:field>
                <search:field name="gender" label="Gender" styling="label-inline"></search:field>
                <search:field name="Prize Category" styling="label-inline"></search:field>
                <br>
                <search:field name="motivation" styling="description"></search:field>
                <search:field name="details_url" styling="url description" prefix="http://nobel.divedeeper.io" urlfield="details_url" url-prefix="http://nobel.divedeeper.io" target="_blank"></search:field>
            </layout:block>
        </layout:grid>
    </search:result>
</search:result-list>
```

## Card Emphasis

A result card with a little more border

<img src="https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/resultlist04.png?fit=max&auto=format&n=_JCWsGwGCZxJia7w&q=85&s=c66712e8da3428096d1fc8ab61043b82" alt="Example" width="1271" height="374" data-path="assets/images/app-studio/as-examples/gallery/resultlist04.png" />

```xml wrap  theme={"dark"}
<search:result-list response="smallResponse" styling="cards-md-2">
    <search:result styling="card-emphasis">
        <layout:grid>
            <layout:block md="1-4" padding-right="1">
                <Frame><img src="{{ result | field:'photo' | actual }}" alt=""></Frame>
            </layout:block>
            <layout:block md="3-4">
                <search:field name="full_name" styling="title"></search:field>
                <search:field name="year" label="Year" styling="label-inline"></search:field>
                <search:field name="gender" label="Gender" styling="label-inline"></search:field>
                <search:field name="Prize Category" styling="label-inline"></search:field>
                <br>
                <search:field name="motivation" styling="description"></search:field>
                <search:field name="details_url" styling="url description" prefix="http://nobel.divedeeper.io" urlfield="details_url" url-prefix="http://nobel.divedeeper.io" target="_blank"></search:field>
            </layout:block>
        </layout:grid>
    </search:result>
</search:result-list>
```

## Card Shadow

Add a small drop shadow

<img src="https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/resultlist05.png?fit=max&auto=format&n=_JCWsGwGCZxJia7w&q=85&s=7f7360ed1f1cc850ad1424bf1f8413b4" alt="Example" width="1271" height="370" data-path="assets/images/app-studio/as-examples/gallery/resultlist05.png" />

```xml wrap  theme={"dark"}
<search:result-list response="smallResponse" styling="cards-md-2">
    <search:result styling="card-shadow">
        <layout:grid>
            <layout:block md="1-4" padding-right="1">
                <Frame><img src="{{ result | field:'photo' | actual }}" alt=""></Frame>
            </layout:block>
            <layout:block md="3-4">
                <search:field name="full_name" styling="title"></search:field>
                <search:field name="year" label="Year" styling="label-inline"></search:field>
                <search:field name="gender" label="Gender" styling="label-inline"></search:field>
                <search:field name="Prize Category" styling="label-inline"></search:field>
                <br>
                <search:field name="motivation" styling="description"></search:field>
                <search:field name="details_url" styling="url description" prefix="http://nobel.divedeeper.io" urlfield="details_url" url-prefix="http://nobel.divedeeper.io" target="_blank"></search:field>
            </layout:block>
        </layout:grid>
    </search:result>
</search:result-list>
```

## Card Step

A result card with a slightly raised edge

<img src="https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/resultlist06.png?fit=max&auto=format&n=_JCWsGwGCZxJia7w&q=85&s=ff49d828b5529d350c2b537752260041" alt="Example" width="1271" height="370" data-path="assets/images/app-studio/as-examples/gallery/resultlist06.png" />

```xml wrap  theme={"dark"}
<search:result-list response="smallResponse" styling="cards-md-2">
    <search:result styling="card-step">
        <layout:grid>
            <layout:block md="1-4" padding-right="1">
                <Frame><img src="{{ result | field:'photo' | actual }}" alt=""></Frame>
            </layout:block>
            <layout:block md="3-4">
                <search:field name="full_name" styling="title"></search:field>
                <search:field name="year" label="Year" styling="label-inline"></search:field>
                <search:field name="gender" label="Gender" styling="label-inline"></search:field>
                <search:field name="Prize Category" styling="label-inline"></search:field>
                <br>
                <search:field name="motivation" styling="description"></search:field>
                <search:field name="details_url" styling="url description" prefix="http://nobel.divedeeper.io" urlfield="details_url" url-prefix="http://nobel.divedeeper.io" target="_blank"></search:field>
            </layout:block>
        </layout:grid>
    </search:result>
```
