Skip to content

Cards

The doors of a section page: a ledger of links with a line of text each. Not boxes: a rule above each, lit on hover.

import Cards from '@sypnia/ui/astro/Cards.astro'

On this page
  1. Doors, and their skeleton
  2. When to use it
  3. For everyone

Doors, and their skeleton

Two columns, one on phones. CardsSkeleton under them.

  • Quickstart

    From the package to your first table in five minutes.

  • Import a CSV

    Upload a file, map the columns, preview the rows.

  • API reference

    Every endpoint, with its parameters and errors.

  • Agents

    Let a coding agent read and write your tables.

Code
---
import Cards from '@sypnia/ui/astro/Cards.astro';
import CardsSkeleton from '@sypnia/ui/astro/CardsSkeleton.astro';
---
<div class="sy-docs sy-stack" style="min-height:0;background:none;--gap:var(--s-6)">
  <Cards items={[
    { title: 'Quickstart', href: '#', icon: 'rocket', text: 'From the package to your first table in five minutes.' },
    { title: 'Import a CSV', href: '#', icon: 'csv', text: 'Upload a file, map the columns, preview the rows.' },
    { title: 'API reference', href: '#', icon: 'api', text: 'Every endpoint, with its parameters and errors.' },
    { title: 'Agents', href: '#', icon: 'agent', text: 'Let a coding agent read and write your tables.' },
  ]} />
  <CardsSkeleton items={2} />
</div>

When to use it

Use it when

  • The home of a docs site or of a section: where to go next.

Do not use it when

  • Things to manage in an app (projects, tables): that is Card in a Grid.

For everyone

  • The whole row is the link, and the focus ring wraps it.
  • It is a list, so screen readers say how many doors there are.
  1. Doors, and their skeleton
  2. When to use it
  3. For everyone

    Search pages, sections and terms