GlyphButton is the site’s primary interactive element — a styled button using JetBrains Mono in uppercase with wide letter-spacing, available inDocumentation 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.
solid, outline, and ghost variants across all four neon colors. It optionally renders a Sigil icon alongside the label using the sigilId prop.
Props
Sets the neon color for the button’s fill (solid) or border and text (outline/ghost).
Controls the button’s visual style:
solid— fills the background at 20% neon opacity at rest and transitions to full neon fill on hover, setting the text to--bg-basefor contrast.outline— transparent background with a 50%-opacity neon border and matching neon text; border and a light neon background tint appear on hover.ghost— no border, neon-colored text only; adds a subtle neon background tint on hover.
When provided, renders a
<Sigil> icon at size 18 before the button label, using the same color as the button. In solid variant, the sigil stroke transitions to --bg-base on hover to match the label color.Adds
w-full to the button, causing it to span 100% of its container width. Defaults to false.The HTML
type attribute for the underlying <button> element. Accepts 'button', 'submit', or 'reset'. Defaults to the browser default ('submit' inside a <form>, 'button' otherwise).Disables the button, preventing interaction. Passed directly to the underlying
<button> element, which applies the browser’s default disabled styling.Click event handler passed directly to the underlying
<button> element.Additional Tailwind or CSS classes merged onto the root element.
The button’s label content. Rendered in uppercase monospace with wide letter-spacing.
Variants
Hover State
On hover, GlyphButton intensifies theshadow-glow-* shadow for the active color and transitions the border and background to their full neon values. The solid variant fills to the full neon color and inverts the text to --bg-base. A subtle scan-line overlay animates across the button face using a CSS keyframe animation.
Disabled State
Whendisabled is true, the button becomes non-interactive — pointer events are suppressed and the element renders at reduced opacity via the browser’s native disabled styling. This is used in form contexts (e.g., SummoningForm) while an async submission is in flight, preventing duplicate submissions.