Components

Label

Essential component for form accessibility and usability in government applications, providing clear field identification, context, and bilingual support for citizen services.

Basic Usage

Essential label-input pairing for form accessibility. Always use htmlFor attribute to connect label with input.

Required Field Indication

Visual indicators for required fields using star icons, essential for government forms and user guidance.

Bilingual Labels

Support for both English and Bengali text, crucial for government services in Bangladesh and inclusive citizen access.

Labels with Help Text

Additional context and formatting instructions to guide users in government forms and complex data entry.

Format: 11 digits starting with 01 (e.g., 01712345678)

12-digit Tax Identification Number issued by NBR

Government Form Layout

Complete form section for birth certificate application showing proper label usage in government context.

Birth Certificate Application / জন্ম নিবন্ধন আবেদন

Please fill out all required fields / সকল আবশ্যক ক্ষেত্র পূরণ করুন

Use Cases

Personal Information Forms

Identity fields, contact information, family details, educational background, employment data

Application Forms

License applications, permit requests, service registrations, document submissions

Security & Verification

Authentication fields, security questions, verification codes, password fields

Support & Feedback

Help desk forms, complaint submissions, feedback collection, user surveys

Best Practices

Accessibility & Association

  • • Always use htmlFor attribute to associate labels with form controls
  • • Provide clear, descriptive text that explains the field purpose
  • • Ensure sufficient color contrast for all text elements
  • • Support screen reader navigation and announcements

Content & Clarity

  • • Use concise, action-oriented language in both languages
  • • Indicate required fields clearly with visual markers
  • • Provide contextual help text for complex fields
  • • Maintain consistent labeling patterns across forms

Government Standards

  • • Include bilingual text (English/Bengali) for citizen accessibility
  • • Follow government terminology and naming conventions
  • • Provide format examples for complex data types
  • • Ensure compliance with digital governance standards

Usage Guidelines

Do

  • Always associate labels with form controls using htmlFor
  • Use clear, descriptive text that explains the field purpose
  • Indicate required fields with visual markers (asterisk/star)
  • Provide bilingual labels for government applications
  • Include helpful context and format examples
  • Maintain consistent positioning and styling

Don't

  • Use vague or ambiguous label text
  • Forget to associate labels with their inputs
  • Hide required field indicators from users
  • Use placeholder text as a replacement for labels
  • Make labels too long or verbose
  • Use inconsistent terminology across similar fields

Component Specifications

Detailed specifications and characteristics of the Label component for implementation guidance.

SpecificationDetailsPurpose & Usage
Component TypeForm Label ElementProvides clear identification and context for form inputs and controls
Complexity LevelLowSimple implementation with focus on accessibility and typography
Label TypesRequired indicators, Optional labels, Descriptive text, Contextual hintsDifferent label variations to communicate field requirements and context
State ManagementDefault, Associated, Required, Disabled, ErrorVisual states that reflect the associated form control's status
Association MethodshtmlFor attribute, Nested controls, ARIA labelling, Programmatic linkingProper accessibility linking between labels and form controls
Accessibility FeaturesScreen reader support, Click-to-focus, Keyboard navigation, ARIA attributesEnsures form accessibility for all citizens including those with disabilities
Language SupportEnglish, Bengali (বাংলা)Bilingual label text support for government applications
Design SystemTypography scale, Color tokens, Spacing units, Required indicatorsConsistent with CivixUI design principles and government branding
Typography FeaturesFont weights, Size variations, Color variations, Text truncationFlexible typography options to establish proper visual hierarchy
Use CasesForm fields, Checkboxes, Radio buttons, File uploads, Input groupsEssential for all form elements in government service applications

Accessibility

  • • Proper label-control association using htmlFor attribute
  • • Screen reader support with clear field identification
  • • Focus management that includes label context
  • • High contrast mode compatibility for all text
  • • Required field indicators are announced to assistive technology
  • • Bilingual content supports multiple language screen readers
  • • Consistent reading order and navigation patterns
  • • Color-blind friendly visual indicators and markers