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-hapticsUsage
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
| Prop | Type | Default | Description |
|---|---|---|---|
| name | "chevron-right" | "chevron-left" | "arrow-left" | "check" | "close" | "search" | "more" | "plus" | Which glyph. | |
| color | string | Stroke colour. | |
| size | number | 14 | Size in points. |