Rokkit 1.0.3

Icon Sets

Curated navigation, status, action, and object icons with tree-shaking

Rokkit ships curated icon sets as Iconify-compatible JSON bundles, fully tree-shaken by UnoCSS. Use semantic icons for component state UI; glyph icons for general-purpose application icons.

Collections

Import pathPrefixCountContents
@rokkit/icons/semantic.jsonbuilt-in (action-add)376Semantic UI icons for Rokkit components — 94 icons × 4 variants
@rokkit/icons/glyph.jsoni-glyph:637General-purpose glyph icons, 4 variants each
@rokkit/icons/auth.jsoni-logo:107Auth provider logos
@rokkit/icons/app.jsoni-app:36Application-level icons
@rokkit/icons/twotone.jsoni-twotone:4Two-tone icons

Configuration

Load collections in rokkit.config.js using the icons key. The key name you use becomes the UnoCSS class prefix:

javascript
Highlighting code...

With the config above, use i-glyph:database, i-app:alert-bell, i-logo:google. Any Iconify-compatible JSON file works — including third-party sets like @iconify-json/solar.

Semantic Icons

The semantic collection contains 94 icons used internally by Rokkit components for state and interaction UI. The preset registers them as shorthand aliases — use the icon name directly as a class, e.g. action-add. Examples:

action-add
action-delete
accordion-closed
accordion-opened
checkbox-checked
checkbox-unchecked
node-open
node-closed
mode-dark
mode-light
sort-asc
sort-desc
navigate-up
navigate-down

Browse the full set in the Icon Browser playground.

Glyph Icons (160 icons × 4 variants)

The glyph collection has 160 base icons, each available in four variants: default, -outline, -solid, and -duotone-outline. Use as i-glyph:{name}.

default -outline -solid -duotone-outline
accessibility
accordion
add-circle
align-vertical-spacing
alt-arrow-down
alt-arrow-right
alt-arrow-up
arrow-left
atom
bell
bolt
book
book-2
box
breadcrumbs
brush
bug
button
calendar
card
carousel
chart
chart-2
chart-square
chat-round
chat-square-code
check-circle
checkbox
checkbox-group
checklist-minimalistic
clipboard
clock-circle
close-circle
cloud-download
cloud-upload
code
code-square
combobox
compass
copy
cpu-bolt
crumbs
cursor
database
diskette
document-text
download
dropdown
edit
eye
file
file-text
flag
floating-action
floating-navigation
folder
folder-open
forms
gallery
gallery-wide
gamepad
git-merge
global
graph-new
grid
grid-layout
hamburger-menu
heart
home
hourglass
icon
inbox
info-circle
input-array
input-color
input-date
input-email
input-file
input-number
input-object
input-password
input-tel
input-text
input-text-area
input-textarea
input-time
input-url
item
keyboard
layers
layers-minimalistic
lazy-tree
leaf
letter
list
list-check
list-items
lock
magic-stick
magic-stick-3
magnifer
map-arrow-right
maximize-square
menu
menu-sidebar
message
minimize-square
minimize-square-3
minus-circle
monitor
moon
multi-select
multiselect
palette
palette-manager
pallete-2
pie-chart-2
pill
plain
play-circle
progress
radio
radio-group
range
rating
restart
rocket
scissors
search-filter
select
settings
share
shield
sidebar
split-view
star
stars
stepper
sun
switch
switch-button
table
tabs
tag
terminal
text-bold
text-italic
text-underline
timeline
toggle
toolbar
trash-bin
tree
upload-progress
upload-target
user
user-circle
users-group
users-group-two-rounded
widget
widget-5

Building Custom Icon Sets

Use the Rokkit CLI to bundle your own SVG folders into the same Iconify JSON format. Each subfolder becomes one JSON file:

bash
Highlighting code...

See CLI reference for the full flag reference and config file format.