Get started
Use Rivcurve’s Refined icons in product interfaces. The first collection includes 108 outline icons built on a 24 × 24 grid.
Use SVGs
SVGs are available directly from the catalog. Open an icon, choose an export size, then download the file or copy its markup. To keep every icon in your project, install @rivcurve/icons: files live at svg/refined/<name>.svg.
- Open Folder open and select 20 px.
- Choose Download SVG and save
folder-open.svgnext to your HTML file. - Add the markup below. Open the HTML file in your browser to see the result.
20 px icon · 24 × 24 viewBox
Size and color
The 24 × 24 viewBox is the drawing grid. Change width and height together to display an icon at 16, 20, or 24 px without distorting it.
16 px20 px24 pxMatch the surrounding text color
Paste the SVG in your markup and set color on its container. Refined strokes use currentColor. An SVG loaded through <img> cannot inherit the page’s text color.
Adjust stroke weight carefully
The original stroke width is 2 units. Keep it consistent across related icons, and check a change at 16 px before using it throughout a toolbar.
React
AlphaInstall @rivcurve/react. Each icon is its own module, so your bundle keeps only the icons you import. Components accept size, color, strokeWidth and title, and pass other SVG props and ref to the <svg>. Icon names may still change before 1.0.
Icons are decorative by default and render with aria-hidden="true". Give an icon a title when it carries meaning on its own.
Vue
Planned APIThe @rivcurve/vue package is in development and has not been published. The example shows the intended component API. Use the SVG workflow or the React package today.
Accessibility
- Decorative icons
- When text already describes the action, use
alt=""on an image oraria-hidden="true"on inline SVG. - Meaningful standalone icons
- Use descriptive
alttext for an image. For inline SVG, addrole="img"and an accessible name.
Contributing
For an icon request, describe the interface action or state it represents, link a similar Refined icon if one exists, and include a screenshot or sketch. When editing a shape, compare it alongside its neighbors at 16, 20, and 24 px.
Read the icon design guidelines or view issues on GitHub. These links require repository access during the private preview.
Release status
- Available now
- The Refined catalog with search and exports, plus the
@rivcurve/iconsSVG and@rivcurve/reactpackages in alpha. - In development
- The Filled style for every icon, new icon series, and the Vue package.
- Planned for later
- Flutter support following the web release.
Follow progress in the Rivcurve repository and check GitHub Releases for changes in each version.