Icon design specification
This page lists the rules Lucide icons must follow.
For examples and guidance, see the Lucide design language.
Requirement levels
These terms show how strictly each rule applies:
- Must and must not mark required rules.
- Should and should not mark rules that can flex when needed to make a better icon.
Any exception should be intentional and fit the Lucide design language.
Canvas
- Icons must use a 24 × 24-pixel canvas.
- The canvas must be square.
- Icon strokes must remain at least 1 pixel from the edge of the canvas.
Strokes
- Strokes must be 2 pixels wide.
- Strokes must use round line joins.
- Open paths must use round line caps.
- Strokes must be centered on their paths.
Corners
- Sharp corners should be rounded unless the geometry of the icon requires otherwise.
- Elements at least 8 pixels wide or tall should use a 2-pixel corner radius for 90° corners.
- Elements smaller than 8 pixels should use a 1-pixel corner radius for 90° corners.
- Diagonal lines meeting at a 90° angle should use a radius that preserves pixel-grid alignment. This radius is typically approximately 2.41 pixels.
- Acute corners should use an appropriate amount of rounding based on their geometry.
- Corners where multiple lines meet should remain sharp when rounding would cause the icon to render inconsistently at different sizes.
Spacing
- Distinct elements must have at least 2 pixels of visual separation.
- Gaps between distinct elements must not be smaller than 2 pixels.
- Inner gaps should be at least 2 pixels wide.
- Spacing should remain visually consistent where elements connect or intersect.
- Elements should not terminate with an abrupt cut where another element visually continues or intersects them.
Visual weight
- Icons should have a visual weight similar to the
circleandsquareicons. - Icons should not appear substantially larger, smaller, heavier, or lighter than comparable Lucide icons.
Alignment and balance
- Icons should be visually centered within the canvas.
- Asymmetrical icons may be moved slightly off center so they look visually centered.
- Symmetrical icons should be geometrically centered.
Visual density
- Icons should have a level of detail similar to other Lucide icons.
- Details should be simplified when they cause an icon to appear substantially denser than comparable icons.
- Details that are not necessary for recognition should be omitted.
Curves
- Continuous curves should have smooth curvature.
- Curves should not contain unintended or abrupt changes in curvature.
- Arcs and quadratic Bézier curves should be preferred where they can accurately represent the intended geometry.
- Cubic Bézier curves may be used where necessary.
- Control points of adjoining cubic Bézier curves should be aligned where required to maintain continuous curvature.
- Curves should not contain unnecessary control points.
Pixel alignment
- Coordinates should align to the pixel grid where possible.
- Centers of arcs and other geometric elements should align to the pixel grid where possible.
- Off-grid geometry may be used when required for visual balance, recognizable geometry, or smooth curvature.
- Pixel alignment should not take precedence over the visual quality of the icon.
Shared geometry
- Variants of an existing icon should preserve the geometry, placement, and orientation of the base icon.
- Elements that already exist in other Lucide icons should reuse established geometry where applicable.
- Related icons should use consistent representations of shared elements.
- Common modifiers and add-ons should use consistent geometry, size, and placement across related icons.
- Existing geometry may be modified when necessary to satisfy other Lucide design language rules.
Priority of requirements
When two non-required rules conflict, choose visual clarity and consistency with the Lucide design language.
Rules marked must or must not can only be broken when the project defines an explicit exception.