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.
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.
<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 anaria-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 userx="1.5". - No
<g>,transform,<defs>,<use>,<text>, inline styles,widthorheightin the files.
The full rules and how to add an icon are in src/icons/README.md.
Fonts
Use NetSuite's font by default, or load your own and set three tokens.
Badge
Status label with a tinted background in its tone colour.
NSUI is a community project. It is not an official Oracle NetSuite product. NetSuite is a trademark of Oracle.