Files
logseq/packages/ui
scheinriese e782310e57 feat: add unified icon picker with emoji, text SVG, and image icon support
Introduces a comprehensive icon picker system supporting 5 icon types:
emoji, tabler icons, text (SVG viewBox), avatar, and image assets.

Key features:
- Text icons rendered as crisp SVG with smart text splitting
- Image asset picker with grid view, drag-and-drop upload
- Wikipedia Commons image search with license confirmation
- URL-based asset import with validation
- Recently used assets tracking
- Unified icon format with normalize-icon for consistent storage
- DB migrations for default-icon, wikidata-id, property-key-width properties
- Context menu "Set icon" / "Change icon" entry points
- Bordered tooltip arrows for web image info
- Photo-icon sizing in CMD+K and page title contexts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 13:38:14 +01:00
..
2023-12-26 16:31:37 +08:00
2025-12-09 20:53:38 +08:00
2023-12-26 16:31:37 +08:00
2025-12-09 20:53:38 +08:00
2024-01-26 11:17:28 +02:00
2023-12-26 16:31:37 +08:00
2025-12-09 20:53:38 +08:00

Logseq UI

Logseq UI components based on shadcn UI.

Development

🎨 Add a new component

It is recommended to install through CLI mode.

npx shadcn-ui@latest add button

🦄 Play with Storybook

  1. Watch shui cljs stories from root scripts.
yarn run cljs:watch-storybook

# cljs:watch-stories: "clojure -M:cljs watch stories-dev"
  1. Set up storybook from the current working directory.
yarn run watch:storybook

Credits

License

MIT