Skip to main content
v0.8.0 — Open Source & Free

VelinStyle

One system that reads like familiar component UI, stays as composable as utility workflows, and ships with WCAG-first primitives — without shipping another framework on top.

 components  web components  themes WCAG 2.2 AA Lean bundle
Component growth from 0.5 → 0.8.0
One stack, three habits

VelinStyle meets you where you are — then levels you up

We do not ship Bootstrap or Tailwind. This strip shows how the same product story feels in three engineering cultures — and how VelinStyle collapses noise into tokens, components, and accessible defaults.

Component-first habit

Familiar — but every surface is a bespoke bundle of class names and JS plugins for focus, overlays, and dark mode.

Utility-first habit

Flexible — but every screen re-encodes design decisions as long class strings; A11y and theming stay your responsibility.

VelinStyle

Coherent — semantic components, OKLCH tokens, @layer, container queries, and optional Web Components with focus + ARIA baked in.

Why VelinStyle?

Built Different from the Ground Up

Not another Bootstrap clone. VelinStyle uses the latest CSS standards to deliver accessibility, performance, and developer experience in one package.

Accessibility Built-in

WCAG 2.2 AA compliance is structural, not an afterthought. Focus trapping, ARIA attributes, skip links, screen reader support, and forced-colors mode — all included.

Modern CSS Only

@layer, CSS nesting, :has(), Container Queries, OKLCH, @scope, Anchor Positioning — no preprocessors, no build step.

13 Themes + Dark Mode

Swap entire design personality with one attribute. 13 presets from Corporate to Brutalist. Dark mode auto-detects system preference — zero config.

Multi-Provider Icons

50+ built-in icons plus instant access to Lucide, Heroicons, Material, Bootstrap Icons, Font Awesome and Tabler — via one attribute. No extra imports.

CLI: scaffold, audit, scan

0.8.0: velinstyle scaffold turns prompts into blueprint HTML; layout audit suggests responsive fixes. Plus icons, tokens, and security scan.

Security Built-in

XSS-safe Web Components with escapeHTML(), CSP compatibility, Trusted Types, URL sanitization, and CSS content sandboxing out of the box.

Install & ship

Install & Go

Pick your path — npm, CDN, Vite starter, or a custom CSS bundle from the CLI. Copy buttons grab the exact snippet.

  1. Add the package

    From your project root:

    npm install @birdapi/velinstyle
  2. Load CSS

    Reference the built CSS (or import it in your bundle entry).

    <link rel="stylesheet" href="node_modules/@birdapi/velinstyle/dist/velinstyle.min.css">
  3. Optional: Web Components (ESM)

    Use the minified module bundle for interactive primitives.

    <script type="module" src="node_modules/@birdapi/velinstyle/dist/velinstyle-components.min.js"></script>
  4. Markup

    Use velin-* classes and optional <velin-…> elements — see the docs for patterns.

No ES modules? Use velinstyle-components.iife.js for legacy pages — covered in the download guide.
Docs & repo tools

Blueprint, tokens, and patterns

One surface for CLI workflows, token pipelines, and accessible UI recipes — without leaving the design system you already ship.

0.8.0

Scaffold & layout audit

Generate Navbars, dashboards, and modals from text prompts, then run responsive layout checks before scan.

CLI blueprint · scan · tokens

Command-line reference

Snippet emitters, velinstyle tokens build, extended scan flags (--fix-dry-run, --fix-lang), and copy-paste config samples.

A11y

Pattern library

Skip links, live regions, dialogs, tabs, landmarks, and form error wiring — aligned with Velin components.

Open patterns →
Forms

Validation layer

:user-invalid, [aria-invalid], hints and errors — documented end-to-end.

Validation docs →
Repo

Local tooling

tools/theme-builder, tools/playground, and the Vite starter templates/vite-velinstyle.

GitHub →
Clone workflow: run npm run build in the VelinStyle repo so dist/ exists before wiring file:../velinstyle or a Vite app. Refresh dist/ in this site when you bump the framework (see site README).
Under the Hood

Modern CSS That Others Can't Match

VelinStyle uses cutting-edge standards that Bootstrap and Tailwind don't support yet.

@layer

8 ordered cascade layers for predictable specificity

CSS Nesting

Native nesting without Sass or PostCSS

Parent Selectors

