Glyphs

Named character constants for symbols that are awkward or impossible to type directly in source

Package: @roku-sdk/components/glyphs

The constants are grouped by the property that actually matters at runtime: which font has to supply the character.

  1. RokuFont01 characters (the private-use area, plus ● ★ ☆). RokuFont01 is
    the system-wide fallback font in firmware, so these render under a system
    font AND under a custom app-supplied font.
  2. RokuUI-Regular symbols. RokuUI-Regular is the default UI font but is not
    in the fallback chain, so these render under a system font but become tofu
    under a custom app-supplied font unless that font supplies them itself.

The practical consequence, verified on device against firmware 15.3.5: if your app ships a custom font, the group that needs care is (2), not (1).

A custom font that defines a codepoint itself always wins — no fallback occurs. A font carrying its own U+E0xx private-use glyphs will render those rather than the Roku icons.

Constants

ConstantValueDescription
OPTIONS_GLYPH"\uE000" U+E000
OK_BUTTON_GLYPH"\uE001" U+E001
OPTIONS_BUTTON_GLYPH"\uE002" U+E002
MICROPHONE_GLYPH"\uE003" U+E003
PLAY_PAUSE_BUTTON_GLYPH"\uE004" U+E004
PLAY_PAUSE_GLYPH"\uE005" U+E005
DOT_GLYPH"\uE006" U+E006Baseline-aligned dot, sized and positioned to line up with the other icon glyphs in this block. Use BLACK_CIRCLE for a dot inside a run of text — that one is raised to text centre.
HOME_GLYPH"\uE007" U+E007
SEARCH_GLYPH"\uE008" U+E008
REMOTE_GLYPH"\uE009" U+E009
REPLAY_GLYPH"\uE010" U+E010
MICROPHONE_BUTTON_GLYPH"\uE011" U+E011
SEARCH_BUTTON_GLYPH"\uE012" U+E012
FAST_FORWARD_GLYPH"\uE013" U+E013
REWIND_GLYPH"\uE014" U+E014
SHORTCUT_ONE_BUTTON_GLYPH"\uE015" U+E015
SHORTCUT_TWO_BUTTON_GLYPH"\uE016" U+E016
CLOSED_CAPTIONS_GLYPH"\uE017" U+E017
LIVE_TV_GLYPH"\uE018" U+E018
SLEEP_TIMER_GLYPH"\uE019" U+E019
GENERAL_APP_GLYPH"\uE020" U+E020
BACK_BUTTON_GLYPH"\uE021" U+E021
HOME_BUTTON_GLYPH"\uE022" U+E022
QUICK_LAUNCH_BUTTON_GLYPH"\uE023" U+E023
DOWN_BUTTON_GLYPH"\uE024" U+E024
LEFT_BUTTON_GLYPH"\uE025" U+E025
RIGHT_BUTTON_GLYPH"\uE026" U+E026
KIDS_PROFILE_GLYPH"\uE027" U+E027
UP_BUTTON_GLYPH"\uE028" U+E028
POWER_BUTTON_GLYPH"\uE029" U+E029
THUMBS_UP_GLYPH"\uE030" U+E030
THUMBS_DOWN_GLYPH"\uE031" U+E031
BLACK_CIRCLE"\u25CF" U+25CF ●● U+25CF BLACK CIRCLE — raised to text centre, for a dot inside a text run.
BLACK_STAR"\u2605" U+2605 ★★ U+2605 BLACK STAR — filled star, e.g. a filled rating position.
WHITE_STAR"\u2606" U+2606 ☆☆ U+2606 WHITE STAR — outlined star, e.g. an empty rating position.
BULLET"\u2022" U+2022 •• U+2022 BULLET
ELLIPSIS"\u2026" U+2026 …… U+2026 HORIZONTAL ELLIPSIS
EN_DASH"\u2013" U+2013 –– U+2013 EN DASH
EM_DASH"\u2014" U+2014 —— U+2014 EM DASH
LEFT_ARROW"\u2190" U+2190 ←← U+2190 LEFTWARDS ARROW
UP_ARROW"\u2191" U+2191 ↑↑ U+2191 UPWARDS ARROW
RIGHT_ARROW"\u2192" U+2192 →→ U+2192 RIGHTWARDS ARROW
DOWN_ARROW"\u2193" U+2193 ↓↓ U+2193 DOWNWARDS ARROW
CHECK_MARK"\u2713" U+2713 ✓✓ U+2713 CHECK MARK
BALLOT_X"\u2717" U+2717 ✗✗ U+2717 BALLOT X

What’s Next

Did this page help you?