Source artwork and implementation
A bookmark saves an article, document, or resource for later. Saving to a list is different from downloading a file to the device.
Use it in an interface
Make the saved state persistent and provide an obvious route to the saved list. If storage is browser-local, explain that clearing browser data removes it.
The ri:bookmark-fill source has 1 SVG path element and a 24 × 24 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=ri&name=bookmark-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 Bookmark Fill at the actual display size, especially if your output differs from its 24 × 24 source grid.
- Give interactive controls an action label rather than relying on the file name.
- Retain the Apache 2.0 license notices required by the original source terms.
Try our visual implementation examples for buttons, sizing and selected states.