oat README

The project's README from github.com/knadh/oat. As one markdown file: README.md.

Oat UI

Semantic, minimal, zero dependencies. ~10KB CSS and JS.

Oat is an ultra-lightweight HTML + CSS, semantic UI component library with zero dependencies. No framework, build, or dev complexity. Just include the tiny CSS and JS files and you are good to go building decent looking web applications with most commonly needed components and elements.

Semantic tags and attributes are styled contextually out of the box without classes, forcing best practices, and reducing markup class pollution. A few dynamic components are WebComponents and use minimal JavaScript.

I wrote this to use in my own projects after getting sick of the ridiculous bloat, dependencies, and rug-pulls in Javascript UI/component libraries.

See live demo and docs at oat.ink

IMPORTANT: The lib is currently sub v1 and is likely to have breaking changes until it hits v1.


image

oat (knadh/oat)

css-framework
Searching Database…

5.5K ·GitHub
What is this?Oat is an ultra-lightweight, zero-dependency semantic HTML+CSS+JS UI component library (~10KB min+gz) for building web interfaces without a framework or build step.
Is this a framework or just a stylesheet?It is not a framework — just a tiny CSS file plus a small JS file for a handful of dynamic WebComponents; there's no build tooling or framework involved.
How do I add it to a project?Just include the tiny CSS and JS files (or their CDN links) directly in your HTML page and start using semantic tags — no build step required.
Do I need any other libraries to use it?No — Oat is built with zero dependencies, so there's nothing else to install.
Any gotchas before I rely on this?It's still pre-v1, so expect breaking changes until it reaches version 1.0.
Why did the author build Oat instead of using an existing component library?The author got tired of the bloat, dependencies, and rug-pulls common in JavaScript UI/component libraries and wanted a minimal alternative for personal projects.
Do I need to add CSS classes to style components?No — Oat styles semantic HTML tags and attributes contextually out of the box, giving decent-looking components without class pollution.
Where can I see a live demo or the docs?The live demo and documentation are hosted at oat.ink.
Creator
knadh
Size
0.5 MB
Stars
5.5K
Age
9mo
Commits · 90 Days