Version 1

Naif design system

Tokens, components and patterns extracted from the reference design and adapted for Persian and right-to-left interfaces. Token source file: app/assets/css/main.css and component themes app/app.config.ts ; full documentation at docs/design-system.md.

Colours

Color scales were sampled from the reference image. In code, use semantic colors only (primary, success, text-muted, etc.); raw shades are reserved for special cases.

Naif blue — primary

brand-50 … brand-950

Primary button, active link, logo and highlights. The steps come from the Naif brand kit; shade 500 is Naif Blue (#3400E8).

  1. 50—
  2. 100—
  3. 200—
  4. 300—
  5. 400—
  6. 500—
  7. 600—
  8. 700—
  9. 800—
  10. 900—
  11. 950—

Special — secondary

premium-50 … premium-950

Premium subscription and smart assistant. The brand book has no second colour, so this is the same Naif blue scale.

  1. 50—
  2. 100—
  3. 200—
  4. 300—
  5. 400—
  6. 500—
  7. 600—
  8. 700—
  9. 800—
  10. 900—
  11. 950—

Up green — success

gain-50 … gain-950

Price increases, profit and successful status.

  1. 50—
  2. 100—
  3. 200—
  4. 300—
  5. 400—
  6. 500—
  7. 600—
  8. 700—
  9. 800—
  10. 900—
  11. 950—

Down red — error

loss-50 … loss-950

Price decline, loss and errors.

  1. 50—
  2. 100—
  3. 200—
  4. 300—
  5. 400—
  6. 500—
  7. 600—
  8. 700—
  9. 800—
  10. 900—
  11. 950—

Neutral — neutral

ink-50 … ink-950

The brand kit's slightly blue greys; 50 is Paper and 950 is Ink.

  1. 50—
  2. 100—
  3. 200—
  4. 300—
  5. 400—
  6. 500—
  7. 600—
  8. 700—
  9. 800—
  10. 900—
  11. 950—

Levels

Deepest to highest

  • bg-defaultPage canvas ·
  • bg-mutedHeader, footer, tables and inputs ·
  • bg-elevatedCards and menus ·
  • bg-accentedPremium band and active state ·
  • bg-invertedTooltip ·

Text

Strong to subtle

  • Atext-highlightedTitle and price ·
  • Atext-defaultBody text ·
  • Atext-tonedEmphasised secondary text ·
  • Atext-mutedDescription ·
  • Atext-dimmedHeaders, symbols and axes ·

Borders and meaning

Semantic colours

  • border-defaultSeparator line ·
  • border-accentedOutline button and chart zero line ·
primarysecondarysuccesserrorwarninginfo

Typography

Estedad is used across all pages with a seven-step type scale. The top three sizes scale fluidly with the viewport. Do not apply letter spacing to Persian text.

Active font: Estedad An open-source variable font (OFL), loaded locally from @fontsource-variable/estedad.

text-display

32–48 pixels · 800 · Hero title

Live currency and gold price reference

text-h1

28–44 pixels · 800 · Two-column sections and premium band

In-depth price-trend analysis

text-h2

24–36 pixels · 700 · Section headings and CTA

All markets, one platform

text-h3

18 pixels · 600 · Card and feature headings

120+ price sources

text-body-lg

16 pixels · 1.9 line height · Hero and section descriptions

Live prices, professional charts and a reliable API — all in one platform.

text-body

14 pixels · 1.85 line height · Default text and table

Rates are collected from global markets and trusted data providers.

text-caption

12 pixels · Labels, column headings and fine print

24h change · 7-day chart

Radius, shadow and gradient

Corner radius

Derived from --ui-radius = 0.25rem

md · ۶pxBadges
lg · ۸pxSmall button and selector
xl · ۱۲pxButtons, inputs and cards
2xl · ۱۶pxTable and analysis card
3xl · ۲۴pxCTA card
fullAsset icon and floating button

Shadows

shadow-glowPrimary button
shadow-glow-premiumSpecial button
shadow-floatFloating cards and tiles

Gradients

bg-announcementAnnouncement banner
bg-hero-glowGlow behind the hero
bg-cta-glowAI question card background (layers: bg-cta-arcs and bg-cta-purple)
bg-hub-glowSource chart core

Brand text gradient — text-gradient-brand

Buttons

The primary button is blue with white text and a soft glow; the special button is also blue with white text. Use only one primary button per view.

Variants

<UButton label="شروع کنید" />
<UButton label="شروع دوره‌ی آزمایشی" color="secondary" />
<UButton label="مشاهده‌ی بیشتر" color="neutral" variant="outline" />
<UButton label="از Claude بپرسید" icon="i-simple-icons-claude" color="neutral" variant="subtle" />

Sizes

xs to xl

Forms and navigation

Search

<AppSearch class="w-64" />  <!-- با کلید / فوکوس می‌گیرد -->
<UInput size="xl" icon="i-lucide-search" placeholder="جستجوی نماد…" />

Choose range and tabs

<UTabs v-model="tab" :items="marketTabs" :content="false" variant="link" />

Badges

Price changes always include an arrow and a color so they remain distinguishable for people with color blindness. Zero change is green.

Price change

Increase 0.18%Decrease 0.03%Increase 0%Increase 7.28%Decrease 6.32%Increase 1.41%Decrease 0.63%
<MarketPriceChange :value="0.18" />
<MarketPriceChange :value="-0.03" size="sm" />
<MarketPriceChange :value="1.41" variant="text" />

Market data

Building blocks of rate tables. This page uses demo data.

Asset icon and name

Ag
Gold spot
<MarketAssetIcon icon="i-circle-flags-us" size="lg" />
<MarketAssetIcon icon="i-simple-icons-ethereum" bg="#627EEA" fg="#FFFFFF" />
<MarketAssetCell name="بیت‌کوین" symbol="BTC" :visual="rate.visual" />

Mini chart and watchlist

<MarketSparkline :data="rate.sparkline" class="h-8 w-28" />

Rates table

Add to watchlistNamePrice24h change
Gold spot
2,650.4Increase 0.35%
Silver spot
31.12Increase 0.58%
Platinum spot
1,318.4Decrease 0.42%
<!-- const { rates } = useMarket()  (قیمت‌ها با واحد انتخاب‌شده در تنظیمات) -->
<MarketRatesTable v-model:tab="tab" :rates="rates" :tabs="marketTabs" more-to="/rates" />

Charts

All charts use Lightweight Charts, TradingView's open-source engine, with colors and fonts from design tokens. The chart is left-to-right: time flows left to right and the price axis is on the right. Dates follow the selected language.

Trading chart (TradingView style)

Drawing tools are on the left, OHLC details above the chart, interval and scale controls below, and settings in the gear beside the axes. Drawings are saved per symbol in your browser.

Gold spot
Open
2,632.9
Maximum
2,656.7
Minimum
2,626.4
Close
2,650.4
Change
+18.1 (+0.69%)

Volume825.8K

Trading chart for Gold spot in Global market, in US dollar
Gold spot, candles Daily
DateOpenMaximumMinimumClose
Jul 29, 20262,637.82,657.32,629.52,643.6
Jul 30, 20262,647.92,660.82,6402,640.5
Jul 31, 20262,637.32,646.52,605.32,614.9
Aug 1, 20262,614.52,656.22,604.12,642.4
Aug 2, 20262,640.42,654.32,617.92,623.2
Aug 3, 20262,6192,639.12,612.42,631.4
Aug 4, 20262,632.52,650.92,611.42,614.4
Aug 5, 20262,615.22,629.52,593.22,608.5
Aug 6, 20262,610.32,614.82,595.12,611.3
Aug 7, 20262,6152,635.42,606.82,626.8
Aug 8, 20262,6272,632.52,605.92,612.4
Aug 9, 20262,612.52,620.52,582.52,591.5
Aug 10, 20262,591.32,600.22,5702,585.5
Aug 11, 20262,583.12,5932,569.22,570.1
Aug 12, 20262,572.72,586.42,526.62,546.1
Aug 13, 20262,548.22,571.82,537.22,553
Aug 14, 20262,557.32,601.82,547.92,586.3
Aug 15, 20262,583.22,5932,5562,561.5
Aug 16, 20262,557.32,558.72,546.82,558.6
Aug 17, 20262,555.22,580.12,543.22,564.2
Aug 18, 20262,568.22,597.22,550.12,591.9
Aug 19, 20262,589.62,589.62,550.22,567.5
Aug 20, 20262,568.92,579.52,560.32,570.8
Aug 21, 20262,5702,599.32,563.92,591
Aug 22, 20262,585.42,588.32,557.72,565.7
Aug 23, 20262,569.22,587.72,544.12,547.5
Aug 24, 20262,5472,548.62,520.92,540.1
Aug 25, 20262,539.62,5712,5292,554
Aug 26, 20262,551.32,566.42,540.72,546.2
Aug 27, 20262,545.52,576.12,545.42,567.8
Aug 28, 20262,566.92,600.52,556.92,591.5
Aug 29, 20262,592.82,611.22,578.62,589.2
Aug 30, 20262,594.42,627.32,579.12,618.5
Aug 31, 20262,622.32,654.72,613.52,652.4
Sep 1, 20262,647.32,658.52,632.62,638.8
Sep 2, 20262,639.82,651.52,622.62,635.3
Sep 3, 20262,630.12,654.82,626.42,638
Sep 4, 20262,639.32,658.22,629.42,641.8
Sep 5, 20262,6472,668.52,633.32,663.4
Sep 6, 20262,668.22,686.22,661.22,673.5
Sep 7, 20262,673.42,6962,666.92,675.4
Sep 8, 20262,677.72,719.12,6762,705.8
Sep 9, 20262,707.62,727.12,679.12,683.9
Sep 10, 20262,684.42,703.52,658.32,676.6
Sep 11, 20262,672.62,675.12,6382,657.3
Sep 12, 20262,655.32,6702,631.42,636.5
Sep 13, 20262,641.92,648.32,630.82,640.3
Sep 14, 20262,637.62,6412,600.62,610.9
Sep 15, 20262,615.52,628.62,611.82,615.7
Sep 16, 20262,610.22,634.52,603.72,630.5
Sep 17, 20262,625.92,637.12,598.12,614.2
Sep 18, 20262,614.52,624.72,602.52,617.5
Sep 19, 20262,622.42,6582,6082,639
Sep 20, 20262,636.22,675.22,629.92,658.2
Sep 21, 20262,662.62,665.42,622.52,641.9
Sep 22, 20262,640.72,6472,621.72,624.4
Sep 23, 20262,624.22,638.62,599.12,618.8
Sep 24, 20262,622.32,657.32,619.22,645.6
Sep 25, 20262,650.42,660.52,621.12,632.3
Sep 26, 20262,632.92,656.72,626.42,650.4
<!-- کارت کامل؛ candleSample از data/market.ts (واحد پول و نرخ خرید/فروش را هم دارد) -->
<MarketCandleCard v-bind="candles" />

<!-- خود نمودار؛ ارتفاع را با کلاس بدهید -->
<ChartTrading
  :candles="candles"
  name="انس طلا"
  symbol="XAUUSD"
  unit="دلار"
  :visual="{ icon: 'i-lucide-globe', bg: '#C9A227', fg: '#2B1D00' }"
  market="بازار جهانی"
  :quote="{ buy: 2650.1, sell: 2650.6 }"
  label="نمودار معاملاتی انس طلا"
  class="h-[38rem]"
/>

Lines and bars

Gold ounce price trend; from 2,609.26 to 2,650.4, Minimum 2,570.64, maximum 2,650.4

Cumulative trend; from 46.6 to 44, Minimum 24.3, maximum 70

Daily changes
Monday+18.5
Tuesday-4.2
Wednesday+6.9
Thursday+22.4
<ChartLine :data="series" color="gradient" :grid="false" :y-axis="false" label="…" class="h-24" />
<ChartLine :data="series" color="success" area :labels="labels" label="…" class="h-48" />
<ChartBar :data="[1850, -420, 690, 2240]" :labels="labels" label="…" class="h-48" />

Cards and decorative elements

Market cards

Gold spot

2,650.4 US dollar

+32.6Increase 1.24%

Price trend for Gold spot; from 2,609.26 to 2,650.4, Minimum 2,570.64, maximum 2,650.4

Daily changes
Daily changes chart
Monday+18.5
Tuesday-4.2
Wednesday+6.9
Thursday+22.4
Cumulative trend

Cumulative trend chart; from 46.6 to 44, Minimum 24.3, maximum 70

Advanced profit and loss analysis

Purchase value
26,504
Unrealised profit
6,939 Increase 26.18%
Daily loss
358 Decrease 1.35%
NaifNow

Today's API usage reached 80% of the daily limit: 80,000 of 100,000 requests.

<MarketSourceCard title="ارز" :visual="{ icon: 'i-circle-flags-us' }" to="#markets" />
<MarketStatsCard v-bind="analytics" />
<MarketInsightCard title="…" :rows="rows" />
<MarketAlertCard message="…" />

Dashboard card

Dashboard cards in /panel on their own background

API usage

۶۴٪
<PanelCard title="مصرف API" icon="i-lucide-activity" to="/panel/usage">
  <template #meta>
    <UBadge label="۶۴٪" color="neutral" variant="soft" size="sm" class="rounded-full" />
  </template>
  <PanelMeter :value="64" size="md" label="مصرف سهمیه‌ی درخواست" />
  <PanelBars :values="daily" :labels="days" unit="درخواست" label="…" class="mt-5 h-20" />
</PanelCard>

Icon tiles

<BaseIconTile icon="i-lucide-trending-up" color="secondary" float />
<BaseIconTile icon="i-lucide-flame" variant="glass" shape="circle" />

Footer: social networks and app stores

  • News
Get it onApp StoreGet it onGoogle Play

Device frame and logo

Application content

Icons

Two icon families: Lucide line icons for the interface, and Nucleo Glass icons when the icon serves as an illustration. Both are rendered with UIcon.

Glass icons

The back layer uses the brand color (or purple, green or red for color-suffixed variants); the front is frosted glass with a bright edge. Colors are embedded in the file and remain the same in both themes. Below 36 pixels they look crowded. Custom means it was not in Nucleo and was drawn in the same style.

On dark background

  • analytics
  • arrows-converge
  • bell
  • bolt
  • candlesCustom
  • caret-maximize-diagonal-red
  • circle-check-green
  • circle-question-violet
  • flame
  • heart
  • layers
  • move-up-left
  • sparkle-violet
  • square-chart-line-violet
  • star

On light background

  • analytics
  • arrows-converge
  • bell
  • bolt
  • candlesCustom
  • caret-maximize-diagonal-red
  • circle-check-green
  • circle-question-violet
  • flame
  • heart
  • layers
  • move-up-left
  • sparkle-violet
  • square-chart-line-violet
  • star
<!-- ویژگی و سرتیتر بخش: ۴۰ تا ۵۶ پیکسل -->
<UIcon name="i-glass-bolt" class="size-11" />
<UPageFeature icon="i-glass-layers" title="…" :ui="{ leadingIcon: 'size-11' }" />

<!-- تزئینی و شناور -->
<UIcon name="i-glass-sparkle-violet" class="size-12 drop-shadow-lg motion-safe:animate-float" />

Which icon goes where?

Use glass icons only at large sizes as illustrations. Use line icons beside text and on buttons.

Glass

Feature lists, section headings, floating decorative icons and the brand panel. 40–56 pixels.

Outline (Lucide)

Buttons, menus, fields, tables and anywhere an icon performs an action. 16–24 pixels, matching the text color.

Page patterns

Homepage sections and their mappings to components and the reference design.

PatternComponent
Announcement bannerAppAnnouncement ← UBannerView
HeaderAppHeader ← UHeader، UNavigationMenu، AppSearchView
HeroLandingHero ← MarketSymbolSearch، تصاویر سه‌بعدی فیگماView
Rates tableMarketRatesTable ← UTabs، UTableView
All in one platformLandingFeatureHub ← BaseBorderGlowView
Trend analysisLandingAnalytics ← LandingAnalyticsPanelView
Candlestick chartLandingTrading ← ChartTradingView
Premium subscriptionLandingPremium ← UButton، MarketSparkline، MarketAssetIconView
Business productsLandingProducts ← UPageSection، UBadge، UButton (در صفحه‌ی اصلی نیست)View
Ask AILandingAskAi ← UTooltip، دکمه‌های شیشه‌ای (glass-pill)، تصاویر سه‌بعدی فیگماView
FooterAppFooter ← BaseStoreBadge، UTooltipView
Floating buttonsAppFloatingActionsView
Settings menuAppSettingsPanel ← UPopover، USwitchView
Log inlayouts/auth ← AuthOtpForm (UPinInput)، AuthBrandPanelView
Sign uplayouts/auth ← AuthOtpForm (UCheckbox، UPinInput)، AuthBrandPanelView
Dashboardlayouts/panel ← UDashboardGroup، UDashboardSidebar، PanelCardView