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
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
| Says | Type | Default |
|---|---|---|
as | ElementType | p |
size | "sm" | "md" | "lg" | md |