How seokwoooo/lucian-uxui-prompt works
Lucian UX/UI Prompt is a library and live gallery of 400 interactive UI elements. Users browse and preview an element, then copy its prompt or code, or download a standalone file; an AI coding agent can also read the static API data. The source elements are assembled into the gallery by the build tool, which also uses the shared localization function. The README documents generated API data, but its generator is not shown in the sampled source, so that connection is documented rather than inferred from code.
Main entry points: gallery.js Gallery runtime · build.mjs Gallery builder · elements 400 UI elements · v1 Static API data
Components 12
Element library
- 400 UI elements
src/elements
Gallery generation
- Gallery builder
src/build.mjs - English localizer
src/gallery/i18n-core.js
Gallery experience
- Gallery runtime
src/gallery/gallery.js - Interactive previews
src/gallery/gallery.js - Search and filters
src/gallery/gallery.js - Prompt and code actions
src/gallery/gallery.js - Standalone download
src/gallery/gallery.js
Reuse and API
- Generated gallery
- Static API data
api/v1
Other components
- Gallery visitor
- AI coding agent
Connections 13
- Gallery visitor → Gallery runtime: browses
README.md - Gallery runtime → Interactive previews: mounts demos
src/gallery/gallery.js - Gallery runtime → Search and filters: filters items
src/gallery/gallery.js - Gallery visitor → Prompt and code actions: selects element
README.md - Prompt and code actions → Gallery visitor: copies prompt or code
README.md - Gallery visitor → Standalone download: requests file
README.md - Standalone download → Gallery visitor: saves standalone HTML
README.md - 400 UI elements → Gallery builder: supplies source
src/build.mjs - Gallery builder → English localizer: uses localization
src/build.mjs - Gallery builder → Generated gallery: generates
src/build.mjs - Generated gallery → Gallery runtime: embeds runtime
- 400 UI elements → Static API data: generates data
README.md - AI coding agent → Static API data: reads library
README.md