lucide/docs
taimar 5d78605650
fix(site): empty search results on first load for tag-only matches (#4413)
* fix(site): fetch icon search metadata when typing

* fix(site): gate "No results" on metadata availability, not fetch state

* fix(site): also wait on categories metadata on the category page

Keeps the loading guard symmetric with the icons page. The narrower
tags-only check was technically more precise (this page's useSearch
doesn't index categories), but the failure case it guarded against —
brand search landing on a blank area if /api/categories lags behind
/api/tags — is too narrow to justify the asymmetry.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
2026-07-10 11:22:57 +02:00
..
.vitepress fix(site): empty search results on first load for tag-only matches (#4413) 2026-07-10 11:22:57 +02:00
contribute docs(version-1): Version 1 website (#4142) 2026-03-20 17:04:28 +01:00
guide fix(lucide-react-native): Add icon exports property to the package.json file (#4522) 2026-07-09 14:53:06 +02:00
icons feat(site): Improve search and add sorting options (#4453) 2026-06-13 15:25:41 +02:00
images docs(version-1): Version 1 website (#4142) 2026-03-20 17:04:28 +01:00
public docs(site): list @gyeonghokim/lucide-lit as third-party package (#4421) 2026-07-08 09:55:54 +02:00
scripts fix(docs): allow icon popularity prebuild without token (#4481) 2026-06-24 11:35:49 +02:00
brand-logo-statement.md docs(version-1): Version 1 website (#4142) 2026-03-20 17:04:28 +01:00
code-of-conduct.md docs(version-1): Version 1 website (#4142) 2026-03-20 17:04:28 +01:00
community.md docs(version-1): Version 1 website (#4142) 2026-03-20 17:04:28 +01:00
index.md Add missing titles and unify title template (#3920) 2026-01-02 08:46:32 +01:00
license.md chore(docs): Improve SEO icon detail pages (#4040) 2026-01-29 16:19:32 +01:00
nitro.config.ts docs(version-1): Version 1 website (#4142) 2026-03-20 17:04:28 +01:00
package.json chore(deps-dev): bump markdown-it from 14.1.1 to 14.2.0 (#4475) 2026-06-16 08:37:37 +02:00
packages.md chore(docs): Improve SEO icon detail pages (#4040) 2026-01-29 16:19:32 +01:00
README.md
showcase.md Add missing titles and unify title template (#3920) 2026-01-02 08:46:32 +01:00
tsconfig.json docs(api): Update nitro to latest version (#4102) 2026-03-05 14:03:27 +01:00
vercel.json docs(version-1): Version 1 website (#4142) 2026-03-20 17:04:28 +01:00

Lucide Docs website

The Lucide docs website is built with Vitepress: https://vitepress.dev/ This is Markdown-based documentation powered by Vue.

Development

# Install dependencies
pnpm install
# Start docs dev server
pnpm docs:dev

# Start api dev server
pnpm dev

Build

# Build docs
pnpm docs:build
# Build api
pnpm build:api

Components

See .vitepress directory.