App
No TSDoc on this export yet.
type App = {
id?: string
icon?: string
name: string
light?: boolean
/** Draws under the status stack, edge to edge, and pads its own top; the shell adds no band. */
edge?: boolean
/** On the cover, keeps the right column free for the status stack, which stays whole; the shell adds no band. */
rail?: boolean
view: ComponentType<{ os: Os }>
/** Invented data behind a static screen: the tile shows a dot and the app a 'Mockup' pill. */
mock?: boolean
/** Names of the apps inside, when this tile is a folder rather than an app. */
folder?: string[]
}API reference
| Member | Type | Description |
|---|---|---|
id? | string | |
icon? | string | |
name | string | |
light? | boolean | |
edge? | boolean | Draws under the status stack, edge to edge, and pads its own top; the shell adds no band. |
rail? | boolean | On the cover, keeps the right column free for the status stack, which stays whole; the shell adds no band. |
view | ComponentType<{ os: Os }> | |
mock? | boolean | Invented data behind a static screen: the tile shows a dot and the app a 'Mockup' pill. |
folder? | string[] | Names of the apps inside, when this tile is a folder rather than an app. |
Related types
ButtonPropsNative button: tinted capsule by default, filled with the link colour, or plain text. Icon-only buttons need aria-label.CheckboxPropsNative checkbox drawn as macOS Calendar's tinted square: hollow at rest, filled with a white tick when checked. `tint` is any CSS colour. Supply a visible label or aria-label.HStackPropsA horizontal row of children, centred on the cross axis. The kit had no horizontal primitive, so every app wrote its own flex block: reach for this before a `stylex.create`.