v1.1 · AI-ready

The CSS framework with a
futuristic glass soul

Frosted surfaces, neon glow and gradient everything — generated from Sass tokens with @for and @each loops. Tiny, themeable, and a little bit from the future.

// one map → hundreds of classes
@each $size, $len in $spacers {
  .p-#{$size} { padding: $len; }
}
@for $i from 1 through 12 {
  .col-#{$i} { width: percentage($i / 12); }
}

Get started

Drop it in — 10 seconds, no build step

CDN — paste into your <head>:

<link rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/farvist/dist/farvist.min.css">

Or install from npm:

npm i farvist

Layout

12-column glass grid

Flexbox columns from a @for loop, responsive at every breakpoint.

.col-12 .col-md-8
.col-md-4
3
3
3
3

Components

Built to glow

Buttons — hover for the neon glow

Badges

primary accent success 9+ soft soft accent soft info

Alerts

System online
All generators compiled cleanly. View build log.
Heads up — this preview uses the compiled dist/farvist.css.
A neutral, readable message on a colored glass panel.

Cards

Featured

Token-driven

Every value traces back to one Sass map. Change a token, restyle the system.

Glass surfaces

Frosted backdrop-filter panels with an inner highlight and deep shadow.

Jump to utilities

Tiny footprint

~14 KB gzipped, fully tree-shakeable by trimming the token maps.

14 KB MIT

Forms

Frosted inputs

Please enter a valid email.
@

Markdown is supported.


Utilities

Generated helpers

Theme colors

primary
accent
info
success

Gradients

primary
accent
sunset
aurora · animated

Neon glow

.glow-primary
.glow-accent
.glow-info

Type scale

.fs-xs — the quick brown fox

.fs-base — the quick brown fox

.fs-2xl — the quick brown fox

.fs-4xl — gradient headline


New · free forever

Backgrounds Tailwind & Bootstrap don't ship

Mesh gradients, patterns, spotlights and fade-masks — token-driven, theme-aware, one class. No plugins, no paid tier.

Mesh gradients

.bg-mesh-aurora
.bg-mesh-sunset
.bg-mesh-ocean
.bg-mesh-nebula .bg-drift

Patterns & spotlights

.bg-grid .bg-fade
.bg-dots
.bg-lines
.bg-spotlight-accent

New in v0.3

Component library & assets

15 new glass components, a 55-icon set, decorative SVGs and a 2.5 KB JS companion.

Icons — currentColor, so they glow with the theme

Avatars & chips

AL JD MK +5
Design Sass Glass Plain

Progress & loaders

Tabs

Pure-CSS panels toggled by the 2.5 KB companion script.

No framework, no dependencies — just classes.

Accordion (native <details>, no JS)

Is it really this small?
Yes — ~20 KB gzipped including every component.
Does it support themes?
Dark by default, with a one-attribute light theme.
MemberRoleStatus
AL Ada Lovelace
EngineerActive
MK Mira Koto
ProductAway

New in v0.5 — 9 more components

Stepper

  1. Account
  2. 2Plan
  3. 3Done

Segmented & rating

Range

Timeline

  • Deployed to production
    2 min ago
  • Spec updated
    1 hr ago
  • Branch created
    3 hr ago
8,420
Active users ▲ 12%
Callout
A lighter note for docs and tips.
Warning
Colored accent per theme color.
No results

Try a different search term.

How it compares

Farvist vs the usual suspects

FeatureFarvistBootstrapTailwind
Glass aesthetic built-in Yes
Free backgrounds library Mesh · patterns · spotlightsLinear gradients
Prebuilt components 34 Many— (utility-only)
Dark + light themes One attribute Yes Yes
Cascade layers (@layer) Yes v4
Build step required No — one <link> NoYes
Min size (gzip)~20 KB~30 KBvaries (purged)
LicenseMITMITMIT

Honest take: Bootstrap and Tailwind are mature, huge-ecosystem tools — pick them for that. Farvist is for a dark, glassy look with batteries included.

Premade templates

A glass dashboard, a SaaS landing, a portfolio, an AI console, and a copy-paste block gallery.