Skip to content

Says

Sypnia speaking to the person, in the voice, opened by the lit dot: the one sentence a page wants remembered.

import { Says } from '@sypnia/ui/react'

On this page
  1. Three sizes
  2. When to use it
  3. For everyone
  4. Props

Three sizes

Every bug leaves a light on.

Nothing is lost: every change is kept for 30 days.

You are all set. Your first table is ready.

Code
import { Says } from '@sypnia/ui/react';

export default function Voice() {
  return (
    <div className="sy-stack" style={{ '--gap': 'var(--s-5)' } as React.CSSProperties}>
      <Says size="lg">Every bug leaves a light on.</Says>
      <Says>Nothing is lost: every change is kept for 30 days.</Says>
      <Says size="sm">You are all set. Your first table is ready.</Says>
    </div>
  );
}

When to use it

Use it when

  • The promise of a landing section, the result of a long task, a calm word in an empty place.

Do not use it when

  • Instructions or errors: they are interface text.
  • More than one per screen.

For everyone

  • The dot is decoration; the sentence is plain text.

Props

SaysTypeDefault
as ElementType p
size "sm" | "md" | "lg" md
  1. Three sizes
  2. When to use it
  3. For everyone
  4. Props

    Search pages, sections and terms