Icons¶
Make your docs easier to scan by adding icons to cards, sidebar navigation, and your site logo. Lumina includes all 1900+ Lucide icons — rendered as inline SVG at build time with zero runtime cost.
Tip
Not sure what’s available? The Icon Browser page has an interactive browser — search by name and click any icon to copy it.
Card Icons¶
Add an :icon: option to any {card} or {grid-item-card} directive:
:::{card} Getting Started
:icon: rocket
Install and configure Lumina in minutes.
:::
Result:
Install and configure Lumina in minutes.
Featured Style¶
For landing pages or feature showcases, the featured style places a larger icon in a tinted pill above the title:
:::{card} Getting Started
:icon: rocket
:icon-style: featured
Install and configure Lumina in minutes.
:::
Result:
Install and configure Lumina in minutes.
Grid Cards¶
Both styles work with {grid-item-card}:
Step-by-step tutorials.
API documentation.
Common questions.
Options Reference¶
Option |
Values |
Default |
Description |
|---|---|---|---|
|
Any Lucide icon name |
— |
Icon to display on the card |
|
|
|
|
Cards without :icon: render exactly as before.
Logo Icon¶
Use a Lucide icon as your site logo instead of a custom image:
html_theme_options = {
"logo_icon": "hexagon",
}
The icon renders in your accent color and adapts to both light and dark mode automatically.
logo_icon is only used when no image logo is configured. If you set html_logo, light_logo, or dark_logo, those take precedence.
Finding Icon Names¶
Use the Icon Browser to search all 1900+ icons and click to copy names.
Icon names use kebab-case — the same format shown on lucide.dev/icons:
Example |
Name |
|---|---|
Rocket |
|
Book Open |
|
Circle Help |
|
Hexagon |
|
Sparkles |
|
If you use an icon name that doesn’t exist, the build continues without errors — the icon is silently omitted.