Faifo Design 0.1.44
The interface language for operational applications.
Server-rendered components for lists, records, forms and grids. One package, one stylesheet, and a runtime only where HTML is not enough.
- Components
- 148
- Design tokens
- 374
- Symbols
- 80
Every screen is server-rendered HTML from the public components: an application shell, list pages with filters, records and a dashboard. Follow its links, search it, and switch the theme above.
Three lines to a styled page
npm install faifo-design @ketvietlab/ketjs-view@import "faifo-design/styles.css";import { Button } from 'faifo-design'
export const view = () => (
<main data-faifo-design>
<Button label="Create order" variant="primary" icon="plus" />
</main>
)- DesignThe values behind the system and its foundations: colour, type, spacing, elevation, icons and layout rules.
- DevelopInstall the package, load one stylesheet, render on the server with ketjs-view and attach the runtime.
- ComponentsEvery component with when to use it, live examples and an API reference generated from the source.
What the system holds to
Server-rendered first
Components return plain HTML from ketjs-view. A page works before any script runs, and islands hydrate only where a screen needs state.
Dense by design
Thirteen-pixel type, 32-pixel controls and one spacing scale, tuned for lists, records and grids people work in all day.
One stylesheet, three token tiers
Reference, semantic and component tokens in one file. Light and dark come from the same declarations through light-dark().
A contract you can test
Every element carries a data-ui hook owned by its component, with a ratchet that keeps host stylesheets from restyling it.