Files
lucide/docs
Eric FennisandClaude Opus 5.5 7af21af580 feat(site): Add lucide merch ad fallback (#5299)
* feat(site): Show merch from merch.lucide.dev when Carbon Ads are blocked

When an adblocker stops Carbon (failed script request, no window._carbonads
after 3s, or the ad hidden by a cosmetic filter), the ad slot shows a merch
card instead of an empty box. Doc pages and the icons overlay get a 3:4
slider with bullets (10s, crossfade); the home page shows two products.

Products come from the Fourthwall Storefront API at build time
(prebuild:merch, FOURTHWALL_STOREFRONT_TOKEN), in USD, so the token never
reaches the browser. Without a token the card links to the store.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G9u8FiGcimashQWZ7MEP1h

* refactor(site): Load merch with a VitePress data loader instead of a prebuild script

Moves the Fourthwall fetch into merch.data.ts, so the products come from
the same .data.ts pattern as the other build-time data. Drops the
prebuild:merch script and the gitignored merchData.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G9u8FiGcimashQWZ7MEP1h

* Dynamic load merch component

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-26 10:32:25 +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.