Fylgja CSS is a modular CSS library built around plain HTML. Pick exactly the parts you need, combine them with the tools you already use, and override anything without fighting specificity.
- Base: classless defaults that make plain HTML look good, kept at zero specificity with
:where. - Tokens: one design language as plain CSS variables, for colors, sizes, shadows, easing and more.
- Utilities: a curated set of utilities you tune with a CSS variable instead of a new class.
- Components: small, single class components such as card, badge, callout and toast.
- UI: components you copy, not dependencies you install. Plain, accessible HTML that works with any framework.
npm install fylgjaThis installs Base, Tokens and Utilities in one go. No build step? Copy a file straight into your project with npx fylgja@latest add base, or link it from a CDN. The getting started guide covers every option.
Read the blog for releases and guides, or follow Fylgja on Bluesky, Mastodon and DEV.
Issues, ideas and pull requests are welcome. Start with the contributing guide, and if Fylgja is useful to you, a star on fylgja/fylgja helps others find it.