@molecule/app-icons-molecule
v1.0.2
Published
Molecule default icon set for molecule.dev
Readme
@molecule/app-icons-molecule
Auto-generated, AI-first package reference for the molecule.dev ecosystem. It is written to be read by coding agents as much as by people, and is generated from this package's source — edit
src/index.tsJSDoc, not this file.
Molecule default icon set for molecule.dev — the fleet's built-in SVG
glyphs bundled as an IconSet keyed by kebab-case name.
Quick Start
import { setIconSet } from '@molecule/app-icons'
import { iconSet } from '@molecule/app-icons-molecule'
setIconSet(iconSet) // once, at app startup — before anything renders an iconType
provider
Installation
npm install @molecule/app-icons-molecule @molecule/app-iconsAPI
Constants
arrowDown
const arrowDown: IconDataarrowLeft
const arrowLeft: IconDataarrowRight
const arrowRight: IconDataarrowUp
const arrowUp: IconDatabell
const bell: IconDatabookmark
const bookmark: IconDatabrowser
Browser window — used by the IDE preview device-frame cycle to represent the "responsive" (no fixed device frame, full-width) state.
const browser: IconDatabug
Bug / report glyph — used for "report a bug" affordances (e.g. the IDE chat header's report button). A real beetle silhouette, not a warning triangle.
const bug: IconDatacalendar
const calendar: IconDatachat
Speech-bubble glyph (authentic GitHub Octicons 16px comment). The themed
channel icon for SMS/message activity in @molecule/app-ide-react's Activity
card + panel — the SVG counterpart to the old 💬 emoji. Filled with
currentColor so it follows the surrounding theme token like the rest of the
set.
const chat: IconDatacheck
const check: IconDatacheckCircle
const checkCircle: IconDatachevronDown
const chevronDown: IconDatachevronLeft
const chevronLeft: IconDatachevronRight
const chevronRight: IconDatachevronsLeft
SVG path data for the chevrons left icon.
const chevronsLeft: IconDatachevronsRight
SVG path data for the chevrons right icon.
const chevronsRight: IconDatachevronsUpDown
SVG path data for the chevrons up-down icon — the universal neutral "this
column is sortable but not currently sorted" glyph. Composed from the same
chevron-up and chevron-down shapes (translated into the top and bottom
halves) so it reads as one consistent family with the active asc/desc
indicators.
const chevronsUpDown: IconDatachevronUp
const chevronUp: IconDataclock
const clock: IconDatacode
const code: IconDatacopy
const copy: IconDatadeviceDesktop
Monitor / desktop display — used by the IDE preview device-frame cycle.
const deviceDesktop: IconDatadeviceMobile
Smartphone / mobile device — used by the IDE preview device-frame cycle.
const deviceMobile: IconDatadeviceTablet
Tablet device (landscape slab with a home indicator) — used by the IDE
preview device-frame cycle. Octicons has no tablet glyph, so this is drawn
in the same 16px filled style: an outer rounded body, an inset screen cut
out via the evenodd rule, and a home dot inside the screen.
const deviceTablet: IconDatadownload
const download: IconDataellipsisHorizontal
const ellipsisHorizontal: IconDataexclamationTriangle
const exclamationTriangle: IconDataeye
const eye: IconDataeyeClosed
const eyeClosed: IconDatafile
const file: IconDatafilter
const filter: IconDatafolder
const folder: IconDatagear
const gear: IconDatagithub
SVG path data for the github icon.
const github: IconDatagitlab
SVG path data for the gitlab icon.
const gitlab: IconDataglobe
const globe: IconDatagoogle
SVG path data for the google icon.
const google: IconDatahash
Hash/number-sign glyph (a hand-built # — four bars in the 16px box). The
themed channel icon for chat-channel activity in @molecule/app-ide-react's
Activity card + panel — the SVG counterpart to the old literal # text glyph.
Filled with currentColor so it follows the surrounding theme token like the
rest of the set.
const hash: IconDataheart
const heart: IconDatahistory
const history: IconDatahome
const home: IconDataicons
Molecule default icon set — all icons keyed by kebab-case name.
Built from individual icon modules in ./icons/.
const icons: IconSeticonSet
Molecule default icon set provider. Wire at app startup:
import { setIconSet } from '@molecule/app-icons'
import { iconSet } from '@molecule/app-icons-molecule'
setIconSet(iconSet)const iconSet: IconSetimage
const image: IconDatainfoCircle
const infoCircle: IconDatalightbulb
const lightbulb: IconDatalink
const link: IconDatalinkExternal
const linkExternal: IconDatalock
const lock: IconDatalogoDot
SVG path data for the logo dot icon.
const logoDot: IconDatalogoMark
SVG path data for the logo mark icon.
const logoMark: IconDatamail
const mail: IconDatamaximize
const maximize: IconDatamention
const mention: IconDatamenu
const menu: IconDatamicrophone
const microphone: IconDataminimize
const minimize: IconDataminus
const minus: IconDatamoon
const moon: IconDatapaperclip
const paperclip: IconDatapencil
const pencil: IconDatapeople
const people: IconDatapin
const pin: IconDataplus
const plus: IconDataquestion
const question: IconDatareply
const reply: IconDatarotate
Screen / device rotation (portrait ⇄ landscape) — used by the IDE preview panel's "Rotate" control to swap a fixed-frame device (tablet / mobile) between portrait and landscape.
Octicons has no screen-rotation glyph, so this is the canonical Material
Design screen_rotation mark (a tilted device with the two curved
re-orientation arrows) — instantly recognizable as "rotate the screen" and
clearly distinct from the neighbouring two-arrow sync/refresh glyph. It is
drawn on Material's native 24×24 grid; the renderer scales it to the
requested pixel size like any other glyph.
const rotate: IconDatasearch
const search: IconDatashare
const share: IconDatasignIn
const signIn: IconDatasignOut
const signOut: IconDatasortAsc
const sortAsc: IconDatasortDesc
const sortDesc: IconDatasparkle
A four-point sparkle (✦) — the "smart tip / suggestion" glyph used for the proactive relevant-skill hint and the onboarding tip card. Reads as a tip far better than the generic lightbulb it replaces (P3-01). Each of the four edges is a quadratic curve that bows toward the centre, forming the concave points.
const sparkle: IconDatastar
const star: IconDatastarOutline
const starOutline: IconDatasun
const sun: IconDatasync
const sync: IconDatatable
const table: IconDatatag
const tag: IconDatathumbsdown
const thumbsdown: IconDatathumbsup
const thumbsup: IconDatatrash
const trash: IconDatatwitter
SVG path data for the twitter icon.
const twitter: IconDataunlock
const unlock: IconDataupload
const upload: IconDatauser
const user: IconDataxCircle
const xCircle: IconDataxMark
const xMark: IconDataCore Interface
Implements @molecule/app-icons interface.
Injection Notes
Requirements
Peer dependencies:
@molecule/app-icons^1.0.1
Runtime Dependencies
@molecule/app-iconsIcon names are kebab-case (
'arrow-right','check-circle'). The exported constants are camelCase (arrowRight) but registration converts the keys —<Icon name="arrowRight" />is a runtime error, not a blank.Beyond the required
ComponentIconNamecontract this set ships extra glyphs (browser,chat,device-desktop|mobile|tablet,hash,rotate,sparkle,star-outline), registered type-safely via theCustomIconNamesaugmentation.In components prefer the framework UI's
<Icon name="…" />(reads the bonded set); usegetIconDataUrl(name, color)for CSS/background/favicon contexts.
