Mobile › Display

Glyph

The eight small icons the components draw themselves, so the library needs no icon package.

Installation

npx expo install plankui-mobile react-native-safe-area-context expo-haptics

Usage

import { Glyph } from "plankui-mobile";

<Glyph name="chevron-right" color={t.c.muted} />
<Glyph name="check" color={t.c.accent} size={18} />

iOS and Android

iOS: Thin strokes that match SF Symbols weights.

Android: The same glyphs on both platforms, so icons line up with the type.

API reference

PropTypeDefaultDescription
name"chevron-right" | "chevron-left" | "arrow-left" | "check" | "close" | "search" | "more" | "plus"Which glyph.
colorstringStroke colour.
sizenumber14Size in points.