Sigil is the core primitive for all iconography in Sys.Witch V2. It looks up a path string from the sigil library byDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/sys.witch-v2/llms.txt
Use this file to discover all available pages before exploring further.
id and renders it as a stroked SVG with configurable size and neon color. When animate is enabled, the path draws itself in using a Framer Motion pathLength transition, producing a handwritten-glyph entrance effect.
Props
The sigil identifier used to look up the corresponding path string in
data/sigils.js. Falls back to rune-1 if the ID is not found. See the Sigils & Runes page for the complete list of available IDs.The rendered
width and height of the SVG element in pixels. The SVG uses a fixed 24×24 viewBox, so size scales proportionally. Defaults to 24. Typical values:| Value | Context |
|---|---|
12 | Inline / form field label |
16 | Small badge |
18 | GlyphButton icon |
24 | Navigation icon (default) |
32 | Feature tile |
48 | Decorative element |
64 | Hero / large display |
Maps to the corresponding neon CSS variable applied as the
stroke color on the path. Defaults to purple.| Value | CSS Variable |
|---|---|
purple | var(--neon-purple) |
cyan | var(--neon-cyan) |
magenta | var(--neon-magenta) |
lime | var(--neon-lime) |
deep-purple | var(--neon-deep-purple) |
When
true, replaces the static <path> with a Framer Motion motion.path that animates pathLength from 0 to 1 and opacity from 0 to 1 over 2 s with an ease-in-out transition, producing a self-drawing glyph effect. Defaults to false.Additional classes applied to the
<svg> element. Useful for transition effects, rotation, or positioning helpers. Note that drop-shadow glow classes (drop-shadow-glow-*) are applied automatically based on color and do not need to be added manually.SVG Attributes
The following attributes are set on the rendered<svg> element and are not configurable via props:
| Attribute | Value |
|---|---|
viewBox | 0 0 24 24 |
fill | none |
<path> element:
| Attribute | Value |
|---|---|
stroke | Neon CSS variable for the active color (e.g., var(--neon-magenta)) |
strokeWidth | 1.5 |
strokeLinecap | round |
strokeLinejoin | round |
Usage Examples
Using Sigils in Skill Tiles
Each entry indata/skills.js includes a sigilId field. RuneTile reads this field and passes it directly to Sigil as the id prop, rendering the skill’s associated glyph as its tile icon. This is the standard pattern for associating content records with their visual glyphs — add a sigilId to a data entry, then let the consuming component hand it off to Sigil.
For the complete sigil ID reference and path definitions, see the Sigils & Runes page.