Media and icons
Logo
the brand from lib/brand.ts (Studio › Use system › Brand assets) · one-colour logos follow the theme · placeholder + name without one
function LogoDemo() { return ( <View className="w-full gap-4"> <Logo size={28} /> <View className="flex-row items-center gap-4"> <Logo variant="mark" size={40} /> <Logo variant="mark" size={24} /> <Logo name="Northwind" size={20} /> </View> <View className="bg-primary flex-row items-center rounded-xl p-4"> <Logo size={24} tone="primaryForeground" /> </View> </View> );}Usage
Your logo, in the scheme on screen. Without one it's a placeholder square and the name, so screens look right before a brand is applied.
API
<Logo variant?="full|mark" size? name? tone? />Get it
Already in every copy of the native kit:
import { Logo } from '@/components/kit/logo';Details
- Exports
Logo- Packages
- react-native-svg@15.15.4
- Installs with
- @halftone-native/lib-brand, @halftone-native/lib-brand-context, @halftone-native/lib-embed, @halftone-native/lib-palette-context, @halftone-native/lib-theme, @halftone-native/lib-theme-context, @halftone-native/lib-utils, @halftone-native/text
- Also searched as
- brand, wordmark, mark, logotype, app icon
- Registry JSON
- /r/native/logo.json
<div className="flex flex-col gap-4"> <Logo size={28} /> <Row> <Logo variant="mark" size={40} /> <Logo variant="mark" size={24} /> <Logo name="Northwind" /> </Row> <div className="bg-primary text-primary-foreground rounded-xl p-4"> <Logo size={24} /> </div></div>Usage
Your logo, in light and dark. A one-colour logo follows the text colour (text-* classes); without a logo it's a placeholder square and the name.
API
<Logo variant?="full|mark" size? name? />Get it
Already in every copy of the web kit:
import { Logo } from '@/components/kit/logo';Details
- Exports
Logo- Packages
- cn@^0.5.2
- Installs with
- @halftone-web/lib-brand, @halftone-web/lib-brand-context, @halftone-web/lib-embed
- Also searched as
- brand, wordmark, mark, logotype, favicon
- Registry JSON
- /r/web/logo.json
Agents: the whole registry is at /llms.txt.