> ## Documentation Index
> Fetch the complete documentation index at: https://elormui-mintlify-6ade9c4d.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Changelog

> Product updates and improvements to elorm/ui.

<Update label="June 5, 2026" tags={["v0.2.2"]}>
  ## New

  * **`benchmark-grid` block** — a responsive leaderboard grid for product and AI eval scorecards. Drop in the defaults or pass your own benchmarks for model comparisons and launch claims. Install with `elorm add benchmark-grid`.
  * **`prompt-composer` block** — an AI prompt input with action shortcuts, attachment control, and suggestion chips. Use it as a hero prompt box, agent command bar, or chat launcher and wire `onPromptSubmit` to your endpoint. Install with `elorm add prompt-composer`.
  * **Blocks showcase on the homepage** — the marketing site now previews the new blocks alongside the primitive compare, so you can see what ships before running `elorm init`.

  ## Improved

  * **`elorm init` merges your existing CSS** — if your Tailwind CSS file already exists, `init` now merges elorm's theme tokens in place instead of warning you to do it by hand. New projects still get a fresh file. See the [CLI reference](/get-started/cli).
  * **Marketing analytics** — Vercel Analytics and Speed Insights are now enabled on the marketing site for better visibility into usage and performance.
</Update>

<Update label="May 29, 2026" tags={["v0.2.1"]}>
  ## New

  * **HeroUI registry** — pick **Base UI**, **Radix UI**, or **HeroUI** as your primitive at `elorm init` (`--ui-library heroui`). Browse the full library from the [Components](/components/button) section.
  * **New components** — `command`, `icon-nav-link`, `mode-toggle`, `page-footer`, `sonner`, and `theme-provider` are now available via `elorm add`.
  * **Dark mode setup guide** — drop-in `ThemeProvider` + `ModeToggle` instructions. See [Theming](/get-started/theming).
  * **Automatic Vite / non-RSC support** — `"use client"` directives are stripped at install time when you pick `framework=vite` or `rsc=false` during `elorm init`. No manual cleanup. See the [CLI reference](/get-started/cli).
  * **Agent skills** — install the elorm skill for AI agents (Cursor, Claude, etc.) so they can scaffold and edit elorm/ui projects with full context.
  * **`elorm info --json`** — print your project config, aliases, installed components, and resolved paths as JSON. Built for AI agents and CI scripts.

  ## Improved

  * **Library switcher in docs** — switch between Base UI, Radix UI, and HeroUI previews and code with a single click. Your selection is remembered across pages.
  * **Site-wide theming** — mode toggles in the docs now update the full page via `next-themes`, including all preview panels.
  * **Mobile layout** — cleaner library tabs and preview badges on small screens.
  * **Marketing homepage** — redesigned as a demo-first split layout with a three-way primitive compare (Base UI / Radix UI / HeroUI).

  ## Fixed

  * Sonner success toast preview now renders correctly.
  * HeroUI "Preview" badge contrast in both light and dark mode.
  * HeroUI dialog and select previews no longer duplicate.
  * `ThemePicker` hydration mismatch for the mode label.
  * React 19 `next-themes` script warning on the docs site.
</Update>
