Themed SVG illustrations that adapt to the design system color palette.
import { NoteMusic, HighFive } from '@oztix/roadie-components/spot-illustrations'
All spot illustrations default to 48px.
Use className with Tailwind size utilities to change the illustration size. For smaller sizes in UI, use iconography instead.
Use the outline prop to show a white outline layer. Useful on dark backgrounds.
ArrowUpRightCowboyHatCursorFlowerSpiralFootballHandHeartHighFiveMapPinNoteMusicTicketWineGlassMore illustrations can be added using the creation workflow below.
The build system automatically generates components from SVG files during development:
# Start dev mode (includes watch mode for SVG changes)pnpm dev
Quick workflow:
SpotIllustration/svgs/ directory as your-name.svgDesign requirements:
neutralSlate.0 (outline), purple.5 (face), orange.5 (detail), blue.9 (shadow), blue.5 (highlight), neutralSlate.12 (stroke)For detailed information about the build system, color matching, and troubleshooting, see the SpotIllustration README.
aria-hidden="true". If an illustration conveys meaningful information, add role='img' and aria-label.Defaults to false.