Command Palette

Search for a command to run...

Foundations

Typography

எழுத்துவடிவியல்

Tamil DS uses Inter for Latin/English and Noto Sans Tamil for Tamil script. Together they form a harmonious, accessible type system that works across all digital contexts in Tamil Nadu.

இலத்தீன் மற்றும் ஆங்கிலத்திற்கு Inter, தமிழ் எழுத்திற்கு Noto Sans Tamil.

Font families

English / Latin

Inter

--font-inter

Aa Bb Cc

1234567890

Inter is a variable font designed specifically for computer screens, with high legibility at small sizes.

300400500600700

Tamil Script

Noto Sans Tamil

--font-tamil

அ ஆ இ ஈ

க ங ச ஞ ட ண

Noto Sans Tamil provides complete coverage of the Tamil Unicode block with excellent legibility.

தமிழ்தமிழ்தமிழ்தமிழ்தமிழ்

Type scale

The type scale is built on a modular ratio. Use semantic HTML elements (h1h6, p) and Tailwind size classes to apply the scale. Tamil text uses font-tamil utility class and automatically receives a slightly increased line-height (1.8) for legibility.

Display

48px / 3rem

weight 700

The quick brown fox

நல்ல வண்ணம் வாழ்க

H1

36px / 2.25rem

weight 700

Heading level one

தலைப்பு ஒன்று

H2

30px / 1.875rem

weight 600

Heading level two

தலைப்பு இரண்டு

H3

24px / 1.5rem

weight 600

Heading level three

தலைப்பு மூன்று

H4

20px / 1.25rem

weight 600

Heading level four

தலைப்பு நான்கு

Body LG

18px / 1.125rem

weight 400

Body large — introductory paragraphs

பெரிய உடல் — அறிமுக பத்திகள்

Body

16px / 1rem

weight 400

Body — standard paragraph text

உடல் — நிலையான பத்தி உரை

Body SM

14px / 0.875rem

weight 400

Body small — secondary text, captions

சிறிய உடல் — இரண்டாம் நிலை உரை

Caption

12px / 0.75rem

weight 400

Caption — labels, metadata

தலைப்பு — லேபிள்கள்

Overline

12px / 0.75rem

weight 600

OVERLINE — SECTION LABELS

மேல் வரி — பிரிவு லேபிள்

Tamil-specific guidance

  • Always apply font-tamil class (or lang="ta") to Tamil script text so the correct font renders.
  • Line-Height Auto-Scaling: Tamil script diacritics and vowel markers (மாத்திரை) extend significantly above and below the baseline. Tamil DS automatically intercepts and scales Tailwind line-height classes (like leading-none, leading-tight, leading-snug, and numeric leadings leading-3 through leading-10) under the scope of lang="ta" and .font-tamil to safe minimum line-heights to prevent vertical line collisions.
  • Avoid Container Height Clipping: Never use a combination of fixed heights (e.g., h-5, h-8, h-10) and overflow-hidden on boxes containing Tamil text. This will crop tall vowel markers (e.g. ி, ீ, ு, ூ, ்). Use h-fit or min-h-* with comfortable vertical padding (py-*) instead.
  • Avoid tight arbitrary overrides: Do not hardcode tight custom line-height values (e.g., leading-[1.1]) on Tamil text blocks.
  • Avoid all-caps for Tamil text — Tamil script has no uppercase/lowercase distinction and text-transform: uppercase will cause rendering errors.
  • Body Tamil text at 16px/1rem meets minimum legibility thresholds. Do not go below 14px for paragraph Tamil.
  • Tamil digits (௧ ௨ ௩) may be used for cultural emphasis but default to Arabic numerals (1 2 3) in data-heavy UI.

Usage in code

Apply fonts via Tailwind utilities: