Source artwork and implementation
Use a house to return people to the main page of a website or application. In a dashboard with several workspaces, clarify whether it returns to the product overview or a particular account.
Use it in an interface
Keep the home destination consistent across screens. If the logo already links home, a second house icon may be unnecessary on a compact header.
The ph:house-fill source has 1 SVG path element and a 256 × 256 coordinate system. Its source does not declare a stroke attribute in the drawing markup; do not assume adding a stroke will preserve its appearance. The preview preserves the source proportions.
Embed the original SVG as an image
This example reserves a 24-pixel box. It uses an empty alternative because visible text must convey the meaning alongside a decorative icon. For an informative standalone image, replace the empty alternative with a useful description.
<img src="/icon-file.php?prefix=ph&name=house-fill" width="24" height="24" alt="">An SVG loaded through an image element does not inherit the surrounding page’s CSS color. To recolor it, export a customized version or use a reviewed inline SVG. Compare inline SVG and image coloring.
Check before shipping
- Preview House Fill at the actual display size, especially if your output differs from its 256 × 256 source grid.
- Give interactive controls an action label rather than relying on the file name.
- Retain the MIT license notices required by the original source terms.
Try our visual implementation examples for buttons, sizing and selected states.