mcpField
S
svg-logo-creator

svg-logo-creator

github.com/kbravhDesign & UI098 installsUpdated 1w ago
Repository

About svg-logo-creator

svg-logo-creator is a skill for creating scalable SVG logos from a concept brief or description. It guides the design process from gathering brand requirements through producing logo variations and checking accessibility and code quality.

Key features

  1. 01Gather brand and visual requirements
  2. 02Plan SVG structure and palette
  3. 03Create multiple logo variations
  4. 04Apply scalable SVG practices
  5. 05Add accessibility labels
  6. 06Optimize SVG code

Use cases

  1. 01Create a logo from a concept brief
  2. 02Prepare horizontal and stacked variants
  3. 03Produce icon-only and wordmark files
  4. 04Check SVG accessibility and scalability

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/kbravh/skills --skill svg-logo-creator

After installing, type/svg-logo-creatorin Claude Code to confirm it loaded.

Details

From the project README

SVG Logo Creator

Create professional, scalable SVG logos from concept briefs or descriptions.

Input Requirements

Before creating, gather or confirm:

  • Text: Exact company/brand name and any tagline
  • Logo type: Wordmark, lettermark, pictorial, abstract, combination, or emblem
  • Visual concept: Core imagery, metaphor, or style direction
  • Colors: Primary and secondary colors (hex values preferred)
  • Typography direction: Modern/classic, geometric/humanist, bold/light

If working from a logo-ideation concept brief, these details should already be specified.

Creation Workflow

1. Plan the Design

Before writing SVG code:

  • Sketch the basic shapes mentally
  • Identify reusable elements (define once, reference with <use>)
  • Plan the viewBox dimensions (typically 100x100 or proportional)
  • Determine color palette as CSS custom properties
2. Create Primary Logo

Write clean, semantic SVG:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 60" role="img" aria-label="Company Name logo">
  <style>
    :root {
      --primary: #2563eb;
      --secondary: #1e40af;
      --text: #0f172a;
    }
  </style>
  <defs>
    <!-- Reusable elements here -->
  </defs>
  <!-- Logo content -->
</svg>
3. Generate Variations

Create these standard variations:

VariationUse caseNotes
Primary/horizontalDefault, wide spacesFull logo with icon and text side-by-side
Stacked/verticalSquare spaces, mobileIcon above text
Icon-onlyFavicons, app icons, small spacesSymbol without text
Wordmark-onlyWhen icon context is establishedText without symbol
MonochromeSingle-color contextsBlack or white version
InvertedDark backgroundsLight colors for dark bg
4. Save Files

Use consistent naming:

logo-primary.svg
logo-stacked.svg
logo-icon.svg
logo-wordmark.svg
logo-mono-black.svg
logo-mono-white.svg
logo-inverted.svg

SVG Best Practices

Structure
  • Use viewBox for scalability, never fixed width/height
  • Define colors as CSS custom properties in <style>
  • Group related elements with <g> and descriptive id attributes
  • Put reusable shapes in <defs> and reference with <use>
Optimization
  • Remove unnecessary attributes (editor metadata, default values)
  • Use simple paths over complex shapes when equivalent
  • Combine adjacent paths of same color when possible
  • Round coordinates to 1-2 decimal places
  • Remove empty groups and unused definitions
Accessibility
  • Add role="img" to root <svg> element
  • Include aria-label with descriptive text
  • Or use <title> as first child for accessible name
Typography in SVG

For text in logos, prefer:

  1. Convert to paths: Most reliable across systems
  2. Web-safe fonts: If text must remain editable
  3. Embedded fonts: Only if absolutely necessary (increases file size)

Example text-to-path workflow:

<!-- Instead of <text>, use paths for reliability -->
<path d="M10 20 L10 40 L20 40..." /> <!-- Letter shapes -->

Example: Combination Logo

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 50" role="img" aria-label="Acme Inc logo">
  <style>
    .icon { fill: #2563eb; }
    .text { fill: #0f172a; }
  </style>
  <defs>
    <g id="icon">
      <circle cx="20" cy="25" r="15" />
      <path d="M12 25 L20 18 L28 25 L20 32 Z" fill="#fff" />
    </g>
  </defs>

  <!-- Icon -->
  <use href="#icon" class="icon" />

  <!-- Wordmark (as paths for reliability) -->
  <g class="text" transform="translate(45, 20)">
    <!-- Text paths would go here -->
  </g>
</svg>

Delivery Checklist

Before finalizing:

  • All variations created
  • Colors match specification
  • Scales properly from 16px to 1000px+
  • Accessible labels included
  • Clean, optimized code
  • Consistent naming convention
  • Tested on light and dark backgrounds

Usage Guidelines Output

After creating logos, provide brief usage guidance:

## Logo Usage

**Clear space**: Maintain padding equal to the height of the icon
**Minimum size**: 24px for icon, 80px for full logo
**Backgrounds**: Use primary on light, reversed on dark
**Don't**: Stretch, rotate, change colors, add effects

Comments

Markdown supported