> ## 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.

# Table

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/table

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

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

<LwTemplate />

## Comparison Tables

Different options for displaying tables on small screens. In terms of CSS, examples 1 and 2 are identical. Example 3 stacks, so is perhaps unsuitable for comparisons. Example 4 is more of a hybrid that is in line with our original sketches. Examples three and four both rely on `data-title` for the labels.

<Note>
  Tested in latest Chrome, FireFox, Safari and Opera. IE10 and later works. IE9 should be possible with some effort.
</Note>

### Tables

Vertical Comparison

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

Horizontal Comparison

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

Stacked

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

Stacked Comparison

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

Combination Comparison

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