Controls kit
The house controls as the package ships them: the button, the check box, the section header, the empty state, the error banner, the text field, the plain card, the segment and split buttons, the avatar and the skeleton. Each specimen below is the package's own component, drawn in both schemes, so what you see is what the app gets when it imports them.
Use it
import { Button, CheckBox, SectionHeader, EmptyState, ErrorBanner, Input, Card, SegmentButton, SplitButton, Avatar, Skeleton, SkeletonRows } from '@marbling-hq/airmond-brandkit/components';
They draw with the theme of the nearest BrandkitThemeProvider, like the cards on the Card kit page. On this page: Button, CheckBox, SectionHeader, EmptyState, ErrorBanner, Input, Card, SegmentButton, SplitButton, Avatar, Skeleton.
Her staff badge from sign-up, AssistantBadge, is not a control: it has a page of its own, Assistant badge.
Button
The house button. primary is ink. coral is the one primary action of a screen, with ink text, never white. secondary is the borderless wash, ghost has no fill, and dangerQuiet is the destructive verb on a screen that must stay calm. Three heights: 38, 46 and 52, at the card radius.
| Prop | Type | What it does |
|---|---|---|
label | string | The words, and the accessible name. |
variant | primary | coral | secondary | ghost | danger | dangerQuiet | Default primary. |
size | sm | md | lg | 38, 46 (default) and 52 tall. |
loading | boolean | Keeps the fill, shows the spinner, refuses presses. |
disabled | boolean | The disabledFill and onDisabled pair at full strength. Never an opacity. |
block | boolean | Stretches to the container. |
onCard | boolean | The secondary wash takes surfaceRaised in dark, so it does not read as a hole in a card. |
icon | node | Before the label, 20pt. |
Button states
Disabled keeps full strength: the plate says unavailable and the label still reads at the body bar. Busy keeps its own colour and swaps the label for the spinner.
CheckBox
The 20px box a checkbox row draws beside its label. Only the mark: the row around it is the tap target and carries the checkbox role. Unticked, the outline is the rule colour, so it still reads in the dark scheme.
| Prop | Type | What it does |
|---|---|---|
checked | boolean | Ticked fills the box and draws the tick on it. |
tone | ink | coral | Default ink. Coral is the setup invite's one box. |
SectionHeader
A list section's header: sentence case, muted, at the heading size and one weight under the screen title. Never an uppercase eyebrow.
People and things
People and things
| Prop | Type | What it does |
|---|---|---|
children | text | The header. |
...Text | Everything the kit's Text takes, except variant, tone and uppercase. |
EmptyState
The "nothing here yet" panel. The words say what to do next, in the assistant's voice. The action is the quiet wash for a retry and coral when it is the screen's one primary move.
| Prop | Type | What it does |
|---|---|---|
title | string | The one line it always has. |
body | string | What to do next. Runs 320 wide at most. |
icon | node | Sits on a 56 round confirmSoft plate. |
actionLabel, onAction | string, function | Both, or no button. |
onActionPressIn | function | The action's press-in, where the app fires its own press feedback. |
actionVariant | secondary | coral | Default secondary. |
ErrorBanner
A contained card for an inline error: a surface card, the words in ink, and the state as one mark, the warning glyph in danger. Never red body text.
| Prop | Type | What it does |
|---|---|---|
message | string | The error, in ink. |
onRetry | function | Adds the small wash button under the message. |
retryLabel | string | Default "Try again". |
onRetryPressIn | function | The retry button's press-in, where the app fires its own press feedback. |
onShown | function | Called when the banner appears and when its message or retry changes, with { hasRetry }. The app reports its error_shown event there; the message is never passed. |
Input
The house text field, one line or growing. A rounded rect at the card radius on surface, 52 tall at least, outlined at rest in the faint border edge the app's fields have always drawn (control.inputBorderTone, since 2026-11-19), ink while focused and danger with an error. The visible label is the field's name. Multiline with autoGrow starts at one line, grows with the text to its cap, and comes back down the moment the text is cleared.
| Prop | Type | What it does |
|---|---|---|
label | string | Above the field, and its accessible name. |
error | string | null | Under the field in danger; turns the outline danger. |
hint | string | Under the field in muted when there is no error. |
leading, trailing | node | Inside the field, before and after the text. |
multiline, autoGrow | boolean | Grow from one line with the text. |
autoGrowMaxHeight | number | The cap in px of text. Default 5 lines; Infinity is no cap. |
onContentLines | function | How many lines the text takes, for a composer that moves its controls. |
fieldStyle, textType, textStyle | A denser field (the composer) without a second copy. | |
...TextInput | Everything React Native's TextInput takes. |
Card
The plain surface a screen's content sits on (settings groups, forms, lists), not the thread's cards. No line, lifted by the soft shadow; in dark the lift is tone. Inside a hairline CardEdge (the company pages) it trades the shadow for a 1px line in card.borderTone, the faint border edge the app has always drawn (since 2026-11-19). A gap on its style spaces its children.
| Prop | Type | What it does |
|---|---|---|
tone | plain | tinted | outline | Surface, the confirmSoft wash, or the faint border hairline alone. |
padding | none | sm | md | lg | 0, 12, 20 (default) and 24. |
level | 0 | 1 | 2 | 3 | More lift for a sheet or popover. |
onPress, onLongPress | function | Makes it a button that dips when held. |
onPressIn | function | The press-in, where the app fires its own press feedback. |
SegmentButton
One half of a two-choice pair of buttons: the chosen side ink, the other the wash. For new work use the track, SegmentedControl.
| Prop | Type | What it does |
|---|---|---|
label | string | The words. |
active | boolean | This side is chosen; announced as pressed. |
onPress | function | Choose this side. |
SplitButton
A card's primary that can be done more than one way: one 32 pill, the label does the usual thing, the 28 chevron opens the options. The package draws the pill; the menu is the app's, opened where the pill is.
| Prop | Type | What it does |
|---|---|---|
label, onPress | string, function | The main half: the default way. |
onOpenOptions | function | The chevron: called with where the pill is on screen, or null before it is laid out. |
optionsOpen | boolean | The options are showing. |
live | boolean | Coral, for a live Join only. |
disabled | boolean | The disabledFill and onDisabled pair on both halves. |
inert | boolean | Refuses presses without looking disabled, while a menu choice settles. |
Avatar
Her portrait, round, or a monogram when there is none or it did not load. Hers and the member's sit on the coral wash with a letter that reads on it; everybody else on groundAlt. live breathes a soft ring behind her during a call.
| Prop | Type | What it does |
|---|---|---|
source | string | null | The portrait URL. |
name | string | The monogram and the accessible name. |
size | sm | md | call | lg | xl | xxl | 32, 44 (default), 52, 64, 108 and 132. |
tone | assistant | member | neutral | Whose monogram it is. |
live | boolean | The breathing ring. |
renderImage | function | Draw the portrait yourself; the app hands in expo-image. |
Skeleton
The placeholder for content that is loading in place: a list, a detail screen. It reserves the room the content will take, so nothing jumps when it arrives, and the screen fades its content in over motion.base (240 ms) when it replaces the skeleton (the kit ships no fade; that is the screen's). Use it instead of a "Loading…" line or a screen-centre spinner. The Spinner stays inside a busy button or action, where the thing being done is the control. The fill is the faint border tone, which sits on a ground, a card or a bubble alike; it pulses from 1 to motion.skeleton.dim (0.45) and back over motion.skeleton.ms (1400 ms), stands still under Reduce Motion, and is hidden from screen readers. SkeletonRows is the list version: one element with the progressbar role, labelled "Loading", so a screen reader says it once; its rows pulse together, their widths vary by row index (never by chance), and no line is drawn between them. Draw one row per row the screen will show, or three when the count is unknown. SkeletonRows stretches to its parent's width (alignSelf: stretch), so it still draws under a parent that centres its children.
| Prop | Type | What it does |
|---|---|---|
Skeleton width, height, radius | DimensionValue, number, number | The block. Defaults: the whole width, 14 tall, radius 4 (a line of text). |
Skeleton still | boolean | Hold still, as under Reduce Motion. For stories and screenshots. |
SkeletonRows count | number | How many rows. Default 3. Each is at least 44 tall. |
SkeletonRows mark | none | 28 | 40 | A rounded leading mark, at a quarter of its size like the card kit's. Default none. |
SkeletonRows accessibilityLabel | string | What a screen reader says for the block. Default "Loading". |
SkeletonRows still, testID | boolean, string | As above. |