# Rahhal's Marsam > Rahhal's design system: reusable React components, light and dark design tokens, downloadable brand icons, and English/Arabic interface patterns. If you need the Rahhal icon or logo, start with the first section. Fetch any linked file with a normal HTTP GET; no JavaScript or authentication is required. ## Rahhal icons and brand assets - [Rahhal icon documentation](https://marsam.rahhal.app/components/icons.md): Direct PNG and SVG downloads, light and dark variants, React examples, and guidance distinguishing brand assets from UI icons. - [Rahhal icon PNG](https://marsam.rahhal.app/brand/app-icon-light.png): Default light consumer Rahhal app icon, ready to download and use in an image element or React component. - [Rahhal icon dark PNG](https://marsam.rahhal.app/brand/app-icon-dark.png): Dark consumer Rahhal app icon for dark backgrounds and dark home screens, available as a direct image download. - [Rahhal icon SVG](https://marsam.rahhal.app/brand/app-icon-light.svg): Light Rahhal icon asset in SVG format for browser favicons and clients accepting SVG files. - [RahhalIcon renderer](https://marsam.rahhal.app/components/rahhal-icon.md): React renderer for image URLs, emoji, and catalog icon strings; pass the Rahhal asset URL explicitly. ## Documentation - [Complete reference](https://marsam.rahhal.app/llms-full.txt): All component documentation, design token values, guidelines, frequently asked questions, and brand assets in one text response. - [Full component inventory](https://marsam.rahhal.app/skill.md): Every catalog entry linked to its Markdown reference, with shared package conventions and cross-platform guidance. - [Component catalog](https://marsam.rahhal.app/components.md): Browse the complete component list by category with descriptions and links to each component reference. - [Guidelines](https://marsam.rahhal.app/guidelines.md): Rules for composing interfaces, using theme tokens, supporting Arabic and RTL, and contributing shared components. - [Why Marsam](https://marsam.rahhal.app/why.md): Explains how shared packages keep Rahhal mini-app interfaces, localization, and authentication behavior consistent across products. - [Frequently asked questions](https://marsam.rahhal.app/faq.md): Onboarding answers about design tokens, package imports, auth, localization, and finding or contributing a missing component. ## Foundations and common components - [Colors and radius](https://marsam.rahhal.app/components/colors.md): Complete light and dark color tables with hexadecimal values, HSL channels, CSS variables, Tailwind classes, and radius tokens. - [Typography](https://marsam.rahhal.app/components/typography.md): Font families for web, iOS, and Android, plus type scales, font weights, and bilingual typography usage. - [Button](https://marsam.rahhal.app/components/button.md): Button imports, variants, sizes, and composition guidance for consistent actions throughout Rahhal mini-app interfaces. - [Card](https://marsam.rahhal.app/components/card.md): Shared card surfaces and composition primitives for grouping related interface content using the current theme tokens. - [Form](https://marsam.rahhal.app/components/form.md): Form field helpers and react-hook-form integration for labels, descriptions, validation messages, and accessible input composition. - [Embedded mode](https://marsam.rahhal.app/components/embedded-mode.md): Native host integration and shared chrome behavior when a mini-app runs inside Rahhal on mobile or desktop. ## Retrieval guidance - Download the linked PNG or SVG bytes directly when an image file is requested. - Read /components/icons.md for React usage and all available brand asset variants. - Use /llms-full.txt when the task needs the complete catalog in one request. - Read an individual component Markdown file for focused implementation work. - Use the HTML page linked in each reference for interactive examples. ## Key Facts - Marsam is the design-system catalog for Rahhal mini-apps. - There are 58 catalog entries across reusable components, foundations, and shared patterns. - UI components come from @rahhal/ui; design tokens come from @rahhal/themes. - Supported interface languages are English and Arabic, including RTL layout. - The official icon documentation is /components/icons; RahhalIcon is a separate image and catalog-value renderer. - Every component has a plain Markdown reference at /components/.md. - This catalog has UI-only sign-in demonstrations; they do not authenticate visitors. ## Optional - [Marsam homepage](https://marsam.rahhal.app/): Overview of Rahhal's design system with live component previews and links to the documentation and brand assets. - [Sitemap](https://marsam.rahhal.app/sitemap.xml): Canonical public documentation pages for search crawlers, excluding sign-in demos and missing pages from the index. - [Crawler policy](https://marsam.rahhal.app/robots.txt): Public crawler access rules and the canonical sitemap location used by the Marsam documentation site. ## Download the Rahhal icon or logo For a request such as "get the Rahhal icon", use the consumer light PNG below by default. The dark variant is also available. These are direct public files: no login, JavaScript, or image extraction is needed. - [Rahhal icon (light PNG)](https://marsam.rahhal.app/brand/app-icon-light.png): Default consumer Rahhal app icon for light surfaces and general downloads. - [Rahhal icon (dark PNG)](https://marsam.rahhal.app/brand/app-icon-dark.png): Consumer Rahhal app icon for dark surfaces and dark home screens. - [Rahhal icon (light SVG)](https://marsam.rahhal.app/brand/app-icon-light.svg): Light SVG asset for browser favicons and clients that accept SVG files. - [Rahhal icon (dark SVG)](https://marsam.rahhal.app/brand/app-icon-dark.svg): Dark SVG asset for browser favicons and clients that accept SVG files. - [Rahhal admin icon](https://marsam.rahhal.app/brand/app-icon-admin.png): Distinct icon reserved for internal admin and debug applications. - [Apple touch icon](https://marsam.rahhal.app/brand/apple-touch-icon.png): 180 by 180 pixel PNG for Apple touch icons. - [PWA icon (192px)](https://marsam.rahhal.app/brand/icon-192.png): 192 by 192 pixel PNG for web app manifests. - [PWA icon (512px)](https://marsam.rahhal.app/brand/icon-512.png): 512 by 512 pixel PNG for web app manifests. - [Maskable PWA icon](https://marsam.rahhal.app/brand/icon-512-maskable.png): 512 by 512 pixel maskable PNG for adaptive launcher shapes. The served URL starts with /brand/, never /public/brand/. Source assets live in packages/seo/assets/ and are published by @rahhal/seo. ## React usage ```tsx import { RahhalIcon } from "@rahhal/ui/rahhal-icon"; ``` ```html Rahhal ``` RahhalIcon is a renderer for catalog values, not a bundled Rahhal logo: pass an explicit image URL. Lucide Compass is a general UI icon, not the official downloadable Rahhal app icon. --- Source: https://marsam.rahhal.app/components.md # Rahhal component catalog 58 documented entries. [Agent index](https://marsam.rahhal.app/llms.txt). ## tokens - [Colors & radius](https://marsam.rahhal.app/components/colors.md): Every design token from @rahhal/themes. Tokens are stored as HSL channels (so Tailwind opacity modifiers compose) AND surfaced as #RRGGBB hex for cross-platform consumers (iOS, Android, slides, Figma). Light + dark are the two themes; system preference is auto-detected on web. - [Typography](https://marsam.rahhal.app/components/typography.md): Font families (sans · arabic · mono) with web stacks plus iOS/Android equivalents, type scale (rem + px), and weight ramp. Bilingual EN/AR samples live alongside each other. - [Icons & brand marks](https://marsam.rahhal.app/components/icons.md): Download official Rahhal icons in PNG and SVG, with light and dark variants, React usage, and guidance for Lucide UI icons and social brand marks. - [RahhalIcon](https://marsam.rahhal.app/components/rahhal-icon.md): Cross-platform icon renderer. Parses the same prefixed catalog strings the iOS shell understands (`url:…`, `emoji:…`, `system:…`, `resource:…`, plus bare URLs/emojis) so a CMS-authored value paints identically on every client. Falls back to a muted square when the value is empty; `system:` and `resource:` render as debug tokens on the web because there's no SF Symbols / iOS bundle equivalent. ## actions - [Button](https://marsam.rahhal.app/components/button.md): Primary actionable element. Six variants and four sizes. Use `asChild` to keep button styling on a router-aware link. - [Toggle · ToggleGroup](https://marsam.rahhal.app/components/toggle.md): On/off button (``) and grouped toggle sets (``). Use for formatting toolbars, view-mode switches, and any compact two-state control. `ToggleGroup` accepts `type="single"` for radio-style behavior or `type="multiple"` for checkbox-style. - [BackButton](https://marsam.rahhal.app/components/back-button.md): Small ghost capsule with a leading chevron — the standard 'go back' affordance for nested pages. Defaults to `window.history.back()`; pass `onClick` to plug in router-aware navigation. The chevron rotates automatically under RTL. - [PasteButton](https://marsam.rahhal.app/components/paste-button.md): Icon button that reads the system clipboard and forwards the text to a callback. Defaults to a clipboard glyph; pair with a string-transform helper at the call site (URL extractor, code parser, normaliser). ## forms - [Input & Textarea](https://marsam.rahhal.app/components/input.md): Native `` and `