Settings

Theme

Pico CSS is no longer maintained

github.com

167 points by henrid · 93 comments

Reader

21 threads
shubhamjain

> To stay relevant, Pico CSS would need a full rewrite: plain modern CSS instead of Sass, built on features it doesn't use today (OKLCH colors, cascade layers, Popover, anchor positioning) with fallbacks for older browsers

Why? Why? Why? I hate how everyone seems convinced they need to adopt the latest and greatest browser features just to stay relevant. I hate oklch and I hate Tailwind popularized it. I don't care how scientifically accurate it is at representing human color perception. It's a PITA to understand a new type of color system, and learn to tweak it, especially when HSL/RGB just worked fine.

  • Gualdrapo

    I don't get any of this hate. oklch makes it really easy to create new tones from a starting point and stuff like anchor positioning also makes it really easy to place absolutely-positioned things. So it's not like those "latest and greatest browser features" are there just to complicate your life, but actually the contrary.

    This just seems to me like (1) not wanting to learn new things, (2) a logical fallacy because the conclusion that those changes are to "stay relevant" and not to make the life of any future mantainer easier, and (3) fear of the new (https://en.wikipedia.org/wiki/Neophobia)

    • potato-peeler

      > So it's not like those "latest and greatest browser features" are there just to complicate your life, but actually the contrary.

      What justification do you have to adopt and replace this with existing solutions with such urgency? Have you researched its compatibility? Are you providing any fallback?

      This just seem to like 1) you are not applying your mind why you want this, 2) faulty premise that it makes it easier, because in reality your software never reaches a point of maturity, where its just "done", and 3) shiny object syndrome (https://en.wikipedia.org/wiki/Shiny_object_syndrome)

  • tasuki

    I'm pretty sure I'd hate Tailwind, but please leave OKLCH alone. It is actually ok (as opposed to RGB and HSL which very much aren't ok).

  • pjmlp

    Fashion and CV driven development, used to sell conference talks, books and agency work for "upgrades".

  • dev_l1x_be

    How can you hate Oklch?

  • dbbk

    This is a strange take, sorry, OKLCH is simply better and it's not that complicated to understand?

    • dofm

      OKLCH is as you say unambiguously better and IMO easier to understand than RGB, where choosing relative adaptations of colour is basically pretty fraught.

      Alas, in terms of the software people use to mock up designs, very few desktop apps support it. HSL is, for now, the more practical option.

  • throwaway27448

    > Why? Why? Why? I hate how everyone seems convinced they need to adopt the latest and greatest browser features just to stay relevant.

    Presumably we can deprecate the broken shit if we can get people to buy into software upgrades.

    • nine_k

      Are RGB and HSL color models all broken and useless? Yes, I know their limitations. But of all graphical software I use daily. only GIMP supports LCh, and using it is pretty unintuitive.

      I see how position-anchor and stuff are coll for complex layouts, but they have poor support on low-power mobile browsers, and, frankly, are not that useful for a minimalistic CSS framework. If you want complicated layouts with non-obvious anchoring rules, you're not the target audience.

      Cascade layers are very useful for complex designs with many independently added stylesheets. They would be great to have. OTOH again, if you need this level of complexity, you're likely not the target audience of a pico-sized CSS framework.

      I would say that a minimalist framework should make judicious use of CSS3 features, and not try to be excessively clever. In reliable engineering, being smart often means avoiding being clever.

sphars

Some recent alternatives/successors/forks that are in the same vein as Pico

- Nimble: https://leftium.github.io/nimble.css/demo/pico.html

- Sumi.css: https://vladocar.github.io/Sumi.css/docs.html

- Blades: https://github.com/anyblades/blades

- Oat: https://oat.ink/

  • lekolabe

    I was a big fan of pico! Such an inspiration. I created https://github.com/lekoala/actual-css as an attempt to get something modern yet as compatible as possible with older browsers (still ended up using popover because it's such a welcome addition to modern css). I'm still not sure modern css frameworks need to use layers (it breaks on older browsers) or anchor positioning (minimal js does the job, sometimes even better, and again: more compatible).

  • potato-peeler

    None of them work on older browser - https://ibb.co/album/3kJP50

    Ios 13.6 in my case, which was released just 6 yrs ago, 2020. For some context, flexbox gap was added in ios14.1, released in 2021. So iOS 13.6 was still usable atleast couple of years beyond that. So such frameworks utterly failing on such browsers is hilarious, given that they market themselves as minimal.

    People keep forgetting that css3 was announced in 1999. And adoption roughly started from 2010. The css3 of that time is not the same as css3 you get to see in latest browsers. These minimal css frameworks are really useless if you don’t know what css3 features you are writing and who you are targeting.

    And, I Haven’t even tested those in less capable browsers like dillo or netsurf, but I doubt they will even work there.

    If you start looking into browser market share, you will quickly realise that there are millions of worldwide users who can’t use the web normally.

    • hnlmorg

      > So such frameworks utterly failing on such browsers is hilarious, given that they market themselves as minimal.

      Minimal is an entirely different property to backwards compatibility.

      • potato-peeler

        When you say something is minimal, you are implying that what little you provide will also work. Which in this case is clearly not.

        motherfuckingwebsite.com is more minimal and usable than these frameworks.

        • digital_af

          As you're mainly complaining about CSS layout features being used here:

          For a long time we were forced to use the ugliest hacks imaginable to get to the nice (responsive, design-minimalist(!)) layouts we wanted, because CSS layout tools were utter archaic bs, for years on end, because browsers iterated so slowly.

          Then things started speeding up, and we're getting to make better websites (and apps!) that are way easier to design (with the correct design theory equivalents), implenent (with less code) and easier to maintain (i.e., understand). And you're not missing out if you just keep your browser up to date.

          I know it sucks if you're on an unsupported device that doesn't get any updates, fair.

          But let's face it: 99% of the population is better off security-wise when we're not enabling them to run unpatched devices forever.

          • potato-peeler

            Security updates have nothing to do with level of support for css3 modules.

            Much of the issues of layout were already solved more than 12 yrs back, ie when css3 became mainstream.

            The issue is devs are unaware about different levels of css3 or just plain ignorant about it.

            Are you aware about the different levels of css3? Are you even aware there are levels to css3? Why are these frameworks not listing them and simply saying that they comply with web standards? Which specific web standards do they comply?

            Any new css3 feature should have a fallback if they say they comply to web standards, which these frameworks don’t add.

            Basically you want to adopt latest w3c guideline but completely ignore wcag guidelines on accessibility - https://www.thewcag.com/principles/robust

            Why should some population forced to suffer because of your ignorance. I am sorry if I am blunt, but your comment about polarising users is rude.

            Which comes back to my main point, Devs are simply not educating themselves about the fundamentals of web design.

            • ambigious7777

              I think its fine to target compatability with 99.9% on people with updated devices and not some random old 2020 safafi build

              • abanana

                To be fair on this particular point, talking about iOS Safari before version 14 isn't "some random old build". It depends on your own users, but I saw plenty of 6-year-old iPhone user agents in the web logs when dealing with a doctor's surgeries app.

              • potato-peeler

                Even though I provided a direct link to wcag principles and guidelines, you still are too lazy to read.

    • Milpotel

      > None of them work on older browser

      There are older browsers which still get security patches?

      • potato-peeler

        They don’t unfortunately but it is a good reference for me to check how it looks on previous versions of browsers and less powerful devices. That way I know if the UI or UX needs improvement.

        ios updates unfortunately ties everything to a single batch. Unlike android. I have an older blackberry, that still gets latest app updates.

        What is even hilarious is ads render with pixel perfection on older devices. So for some reason, ad networks care about browser compatibility than devs putting the same ads on their incompatible website.

        • abanana

          Exactly. Ad creators know that the purpose of what they're building is more important than their personal dev experience of using shiny new tools. It's such a shame the fashion is the other way for so many web developers, largely the younger and less experienced ones.

          And yes, it makes sense to use one particular old browser as a general proxy for older browsers in general, so people shouldn't get hung up on the particular version of Safari you happened to mention.

  • mikae1

    All of them failed my ten second evaluation. It's amazing how many mediocre CSS frameworks that are out there.

    • automatic6131

      CSS frameworks are like children, almost everyone can make one.

    • bryanhogan

      What do you think of https://starter.bryanhogan.com/ then?

      • potato-peeler
        • ErroneousBosh

          What the hell browser is that?

          • abanana

            It's broken in the exact same way in the last version of Vivaldi that works on Windows <10.

            From a quick look at the second horizontal strip that starts "what is this?", and without wasting time doing too much digging, it appears to be ultimately caused by using a grid layout for a heading followed by a few paragraphs, all of which fill the available (constrained) width, which amounts to one of the absolute simplest layouts possible in CSS - block. Last time I saw something similar, albeit with flexbox not grid, it was from a junior developer who appeared to have only learned flexbox and nothing else.

            As a quick semi-fix, just disabling grid-template-columns on .base-layout is enough to fix almost everything except the constrained width.

    • tasuki

      Despite its idiotic naming, I still use PureCSS[0]. Not sure why they keep maintaining it. I don't mind, nothing ever seems to change anyway.

      How's your ten second evaluation of it?

      [0]: https://pure-css.github.io/

      • ErroneousBosh

        I'm using it but it's such a pain in the arse to find anything else online about it.

        It's one of the reasons I'm planning on moving stuff over to Pico.

        Or now, I guess, just writing some CSS from scratch, which I hate.

        • tasuki

          Yes it is a pain. But the whole thing is like two pages, so I^H my LLM just reads it. I used to read it. It was ok readable (and I'm not very good at CSS).

    • dvdyzag

      Whats the first thing in a CSS framework that you notice and makes you say "nah"?

    • ErroneousBosh

      What's your ten second evaluation?

rodolphoarruda

This is really sad news to me. I have used Pico several times as an example of good implementation and aesthetics, so the agent could get what I had in mind. In this case, applied human intelligence and good taste had their value when I needed to interact with the LLM. Now that intelligence begins to fade-out.

fodkodrasz

I'm sad to read this, but the authors know what is best for them, and what their priorities are. I'm really grateful for their work, I found Pico a few years ago, when I needed a minimal page (some status page for an embedded system) super quickly, and I had more than enough from the Bootstrap div soup, and invested half of the available time to research alternatives in - as I learnt the correct term for my preference then - semantic html.

It was a blast, super simple markup, mostly good defaults, I really enjoyed it.

I hope the best for them, and I hope some fork may get some traction, as Pico was my goto framework for small stuff one needs to do every now and then, and I really don't like the tailwind approach.

eterps

I really enjoyed using Pico CSS, but I understand the choice.

Thank you Lucas Larroche for building Pico CSS and sharing it with us.

  • childintime

    With AI he could have made the updates to "stay relevant" as he called it. That seems easier than ever. PicoCSS has brand recognition that shouldn't be throw away.

    • dspillett

      "With AI" is answered in the first sentence:

      > Today, AI can generate lightweight, standalone, accessible HTML with just the CSS it needs, so a Minimal CSS Framework for Semantic HTML matters less than it used to.

      If your answer is "use AI", then why not use AI to not need Pico. This could be maintained for those of us avoiding AI, of course, but we are fewer and further between with each passing day, and likely rolled our own instead of using someone else's framework anyway, so he probably didn't see the point and wanted to spend the time elsewhere.

      > brand recognition that shouldn't be throw away

      How useful do you think this brand recognition would be in his life? Enough for it to be worth maintaining a project he had presumably moved away from using for his own work & play?

      If it is so valuable then maybe someone will make a deal to take over maintainance. Though TBH if this were mine I'd probably prefer to keep the project mine-but-archived than let someone else do what they will with the "brand" thereby diluting what value it might have to me personally. It can just be forked instead, or people can move into one of the already existing forks.

martin_a

First of all: Thanks for the work! Used Pico CSS quite a lot in personal and small company projects where a simple site was needed. It was a great help to get things looking good without much effort.

To be honest: I haven't really looked at the CSS that agents have written for me. I'm wondering if CSS frameworks still can play a role in that world as guidelines to get more consistent and maintenable code. On the other hand: agent does it, agent has to fix it.

Still not totally sure where all of this is going.

Brajeshwar

First, I confess that I had built quite a lot of CSS Frameworks and Design Systems in my early developer life. So, this is going to be more of a personal experience.

Ever since Coding Assistant LLMs became pretty good (2025-Q4 - 2026-Q1), I feel that it makes very little sense to continue to use pre-defined CSS Frameworks that 'has everything.' Of course, it is still OK if the general team decides on one, and they are OK (such as the Tailwinds, MUI of the frontend world.)

I have used Foundation[1] and Bourbon[2] extensively. Mostly because I can break it down and take just what the project needs and keep it within a low CSS budget for any project.

With that in mind, in the 10+ projects that started for some of the biggest brands of the world, I just defined the CSS framework, design systems, design token, with room for extension as the project grows. Claude Code is my tool of choice for now and I just let it run overnight, tweak as the project scaffolds and finally takes about less than a week to have a complete CSS framework in just plain CSS, and JavaScript where it needs to talk to the broader frontend.

1. https://get.foundation

2. https://www.bourbon.io

  • fodkodrasz

    I'm not being a design/frontend person, but I can decide if I like or don't like something. Having some default "themes" to say so I can choose from is a large help for me.

    I mean with AI you can possibly more easily make decisions on the motor oil and suspension choices of the car you are building... but there may still be people who only want to get an pre-designed car, and only make calls on trim and color maybe.

  • BaudouinVH

    Bourbon is no longer maintained.

    Guide for replacing its features : https://thoughtbot.com/blog/you-might-not-need-bourbon

Retr0id

https://github.com/anyblades/blades seems to be a continuation in the same spirit

  • anydigital

    Thanks for sharing! Same spirit, same underlying code.

    We’re actively maintaining Blades CSS on GitHub and Discord, and would love Community feedback there.

    We also set up a dedicated page outlining key details: https://blades.dev/css/pico/

    • Sammi

      You guys really need to fix your site to be a demo first. See the nimble css page on how to market yourselves well. Right now your site is not telling me anything about how your library works or looks or how it is actually useful to me and how it solves my problems. The questions I actually have when I visit your site.

    • srvrX0r

      Im working on PicoCSS on the its repo on GitHub

steve_adams_86

A little sad in a way, but this seems like the right call. I haven't used Pico in a very long time, and I don't think I'd choose it today.

verandaguy

I haven't done frontend dev in a while, but one thing stands out to me here... they call out using OKLCH colours, which I had to look up. (For the uninitiated, this is a cylindrical projection of the also-new-to-me Oklab colour space, which appears largely unrelated to the older CIE L*a*b* colour space).

Do people actually use this? In particular, before LLMs ate the world, I mean. When I did frontend, it was hex, or if you felt fancy, `rgba(...)` (though at that point named colours had mostly fallen out of style).

Is using these less-intuitive colour encodings made more practical through the use of CSS variables?

  • jcranmer

    Yes, people use it in practice. But it's not being used for the thing you're thinking of.

    RGB is fine for specifying a color. I mean, there are issues with RGB colorspaces and whatnot, but if you need to pick the background of a page or the color of text, there's no real reason not to use RGB.

    The problem with RGB is that it is really bad at color interpolation. You can't take the average of the red, green, and blue components of two colors and expect a usable color in the middle to come out. Instead, you need to move to a perceptual color space. CIELAB is the old perceptual color space of choice; Oklab is the new perceptual color space of choice.

    Color interpolation is needed for things like gradients or information visualization, where you need to say things like "20% of the way between color A and color B".

    • cubefox

      RGB is also highly unintuitive by itself. Because additive color mixing is unintuitive. There is no way of knowing what RGB mixture corresponds to yellow unless you have memorized it.

  • velcrovan

    Well I use it on my personal site: the colors change with the weather and seasons [1]. Oklab’s so-what is that the hues are perceptually a uniform brightness, unlike HSL (which I started with) where blues and reds look a lot brighter than greens and yellows at the same saturation/lightness.

    So in my case where color shifting is happening, Oklab actually helps. I don’t know how it’s better than HSL for simple UI elements unless maybe you can get physically brighter values that pop out more on certain screens.

    [1]: https://joeldueck.com

  • Rapzid

    > Do people actually use this?

    Yes. OKLCH is actually MORE intuitive when creating shades because it's based around human perception. It also supports wide color spaces like P3, where rgba is, IIRC, bound to sRGB.

    The utility of these color spaces and color functions isn't lost just because LLM. Color systems haven't gone anywhere.

    Would highly recommend reading up on OKLCH if you haven't already. A lot of people put a lot of effort into promoting this and bringing it to baseline..

  • lelanthran

    > Is using these less-intuitive colour encodings made more practical through the use of CSS variables?

    I find it more intuitive: when I want to mix colors, or algorithmically choose colors, only oklch works to give decent results.

    Maybe you want to severely darken/lighten a color on a page when the user hovers over it - doing it in RGB or HSL results in a color that does not go with the existing colors. Doing it in OKLCH does.

  • Brajeshwar

    Yes, since the last couple of years. I tend to help architect and scaffold large projects that goes on for years, and changes a lot of developers, designers in its lifecycle. I was pretty confident of moving to OKLCH about 4-years ago and have have had it as default. OKLCH values are now the source of truth for these projects, and other design elements — all the way to Powerpoints (HEX/RGB) and Print (CMYK) are derived from OKLCH. There are variations but most people don’t even know the difference.

    This started way back working with my long-term business partner and he built a pretty good tool to help visualize and tinker with it.

    Website https://colorcolor.in

    Source https://github.com/saneef/color-color

  • 8n4vidtmkvmk

    Yes. And I'd argue it's more intuitive if all colors with the same lightness value are in fact the same lightness. Hue and chroma are pretty easy to understand too.

  • NetOpWibby

       Do people actually use this?
    
    Yes. I made https://uchu.style after I read this blog post: https://evilmartians.com/chronicles/oklch-in-css-why-quit-rg...

    I love OKLCH. Awkward to say, beautiful to look at.

  • sergiomattei
prokopton

I love plain old Vanilla CSS. Pre-processor-free for a couple years now and don't miss anything.

gajus

Been working on https://bamboocss.com/ for couple of months.

It's build-time, Rust/Oxc, type-safe, zero-runtime CSS-in-JS, with per-route CSS splitting.

  • grim_io

    Is zero-runtime CSS-in-JS an oxymoron?

    • askonomm

      Sure sounds like it. CSS-in-JS in general is a horrid idea, having to wait for JS to load in order for the site to render any of its styles. In general I find it strange how actively hostile to the end-user so many of the modern front-end practices are. The very people whose job it is to create interactive experiences for users seem to really want the users to not have a good time.

j45

Pico is a great little library.

Thank you to the developer and maintainer

For what it’s worth I had to force Claude early in to use pico and not ever generate react or ornate tailwind.

Pico is extraordinary for standalone tools where ai can’t let complexity build out of control.

Maybe there’s other options but pico is what got it done, and vanilla LLMs has a hard time keeping something this simple and elegant and flexible.

suhlig

Thank you very much for your stewardship over the years. And kudos for not just letting it rot, but communicating clearly, and closing it down responsibly.

u8

What a tragedy.

mhd

I miss 960px grid systems…

srvrX0r

Im on it -> @srvrX0r

vachina

Thank you for the training data

shevy-java

AI skynet slop is murdering people left and right.

The problem is that the explanation given here makes only little sense. I am not going to rely or depend on AI slop, so there is now one less option for me.

I think humans need to stop believing in AI slop as the new religion for everyone. Some people have a complete anti-AI policy and pull it through, too.

smlx

> To stay relevant, Pico CSS would need a full rewrite: plain modern CSS instead of Sass, built on features it doesn't use today (OKLCH colors, cascade layers, Popover, anchor positioning) with fallbacks for older browsers, and a native compiler that strips unused CSS and makes customization easy.

Does anyone know a similar project doing this?

psadri

Hmm. I use pico. They could use an agent to modernize it!

  • 0c3ca83

    Yeah, but why? Writing code for agents to use isn't fun, and buying tokens for it is a waste of money.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection