Skip to content

Icon names in Icon props are out-of-date #1188

Description

@jmuzina

The Icon component's props define a set of expected icon names here:

export const ICONS = {

However, this is out-of-date with the current state of Vanilla.

The following icons are missing (click to expand)
  • add-canvas
  • add-logical-volume
  • add-partition
  • applications
  • archive
  • arrow-bottom-left
  • arrow-bottom-right
  • arrow-down
  • arrow-left
  • arrow-right
  • arrow-top-left
  • arrow-top-right
  • arrow-up
  • back-to-top
  • begin-downloading
  • blueprint
  • book
  • bundle
  • canvas
  • certificate
  • certification
  • change-version
  • chevron-left
  • chevron-right
  • cluster-host
  • comments
  • conflict
  • conflict-grey
  • conflict-resolution
  • conflict-resolution-grey
  • connected
  • contact
  • containers
  • contextual-menu
  • controllers
  • copy-to-clipboard
  • credit-card
  • cursor
  • desktop
  • disconnect
  • edit
  • error-grey
  • export
  • exposed
  • file
  • file-blank
  • filter
  • folder
  • fork
  • fullscreen
  • get-link
  • gift
  • halfscreen-bar
  • heading
  • highlight-off
  • highlight-on
  • home
  • image
  • import
  • in-progress
  • inspector-debug
  • iso
  • loading-steps
  • location
  • lock-locked
  • lock-locked-active
  • lock-unlock
  • log-out
  • machines
  • map
  • maximise-bar
  • minimise-bar
  • models
  • mount
  • mount-2
  • notifications
  • open-terminal
  • pause
  • pin
  • plans
  • play
  • pods
  • power-error
  • power-off
  • power-on
  • priority-critical
  • priority-high
  • priority-low
  • priority-medium
  • priority-negligible
  • priority-unknown
  • private-key
  • profile
  • profiles
  • question
  • quote
  • repository
  • restart
  • revisions
  • security
  • security-error
  • security-tick
  • security-warning
  • select
  • select-add
  • select-remove
  • settings
  • single-host
  • snapshot
  • snooze
  • sort-both
  • sort-down
  • sort-up
  • starred
  • statistics
  • status
  • status-failed-small
  • status-in-progress
  • status-in-progress-small
  • status-queued
  • status-queued-small
  • status-succeeded-small
  • status-waiting
  • status-waiting-small
  • stop
  • submit-bug
  • success-grey
  • switcher
  • switcher-dashboard
  • switcher-environments
  • tag
  • task-outstanding
  • thumbs-down
  • thumbs-up
  • tidy
  • timed-out
  • timed-out-grey
  • toggle-side-nav
  • topic
  • turn-off-notification
  • unit-pending
  • unit-running
  • units
  • unmount
  • unstarred
  • upload
  • usb
  • user-group
  • video-play
  • warning-grey
  • website

This is quite a few missing icons, and the type currently allows for other strings to be passed in, so I'm not sure how high-priority it is to add these icons to the props.

name: ValueOf<typeof ICONS> | string;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions