hyvui docs
component register

documentation

every component, live. pick a section on the left.

overview

everything in one place

all components live, with props and examples. scroll or jump via the sidebar.

v0.1 svelte 5 stable

weights and themes

separate density and motif

switch weights and themes to see how components and tokens respond. weights shift density and voice. themes shift palette, motion, and ornament.

apply weight and theme independently. no component changes required. tokens do the work. hextech and arcane require their respective css imports.

import '@hyvnt/hyvui/tokens/hextech.css' import '@hyvnt/hyvui/tokens/arcane.css'

primitives

type, tone, and base surfaces

heading tier

body text. short lines, deliberate spacing. nothing squeezed together.

italics are for the quieter line.

caption register

icon primitive

label + divider primitives
base

surface

card

surface

panel

surface


layout

stack, grid, card, panel

card

contained surfaces. good for repeatable rows and grid items.

grid

column-based layouts. pass a number for equal columns or a full template string.

stack

flexbox with a gap. vertical or horizontal, no visual treatment.

panel layout

full-section container for forms, data tables, and anything that needs room.

surface spacing rhythm

display

data, status, narrative

AR operator active
sessions 248 +12%
latency 82ms -6%
drift 0.32
the interface is a quiet contract between what's there and what's needed.
componentrolestatus
Buttonprimary actionstable
Panelsection containerstable
StatusLinesystem voicecalibrated
DepthStagespatial stackactive
<script lang="ts">
  import { Button, Card, Text } from '$lib';
</script>

<Card>
  <Text variant="heading" as="h2">calm surface</Text>
  <Button variant="primary">activate</Button>
</Card>

inputs

controlled fields and actions

form module

feedback

status, alerts, and system voice

[WARN] contrast delta near threshold
[ .. ] loading register
[ OK ] tokens aligned
[ OK ] surface stabilized
[WARN] signal drift within tolerance
[ OK ] ready for operators

no entries

awaiting first signal.

signal deferred

retry from stable ground.



overlays

modal, drawer, popover, action bar

selection demo

ambient

ornament and atmosphere

hextech + arcane ambient
HexGrid
BrassFiligree
CrystalShard
ArcaneVein
EnergyArc
ShimmerCloud

depth

layered spatial system


scenes

full-page compositions

stage scene

centered register

one thing to say. centered. no distractions.

chapter 01

narrative scene

narrow copy on the left, open canvas on the right. good for about pages and story sections.

canvas
readout signal clean

dense layout for dashboards and data-heavy pages.

archive

archive item one

archive item two

log scene
[ .. ] syncing modules
[ OK ] cache locked
[ OK ] session stable
2 selected