CSS-only filtering & state detection

OKLCH Colors

Perceptually uniform, P3 gamut support

Container Queries

Components adapt to their container, not viewport

CSS Scope

Scoped styles without Shadow DOM

Anchor Positioning

Native tooltip/dropdown positioning, no Popper.js

Fluid Typography

Smooth scaling between mobile and desktop

Try It Live

Interactive Playground

Wähle links ein Beispiel — Preview und HTML stehen klar nebeneinander (wie in der Tailwind-Doku). Alle CSS-Kategorien findest du unter „CSS“ in der Seitenleiste.

Preview

Variants

Sizes

States

HTML
<button class="velin-btn velin-btn--primary">Primary</button>
<button class="velin-btn velin-btn--success">Success</button>
<button class="velin-btn velin-btn--outline">Outline</button>
<button class="velin-btn velin-btn--primary velin-btn--sm">Small</button>
<button class="velin-btn velin-btn--primary velin-btn--loading">Loading</button>
<button class="velin-btn velin-btn--primary velin-btn--block">Block</button>

Full split-view playground lives in the core repo: tools/playground — clone VelinStyle and open it locally.

13 Theme Presets

Same HTML, Different Personality

Swap with data-velin-theme="...". No rebuild, no extra CSS file. Scope themes to sections or the entire page.

Button

Default

Clean, balanced, professional.

Button

Sharp

Angular, editorial, zero radius.

Button

Soft

Rounded, warm, friendly.

Button

Brutalist

Raw, bold, hard shadows.

+ 9 more: Corporate, Elegant, Neon, Pastel, Retro, Glassmorphism, Nature, Monochrome, High Contrast

Explore All Themes →

How We Compare

VelinStyle vs. the Rest

A framework built for the modern web — not patched onto the old one.

Bootstrap since 2011
Modernness
Bundle
Components
~25
Deps
jQuery / Popper
Tailwind since 2017
Modernness
Bundle
JIT (varies)
Components
0 (utility only)
Deps
PostCSS + Node
VelinStyle v0.8.0 since 2025
Modernness
CSS bundle
JS bundle
Components
35+ CSS · 29 WC
Deps
None
Feature Bootstrap Tailwind VelinStyle
Components ~25 0 (utility only) 35+ CSS + 29 Web Components
Bundle Size ~230 KB (CSS+JS) JIT (varies) ~46 KB CSS + ~111 KB JS
Accessibility Partial (ARIA in JS) None built-in WCAG 2.2 AA structural
Dark Mode Manual Sass swap dark: variant Automatic token swap
Color System HEX / RGB HEX / RGB OKLCH (perceptual)
JS Dependency jQuery / Popper PostCSS + Node None (Web Components)
CSS Layers 8 ordered layers
Container Queries v4 only First-class
RTL Support Plugin Plugin Built-in (logical props)
Theme System Sass variables tailwind.config 13 presets, 1 attribute swap
Icon System External (Bootstrap Icons) External (Heroicons) Built-in + 6 providers
CLI Scanner A11y, Security, CSS
Security (XSS, CSP) Sanitization, Trusted Types
View Transitions CSS-only morph
Haptic Feedback 6 patterns
Form Persistence Zero-JS <velin-persist>
Fluid Typography Manual clamp() engine
Motion & charts (new 0.8.0) Sparkline, counter, FLIP-filter
Get Started in Seconds

Copy, Paste, Ship

No build tools. No config files. Just HTML.

<!-- Add to <head> — that's it! -->
<link rel="stylesheet"
      href="dist/velinstyle.min.css">
<script type="module"
        src="dist/velinstyle-components.min.js"></script>

<!-- Start building -->
<div class="velin-container">
  <div class="velin-grid velin-grid--auto-fit">
    <article class="velin-card">
      <div class="velin-card__body">
        <h2 class="velin-card__title">Hello World</h2>
        <button class="velin-btn velin-btn--primary">Get Started</button>
      </div>
    </article>
  </div>
</div>
22 Native Components

Zero-Dependency Web Components

Every component is a native Custom Element. Works with React, Vue, Angular, Svelte, or plain HTML. No framework lock-in, no runtime dependency.

View All 22 Components →

Start Building Today

One command. Zero config. Instant accessibility, dark mode, and 35+ components.

npm install @birdapi/velinstyle