Documentation
¶
Overview ¶
Package svg provides shared SVG rendering primitives and path constants used across multiple component packages (display, feedback, icons).
Index ¶
Constants ¶
View Source
const ( PathChevronDown = "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" PathChevronSmall = "" /* 131-byte string literal not displayed */ PathArrowUp = "" /* 134-byte string literal not displayed */ PathArrowDown = "" /* 135-byte string literal not displayed */ PathArrowLeft = "" /* 131-byte string literal not displayed */ PathArrowRight = "" /* 131-byte string literal not displayed */ PathAvatarFill = "M24 20.993V24H0v-2.996A14.977 14.977 0 0112.004 15c4.904 0 9.26 2.354 11.996 5.993zM16.002 8.999a4 4 0 11-8 0 4 4 0 018 0z" )
Common SVG path data constants — single source of truth for inline paths.
Variables ¶
This section is empty.
Functions ¶
func SpinnerSVG ¶
SpinnerSVG renders the inner SVG elements for a loading spinner. Wrap in an <svg> tag with animate-spin and desired size.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.