Skip to content

SkyliteDesign/velinstyle

Repository files navigation

VelinStyle — developer-first CSS system

VelinStyle

The developer-first CSS system.

Build clean interfaces.
Without utility chaos.


License: MIT Release npm version WCAG 2.2 AA GitHub stars PRs Welcome


npm install @birdapi/velinstyle

Live demos · Docs · Star on GitHub · npm

English · Deutsch


The problem

Modern UI stacks trade readability for speed.

Pain
Tailwind Utility spam. Unreadable markup. Endless dark: prefixes.
Bootstrap Hard to override. Legacy weight. Samey look.
Shoelace Web Component overhead. Shadow DOM styling fights.

You ship fast. Then you fight your HTML.


The solution

VelinStyle is a lean CSS + Web Component system built for developers who want structure, not sprawl.

  • Semantic componentsvelin-btn, velin-card, velin-table. Names you can grep.
  • Predictable BEM-style classes — no generated utility soup.
  • CSS cascade layers — tokens → base → components → utilities. Overrides stay sane.
  • Optional Web Components — 32 interactive widgets when you need behavior, plain CSS when you don't.
  • OKLCH design tokens + 13 themes — swap data-velin-theme, skip dark: hell.
  • Ship without a build step — link CSS + ESM from npm or CDN. CLI when you want automation.
  • WCAG 2.2 AA by design — focus, ARIA, keyboard patterns baked in.

Quick example

Readable HTML. Real components. No 40-class <div> tags.

<link rel="stylesheet" href="https://unpkg.com/@birdapi/velinstyle@0.8.0/dist/velinstyle.min.css">

<div class="velin-container velin-p-6">
  <div class="velin-grid velin-grid--cols-3 velin-gap-4">
    <article class="velin-card">
      <div class="velin-card__body">
        <h2 class="velin-card__title">Revenue</h2>
        <p class="velin-card__text velin-text-3xl velin-font-bold">$24.8k</p>
        <button type="button" class="velin-btn velin-btn--primary velin-btn--sm">Details</button>
      </div>
    </article>
    <article class="velin-card">
      <div class="velin-card__body">
        <h2 class="velin-card__title">Users</h2>
        <p class="velin-card__text velin-text-3xl velin-font-bold">1,284</p>
        <button type="button" class="velin-btn velin-btn--outline velin-btn--sm">Details</button>
      </div>
    </article>
    <article class="velin-card">
      <div class="velin-card__body">
        <h2 class="velin-card__title">Conversion</h2>
        <p class="velin-card__text velin-text-3xl velin-font-bold">3.2%</p>
        <button type="button" class="velin-btn velin-btn--ghost velin-btn--sm">Details</button>
      </div>
    </article>
  </div>
</div>

This is what Tailwind doesn't look like.


Installation

npm

npm install @birdapi/velinstyle
<link rel="stylesheet" href="node_modules/@birdapi/velinstyle/dist/velinstyle.min.css">
<script type="module" src="node_modules/@birdapi/velinstyle/dist/velinstyle-components.min.js"></script>

CDN

Pin the version. Ship today.

<link rel="stylesheet" href="https://unpkg.com/@birdapi/velinstyle@0.8.0/dist/velinstyle.min.css">
<script type="module" src="https://unpkg.com/@birdapi/velinstyle@0.8.0/dist/velinstyle-components.min.js"></script>

Download / clone

dist/ is not in git. After clone:

git clone https://github.com/SkyliteDesign/velinstyle.git
cd velinstyle
npm install && npm run build

Zero-build option: fork showcase-demos and open HTML files — unpkg CDN only.


Quick start

Minimal page. One button. Done.

<!DOCTYPE html>
<html lang="en" data-velin-theme="ocean">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>My App</title>
  <link rel="stylesheet" href="https://unpkg.com/@birdapi/velinstyle@0.8.0/dist/velinstyle.min.css">
  <script type="module" src="https://unpkg.com/@birdapi/velinstyle@0.8.0/dist/velinstyle-components.min.js"></script>
</head>
<body>
  <div class="velin-container velin-p-6">
    <button type="button" class="velin-btn velin-btn--primary">Ship it</button>
  </div>
</body>
</html>

Next: Getting started docs · Vite starter · React starter


Core philosophy

Four rules. No exceptions.

  1. Clean HTML — structure first, decoration second.
  2. Predictable classesvelin-* naming you and your IDE understand.
  3. Readable UI code — diffs stay human-sized. Reviews stay fast.
  4. AI-friendly structure — consistent patterns for codegen; CLI scaffold and blueprint for bootstrapping.

Features

Grid & layout velin-grid, container queries, responsive utilities
Components 35+ CSS components + 32 Web Components
Themes 13 OKLCH presets via data-velin-theme
Footprint ~150 KB CSS + ~111 KB JS (min, full bundle)
Accessibility WCAG 2.2 AA, RTL, prefers-reduced-motion
Motion (0.8.0) Sparkline, counter, live-dot, FLIP helpers, reveal
CLI init, build, scan, scaffold, layout, blueprint, icons, prefix

Advanced: CLI & architecture in CHANGELOG · Full docs


Comparison

Bootstrap Tailwind Shoelace VelinStyle
HTML readability Medium Low Medium High
Class predictability Medium Low Medium velin-btn--primary
Utility sprawl Low High Low Controlled
Override story Hard Config file Shadow DOM CSS layers + tokens
Accessibility Partial DIY Good WC WCAG 2.2 AA
Dark mode Manual dark: everywhere Theme attr Token swap
App chrome Legacy JS BYO WC only CSS + optional WCs
Ship speed Fast Fast (with build) Fast CDN, no build required
Full-page demos Basic None official Storybook Live showcases

Live demos

Full application pages — not toy snippets.

VelinStyle crypto dashboard demo

Crypto dashboard

Crypto →

E-commerce demo

E-Commerce →

Dashboard demo

Dashboard →

SaaS marketing

SaaS →

Interactive components

Interactive →

Forum community

Forum →

All demos →  ·  Fork showcase-demos →


Contributing

PRs welcome. All sizes.

  1. Fork the repo
  2. npm install && npm run build (dist/ is gitignored)
  3. Make your change · run npm test and npm run test:a11y
  4. Open a pull request

See CONTRIBUTING.md for code style, branch rules, and review process.


Roadmap

Direction, not a commitment. See CHANGELOG for shipped work.

Phase Focus
Now (0.8.0) Motion tokens, sparkline / counter / live-dot, FLIP helpers, filter utilities, scaffold + layout CLI
Next Smaller optional bundles, more blueprint packs, expanded scaffold intents
Exploring Framework adapters, design-token export, additional theme presets

Community

Issues & bugs github.com/SkyliteDesign/velinstyle/issues
Releases github.com/SkyliteDesign/velinstyle/releases
Product site velinstyle.info
Documentation velinstyle.info/docs/

Help others find VelinStyle: Star the repo · Try a live demo · Fork showcase-demos


License

MIT — Copyright © 2026 VelinStyle

Made with care for the web by SkyliteDesign

About

WCAG-first CSS framework & Web Components — OKLCH themes, container queries, 21 interactive components, optional CLI. Published on npm as @birdapi/velinstyle.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors