Skip to Content
NSUI

Icons

The draft NSUI stroke icons, at 16px and 20px.

NSUI draws its own icons: plain stroke shapes on a 16-unit grid, coloured with currentColor. Status: design proposal. Components do not use these files yet; each component still draws its own few icons.

box
calendar
check
chevron-down
chevron-left
chevron-right
chevron-up
clock
close
columns
copy
density
download
drag-handle
edit
error
external-link
file
filter
history
info
link
lock
minus
more-vertical
more
plus
receipt
redo
refresh
restore
search
slash
sliders
sort-asc
sort-desc
sort
success
trash
truck
undo
unlock
upload
user
warning

Use an icon

Each icon is one SVG file in src/icons/. Paste its markup into your page, add a size and a label rule, and it takes the colour of the text around it.

HTML
<button type="button" aria-label="Delete line">
  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"
       stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
    <!-- paths from src/icons/trash.svg -->
  </svg>
</button>
  • Give a decorative icon aria-hidden="true". Give an icon-only button an aria-label.
  • Use 16px in controls and grid cells, 20px in larger buttons and headers. Do not scale the stroke.

Grid rules

  • viewBox="0 0 16 16", 1.5 units clear of each edge.
  • Stroke 1.5, round caps and joins, no fill except dots.
  • Straight strokes on half units (2.5, 7.5, 13.5), so they render as one solid pixel at 16px.
  • Circles use cx="8" cy="8" r="5.5". Rounded rectangles use rx="1.5".
  • No <g>, transform, <defs>, <use>, <text>, inline styles, width or height in the files.

The full rules and how to add an icon are in src/icons/README.md.

NSUI is a community project. It is not an official Oracle NetSuite product. NetSuite is a trademark of Oracle.

On this page