Files
lucide/docs
taimar 1da4059d59 fix(docs): sync URL params with UI state on categories page (#4111)
* fix(docs): sync URL params with UI state on category and search interactions

Search, category selection, and the icon detail drawer each modified the
URL independently, causing parameters to be silently dropped. Searching
didn't clear the category hash, clicking a category dropped the search
param, and closing the drawer hard-coded the path without preserving
either.

Consolidate URL construction so every navigation preserves both ?search=
and #category as appropriate. Split useCategoryView into a pure getter
and a sync variant (useCategoryViewSync) so event listeners and route
watchers are registered once in CategoryList.vue instead of in every
consumer.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(docs): disable click on inactive categories during search

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Update docs/.vitepress/theme/components/icons/IconsCategoryOverview.vue

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>

* Update docs/.vitepress/theme/components/icons/IconsOverview.vue

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>

* refactor(docs): use URL constructor in CategoryListItem

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
2026-04-28 20:38:59 +02: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.