Ctrl K
ComunidadGuías…

shared/utils/IconNames.ts

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
/**
 * The names of all icons available to end users in the app, in the same order
 * as `IconLibrary.mapping`. Kept as a standalone module so that code which
 * only needs to validate icon names (e.g. server-side schemas) can avoid
 * importing the icon components and their heavy dependency tree.
 *
 * A unit test in `IconLibrary.test.ts` ensures this list stays in sync with
 * the mapping.
 */
export const iconNames = [
  "academicCap",
  "bicycle",
  "beaker",
  "buildingBlocks",
  "bookmark",
  "browser",
  "collection",
  "coins",
  "camera",
  "carrot",
  "clock",
  "cloud",
  "code",
  "database",
  "done",
  "email",
  "eye",
  "feedback",
  "flame",
  "graph",
  "globe",
  "hashtag",
  "info",
  "icecream",
  "image",
  "internet",
  "leaf",
  "library",
  "lightbulb",
  "lightning",
  "letter",
  "math",
  "moon",
  "notepad",
  "padlock",
  "palette",
  "pencil",
  "plane",
  "promote",
  "ramen",
  "question",
  "server",
  "sun",
  "shapes",
  "sport",
  "smiley",
  "target",
  "team",
  "terminal",
  "thumbsup",
  "truck",
  "tools",
  "vehicle",
  "warning",
  "bag-shopping",
  "book",
  "brush",
  "cake-candles",
  "cat",
  "clapperboard",
  "compact-disc",
  "cookie-bite",
  "crow",
  "crown",
  "cube",
  "dna",
  "dog",
  "dollar-sign",
  "display",
  "droplet",
  "face-dizzy",
  "face-grin-stars",
  "face-laugh",
  "face-meh",
  "face-smile-beam",
  "face-smile-wink",
  "face-surprise",
  "feather",
  "fish",
  "folder-closed",
  "flask-vial",
  "gamepad",
  "gauge",
  "gem",
  "gift",
  "hammer",
  "hands-clapping",
  "heart",
  "industry",
  "kit-medical",
  "laptop",
  "laptop-code",
  "magnet",
  "map",
  "microchip",
  "mountain-sun",
  "mug-hot",
  "network-wired",
  "newspaper",
  "paint-roller",
  "passport",
  "paw",
  "pen-ruler",
  "peso-sign",
  "phone-volume",
  "pizza-slice",
  "prescription",
  "puzzle-piece",
  "rainbow",
  "record-vinyl",
  "road",
  "robot",
  "rocket",
  "sailboat",
  "scissors",
  "seedling",
  "shield",
  "shirt",
  "shop",
  "snowflake",
  "socks",
  "solar-panel",
  "spa",
  "star-and-crescent",
  "star-of-life",
  "sterling-sign",
  "swatchbook",
  "tent",
  "tooth",
  "tower-cell",
  "tractor",
  "train",
  "tree",
  "trophy",
  "umbrella",
  "umbrella-beach",
  "universal-access",
  "user-graduate",
  "utensils",
  "vault",
  "wand-sparkles",
  "web-awesome",
  "wheelchair-move",
  "worm",
  "yen-sign",
  "apple",
  "windows",
  "android",
  "square-js",
  "python",
  "x-twitter",
  "bluesky",
  "github",
  "gitlab",
  "discord",
  "docker",
  "codepen",
  "dropbox",
  "paypal",
  "shopify",
  "swift",
  "slack",
  "circle",
  "square",
  "pentagon",
  "hexagon",
  "diamond",
  "spiral",
] as const;

/** The name of an icon from the icon library. */
export type IconName = (typeof iconNames)[number];