Theme
Sound
Jump to a component
AniCanonKit · Story
EventGlyph
EventGlyph is the shape of an event type, the same everywhere a story event appears: map, scrubber, rows, pickers.
Live, from @anicanon/sakuga 2.0.0
Sakuga for iOS and Android is coming
iOS
Web only
EventGlyph is made for the web, and isn’t part of Sakuga for iOS yet.
Android
Web only
EventGlyph is made for the web, and isn’t part of Sakuga for Android yet.
- Use it for
- The shape of a story event's type wherever one appears (map, scrubber, rows, pickers): event, twist, revelation, clue or goal.
Guidelines
- event (filled circle), twist (diamond), revelation (ring), clue (rounded square), goal (triangle).
tone="auto"paints a plain event in the text colour and the other four in the accent.mutedis for events outside the moment.
import { EventGlyph } from '@anicanon/sakuga/anicanonkit';
export default function EventGlyphExample() {
return (
<div style={{ display: 'flex', gap: 16 }}>
{['event', 'twist', 'revelation', 'clue', 'goal'].map((t) => (
<EventGlyph key={t} type={t} size={16} />
))}
</div>
);
}PropsEventGlyphProps
typerequiredEventTypesizenumbertone'auto' | 'primary' | 'accent' | 'muted'Default 'auto'classNamestringTypes
type EventType = 'event' | 'twist' | 'revelation' | 'clue' | 'goal';
Each token reads a role, and the role lands on a value in each theme. Change the role and every component that reads it follows.
Colour
glyph-eventEventGlyph: an event, a plain happening.text-primaryneutral-925#0b0a10text-primaryneutral-0#ffffffglyph-mutedEventGlyph: an event outside the current moment.text-mutedneutral-600#5c5b67text-mutedneutral-400#a3a3a7Space and shape
glyph-ring-stroke-widthits own value
2
Checked automatically with axe-core 4.11.4 against WCAG 2.2 A and AA, on the live preview above, in light and dark, on 26 October 2026.
- Result
- No issues found, in light or in dark.
- By design
- Decorative: hidden from screen readers, so the event type it draws is not announced.
- Not tested
- The automated check doesn't test keyboard use, focus order or what a screen reader says. The lines above are the design system's own account of them.