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.

  1. Open Folder open and select 20 px.
  2. Choose Download SVG and save folder-open.svg next to your HTML file.
  3. Add the markup below. Open the HTML file in your browser to see the result.
Open folder

20 px icon · 24 × 24 viewBox

index.htmlhtml
<button type="button">
  <img src="./folder-open.svg" width="20" height="20" alt="" />
  Open folder
</button>

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 px
20 px
24 px

Match 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.

folder-open.svgsvg
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  <path d="M 3 17 V 7.5 Q 3 5 5.5 5 H 9 Q 10 5 10.7 5.8 L 12 7.2 H 17 Q 19 7.2 19 9.2 V 10.5 M 5.5 19.5 H 16.7 Q 18.3 19.5 18.9 18 L 21.2 12.1 Q 21.8 10.5 20.2 10.5 H 8.5 Q 6.8 10.5 6.2 12 L 3.9 17.6 Q 3.1 19.5 5.5 19.5 Z"/>
</svg>

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

Alpha

Install @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.

Terminalterminal
npm install @rivcurve/react

Icons are decorative by default and render with aria-hidden="true". Give an icon a title when it carries meaning on its own.

FolderAction.tsxtsx
import { FolderOpenIcon } from '@rivcurve/react';

export function FolderAction() {
  return (
    <button type="button">
      <FolderOpenIcon size={20} />
      Open folder
    </button>
  );
}

Vue

Planned API

The @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.

FolderAction.vuevue
<script setup>
import { FolderOpenIcon } from '@rivcurve/vue';
</script>

<template>
  <button type="button">
    <FolderOpenIcon :size="20" aria-hidden="true" />
    Open folder
  </button>
</template>

Accessibility

Decorative icons
When text already describes the action, use alt="" on an image or aria-hidden="true" on inline SVG.
Icon-only buttons
Put the accessible name on the button itself, for example aria-label="Open folder". Keep the icon inside decorative.
Meaningful standalone icons
Use descriptive alt text for an image. For inline SVG, add role="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/icons SVG and @rivcurve/react packages 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.