Skip to content

DocsHero

The top of a docs home: what this documentation covers, in the voice, and where to start.

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

On this page
  1. A docs home
  2. When to use it
  3. For everyone

A docs home

Sypnia Data docs

Your data, like a spreadsheet with rules.

Make tables, import what you have, and read it from any app.

npm

npm install @sypnia/data
Code
---
import DocsHero from '@sypnia/ui/astro/DocsHero.astro';
import Button from '@sypnia/ui/astro/Button.astro';
import Install from '@sypnia/ui/astro/Install.astro';
---
<div class="sy-docs" style="min-height:0;background:none">
<DocsHero kicker="Sypnia Data docs" title="Your data, like a spreadsheet with rules." lead="Make tables, import what you have, and read it from any app.">
  <Fragment slot="actions"><Button variant="primary" href="#" iconEnd="arrow-right">Quickstart</Button><Button href="#">API reference</Button></Fragment>
  <Install pkg="@sypnia/data" />
</DocsHero>
</div>

When to use it

Use it when

  • The first page of a docs site or a product's docs.

Do not use it when

  • Every other page: they start with ArticleHead.

For everyone

  • Its title is the page's only level 1 heading.
  1. A docs home
  2. When to use it
  3. For everyone

    Search pages, sections and terms