Inventory
Every piece of the library, by group. Each one has its page, with live examples, rules and the keys it answers to.
Foundations
What everything else is made of.
| Piece | What it is |
|---|---|
| Surface | night and paper |
| Density | comfortable and compact (screens under 52rem tall) |
| Typography | the three voices: voice, interface, machine |
| Heading | |
| Text | |
| Mark | the highlighter |
| Says | Sypnia speaking, opened by the lit dot |
| Conversation | a person asks, Sypnia answers |
| Icon | the Sypnia set, «lid and light» |
| Logo | |
| ProductMark | the mark of each product of the suite |
| BrandMark | Google and GitHub, for sign-in buttons |
| Character | Nia and Nio |
| Fireflies | the night field |
| Motion | entering, leaving, the shimmer |
Layout
How things sit on a page, without writing layout CSS.
| Piece | What it is |
|---|---|
| Stack | |
| Row | |
| Grid | |
| Columns | |
| Split | two panes, the divider can be dragged |
| Container | |
| Page | |
| PageHeader | |
| Section | |
| Divider | |
| Spacer | |
| AspectRatio | |
| ScrollArea | |
| Sticky | |
| Toolbar | |
| Panel | |
| Center | |
| Show | shows or hides by breakpoint |
| AuthLayout | the frame of the pages outside the console: sign in, sign up, errors |
Primitives
Behaviour without a look: what the components are built on.
| Piece | What it is |
|---|---|
| Layer | the top layer on body |
| FocusScope | traps and returns the focus |
| ScrollLock | |
| Dismissable | outside press and Escape |
| RovingFocus | arrow keys inside a group |
| Positioner | anchors a floating thing to its trigger |
| VisuallyHidden | |
| LiveRegion | announcements for screen readers |
| Presence | keeps a thing mounted while it leaves |
| SypniaProvider | language and formats |
| Collapsible | |
| Hotkey | keyboard shortcuts, shown as the person will press them |
| Portal | |
| useMediaQuery |
Actions
What the person presses.
| Piece | What it is |
|---|---|
| Button | |
| IconButton | |
| ButtonGroup | |
| SplitButton | a main action and a menu of variants |
| MenuButton | |
| ToggleButton | |
| ToggleGroup | |
| SegmentedControl | |
| CopyButton | |
| Link | |
| LinkButton | |
| BackButton | |
| CloseButton | |
| DownloadButton | |
| Actions | the row of buttons that closes a form or a dialog |
| Kbd | |
| Shortcut |
Fields
What the person fills in.
| Piece | What it is |
|---|---|
| Field | label, hint and error around a control |
| Label | |
| Hint | |
| FieldError | |
| Input | |
| Textarea | |
| NumberInput | |
| CurrencyInput | |
| PercentInput | |
| PhoneInput | |
| UrlInput | |
| EmailInput | |
| PasswordInput | |
| SearchInput | |
| InputGroup | a unit, an icon or a button attached to an input |
| NativeSelect | |
| Select | |
| Combobox | |
| MultiSelect | |
| Autocomplete | |
| Checkbox | |
| CheckboxGroup | |
| CheckboxCard | |
| Radio | |
| RadioGroup | |
| RadioCards | |
| Switch | |
| Slider | |
| RangeSlider | |
| Calendar | |
| DatePicker | |
| DateRangePicker | |
| TimePicker | |
| DateTimePicker | |
| MonthPicker | |
| TimezoneSelect | |
| DurationInput | |
| TagInput | |
| FileInput | |
| FileDrop | |
| ImageUpload | |
| AvatarUpload | |
| ColorSwatchPicker | |
| ColorPicker | |
| CodeInput | |
| CodeEditor | |
| SqlEditor | |
| QueryEditor | CodeMirror, completion, run the selection |
| JsonEditor | |
| KeyValueEditor | environment variables, headers |
| CopyField | |
| SecretField | shown once, masked, copy |
| ApiKeyField | |
| SlugInput | |
| OtpInput | |
| CronInput | |
| RegionSelect | |
| Rating |
Forms
Fields put together, with validation and clear messages.
| Piece | What it is |
|---|---|
| Form | validation, submit state, error summary |
| Fieldset | |
| FormGrid | |
| FormSection | |
| FormRow | a setting: its name and explanation on one side, its control on the other |
| FormActions | |
| ErrorSummary | |
| InlineEdit | |
| EditableText | |
| SaveBar | unsaved changes, save or discard |
| AutosaveStatus | |
| FormSkeleton |
Floating layers
Everything that opens over the page, in the top layer.
| Piece | What it is |
|---|---|
| Dialog | |
| AlertDialog | |
| ConfirmDialog | confirmation, with a typed word for destructive actions |
| PromptDialog | asks for one value |
| Drawer | |
| Sheet | from the bottom edge on phones |
| Popover | |
| HoverCard | |
| Menu | |
| MenuItem | |
| ContextMenu | |
| Tooltip | |
| Toast | |
| Toaster | |
| CommandPalette | |
| Lightbox | |
| Tour | points at parts of the interface, one at a time |
| Popconfirm |
Feedback
What the interface tells the person: states, waits and results.
| Piece | What it is |
|---|---|
| Alert | |
| InlineAlert | |
| Banner | |
| Callout | |
| Notice | |
| Badge | |
| Count | |
| Chip | |
| Tag | |
| Status | |
| LiveIndicator | |
| Skeleton | |
| SkeletonText | |
| SkeletonTable | |
| SkeletonCard | |
| PageSkeleton | |
| EmptyState | |
| ErrorState | |
| NotFound | |
| OfflineNotice | |
| Progress | |
| ProgressSteps | |
| Meter | |
| UsageBar | how much of a plan limit is used |
| Countdown | |
| SavingIndicator | |
| Health | the state of a service, in a word and a light |
Data
Showing things and letting the person work on them.
| Piece | What it is |
|---|---|
| Table | a table on desktop, cards on phones, with pagination |
| DataTable | resizable columns, inline edit, selection, sort, filters, CSV, thousands of rows |
| TableToolbar | |
| ColumnPicker | |
| FilterBar | |
| FilterChip | |
| SortMenu | |
| BulkActionBar | |
| RowActions | |
| CellEditor | |
| DataList | |
| DataCards | |
| Card | |
| CardGrid | |
| NewCard | |
| ActionCard | |
| Stat | |
| StatGroup | |
| Delta | |
| Avatar | |
| AvatarGroup | |
| Identity | |
| KeyValue | |
| DescriptionList | |
| List | |
| ListItem | |
| Timeline | |
| ActivityFeed | |
| Tree | |
| FileTree | |
| Accordion | |
| Disclosure | |
| CodeBlock | |
| InlineCode | |
| CodeDiff | |
| Terminal | |
| JsonViewer | |
| LogViewer | |
| Snippet | an install command with Copy |
| HttpMethod | |
| StatusCode | |
| SchemaViewer | columns and types of a table |
| Truncate | |
| Time | relative, with the exact date on hover |
| Number | |
| Bytes | |
| Duration | |
| Currency | |
| CopyableText | |
| Hash | an id or a commit, shortened, copyable |
| Image | |
| Figure | |
| Thumbnail | |
| Palette | the colours of a brand or a design guide |
| Quote | |
| Checklist | |
| PlanCard | |
| PricingTable | |
| FeatureList | |
| CompareTable |
Visualization
Charts and diagrams, drawn with one method.
| Piece | What it is |
|---|---|
| ChartFrame | title, legend, axes, tooltip, empty and loading |
| Legend | |
| ChartTooltip | |
| LineChart | |
| AreaChart | |
| StackedArea | |
| BarChart | |
| GroupedBar | |
| StackedBar | |
| HorizontalBar | |
| Histogram | |
| Sparkline | |
| SparkBar | |
| Heatmap | |
| CalendarHeatmap | |
| Scatter | |
| Funnel | |
| Gauge | |
| PartToWhole | one bar split in parts, instead of a pie |
| Percentiles | |
| UptimeBar | |
| Waterfall | the spans of a trace |
| FlameGraph | |
| CaseMap | the use-case map of Cases |
| CaseNode | |
| FlowDiagram | |
| SequenceDiagram | |
| EntityDiagram | tables and their relations |
Docs kit
The pieces of the documentation sites, in Astro.
| Piece | What it is |
|---|---|
| DocsShell | |
| DocsHeader | |
| SideNav | |
| TableOfContents | |
| Search | |
| SearchResult | |
| Prose | |
| CodeTabs | the same code in several languages |
| PackageTabs | npm, pnpm, yarn, bun |
| Steps | |
| Step | |
| Params | |
| Param | |
| Endpoint | |
| RequestExample | |
| ResponseExample | |
| ErrorList | |
| Cards | |
| Compare | |
| Term | |
| Glossary | |
| PrevNext | |
| VersionBadge | |
| Changelog | |
| ApiReference | |
| PageFeedback | was this page useful? |
| EditLink | |
| Aside | |
| Expected | |
| Cli | |
| Install | |
| AgentInstall | |
| McpTool | |
| Option | |
| Setting | |
| DocsHero |
Site
The pieces of sypnia.com and the product pages.
| Piece | What it is |
|---|---|
| SiteHeader | |
| SiteFooter | |
| Hero | |
| Stage | the product, shown working |
| FeatureGrid | |
| ProductGrid | |
| CallToAction | |
| Releases | what shipped, newest first (never what is planned) |
| Faq | |
| Announcement | |
| Ledger | facts listed with rules, not cards |
| Band | one band of a landing, the width of the window |
| Points | sentences listed with rules, each opened by a ring of light |
| Phone | a phone frame for a screen |
Patterns
Whole situations, solved once.
| Piece | What it is |
|---|---|
| FormPage | |
| EditableTable | a table with editing |
| SettingsPage | |
| ConfirmFlows | simple, typed, with consequences |
| Onboarding | step by step |
| EmptyWithNextStep | |
| SignIn | |
| SignUp | |
| SecretReveal | a key shown once |
| CsvImport | upload, map columns, preview |
| InviteMembers | |
| DangerZone | |
| ErrorPage | |
| NotFoundPage | |
| LoadingPage | |
| PageSkeletons | a whole screen while it loads, made of the skeletons of its pieces |
| SearchAndFilter | |
| MasterDetail | |
| Dashboard | |
| BillingAndPlan | |
| ApiKeys | |
| AuditLog | |
| Notifications | |
| ProfileAndAccount | |
| ConnectAgent |