DEV Community

David Díaz
David Díaz

Posted on Originally published at blog.daviddh.dev

Solid Glass Adds an AI UI Theme to shadcn/ui Projects

Solid Glass is a public GitHub project that packages a glass-inspired design system for AI applications as a stylesheet intended to work with shadcn/ui. For developers building chat and agent interfaces, its practical proposition is narrow but useful: the stylesheet targets the data-slot attributes and classes that existing shadcn/ui components already carry, so adoption is presented as a theme integration rather than a component rewrite. Source: Solid Glass repository

A theme layer, not an AI framework

The project describes its visual treatment as sitting between flat design and “liquid glass”: surfaces retain outlines, borders, highlights and shadows, while avoiding the highly transparent treatment that can interfere with text legibility. Its stated design goals are tactility, precision, physicality and materiality; for interfaces with streaming responses, agent tasks and pending human decisions, it argues that neutral surfaces and reserved use of colour and motion help keep the UI calm and readable. Source: Solid Glass repository

The core distribution is one CSS file. The repository says it defines colours, three glass thicknesses, a state and motion, while also defining shadcn/ui’s variable names. It supports light and dark modes, although the project describes dark mode as the intended material treatment. Source: Solid Glass repository

Installation begins from a shadcn/ui project using React 19, Tailwind CSS 4 and Base UI components. Developers add the deeplethe/solid-glass/solid-glass stylesheet through the shadcn CLI, import it after Tailwind and shadcn styles, and remove the :root and .dark colour variables created by shadcn initialization because Solid Glass defines variables with the same names. Source: Solid Glass repository

Components for agent-facing screens

Beyond the theme, the project supplies installable components including status-glyph, panel, tag, dot-loader, turn-status, composer, tool-steps, diff-view, ask-card, context-ring, task-notice and reasoning. The README positions these around an agent workflow: showing activity, accepting a prompt, rendering tool steps and diffs, asking for user input, and displaying context usage. Source: Solid Glass repository

The repository also includes complete screen-level “Blocks,” including an agent-workspace, plus a Create page that exposes controls for thickness, tint, chart colour, type, radius, rim and blur and produces corresponding CSS variable changes. Source: Solid Glass repository

The compatibility trade-off

Analysis: Solid Glass’s most consequential choice is to treat shadcn/ui as the compatibility surface rather than create another self-contained component ecosystem. That should reduce initial adoption cost for teams already on the shadcn stack, because the theme is designed around existing slots and classes. It also leaves an unresolved maintenance question: the approach depends on those structural conventions remaining stable enough for a stylesheet to keep selecting the intended parts. The repository notes that some displayed shadcn/ui components differ slightly from stock versions, while saying the stylesheet does not depend on those differences. Source: Solid Glass repository

This is therefore best read as a focused UI layer, not evidence of a broader agent runtime or application framework. Its value will depend less on the glass treatment itself than on whether its component conventions fit a team’s existing shadcn/ui codebase and the information density of its AI workflows. The repository is licensed under MIT and includes contribution, code-of-conduct and security-policy materials. Source: Solid Glass repository

Top comments (0)