Documentation
Native CSS scaffolds, without the runtime.
loseta is a registry of component CSS and markup contracts. The CLI copies the files into your project, so you own the code and can change anything.
InstallationInitialize a project and add your first component.ThemingTokens, color schemes, data attributes and the layer contract.StylesCompare all eight styles, then install or switch.ComponentsBrowse the 62 stable components in v1.RecipesCompose forms, data tables and date pickers from registry pieces.TypographyThe type scale, fonts and prose rules.
How it works
- Initialize. The CLI creates the foundation files and a generated entrypoint.
- Add components. Each item installs its base CSS, its style file and any primitive dependency.
- Use the markup contract. Data attributes, ARIA and native elements carry the state.
pnpm dlx loseta initnpx loseta initpnpm dlx loseta add button card fieldnpx loseta add button card fieldWhat gets installed
loseta.json
.loseta/manifest.json
src/styles/loseta/
tokens.css
reset.css
base.css
utilities.css
index.css
primitives/
components/
styles/nova/ # selected styleCSS only. Components that need interaction, such as dropdown menus and tabs, document the required state contract but do not ship JavaScript. The docs demos use a small demo-only script to keep the examples interactive.