Skip to content
Türkçe
All snippets

A charger reservation pass that makes the held bay and tariff clear

Give drivers a reservation they can read at a glance: a held connector, arrival deadline and energy tariff above a tear-off access code. Paper styling and a red WBadge keep the confirmation unmistakable.

preview
a_charger_reservation_pass_that_makes_th_dt5z9x.dart
WDiv(
  className: '''
    flex flex-col w-full px-4 py-12
    bg-zinc-800 dark:bg-zinc-900
  ''',
  children: [
    WDiv(
      className: '''
        flex flex-col w-full
        rounded-xl overflow-hidden
        bg-zinc-100 dark:bg-zinc-100
      ''',
      children: [
        WDiv(
          className: 'flex flex-col gap-4 px-5 pt-5 pb-4',
          children: [
            WText('Riverside', className: '''
              text-4xl font-black
              text-zinc-900 dark:text-zinc-900
            '''),
            WBadge('Bay 06 held for you', className: '''
              px-3 py-1
              bg-red-600 dark:bg-red-600
              text-white dark:text-white
            '''),
            WDiv(className: 'flex flex-row gap-4', children: [
              WDiv(className: 'flex flex-col flex-1', children: [
                WText('Connector', className: '''
                  text-xs
                  text-zinc-600 dark:text-zinc-600
                '''),
                WText('CCS · 150 kW', className: '''
                  text-xl font-bold
                  text-zinc-900 dark:text-zinc-900
                '''),
              ]),
              WDiv(className: 'flex flex-col flex-1', children: [
                WText('Energy tariff', className: '''
                  text-xs
                  text-zinc-600 dark:text-zinc-600
                '''),
                WText('€0.49/kWh', className: '''
                  text-xl font-bold
                  text-zinc-900 dark:text-zinc-900
                '''),
              ]),
            ]),
            WDiv(className: 'flex flex-row gap-4', children: [
              WDiv(className: 'flex flex-col flex-1', children: [
                WText('Mon 30 Nov · arrive by', className: '''
                  text-xs
                  text-zinc-600 dark:text-zinc-600
                '''),
                WText('21:45', className: '''
                  text-xl font-bold
                  text-zinc-900 dark:text-zinc-900
                '''),
              ]),
              WDiv(className: 'flex flex-col flex-1', children: [
                WText('Reservation fee', className: '''
                  text-xs
                  text-zinc-600 dark:text-zinc-600
                '''),
                WText('€0.00', className: '''
                  text-xl font-bold
                  text-zinc-900 dark:text-zinc-900
                '''),
              ]),
            ]),
            WText('Idle fee: €0.30/min, 10 min after charging ends.', className: '''
              text-xs
              text-zinc-600 dark:text-zinc-600
            '''),
          ],
        ),
        WDiv(className: 'relative flex flex-row items-center h-6', children: [
          WDiv(className: '''
            absolute -left-3 size-6 rounded-full
            bg-zinc-800 dark:bg-zinc-900
          '''),
          WText('• • • • • • • • • • • • • • • • • • • • • • • • • • • • • •', className: '''
            flex-1 text-center text-base
            text-zinc-400 dark:text-zinc-400
          '''),
          WDiv(className: '''
            absolute -right-3 size-6 rounded-full
            bg-zinc-800 dark:bg-zinc-900
          '''),
        ]),
        WDiv(className: 'flex flex-col items-center gap-1 py-5', children: [
          WText('ENTER AT THE CHARGER', className: '''
            text-xs tracking-widest
            text-zinc-600 dark:text-zinc-600
          '''),
          WText('846 219', className: '''
            text-5xl font-black tracking-widest
            text-zinc-900 dark:text-zinc-900
          '''),
        ]),
      ],
    ),
  ],
)
  • A home battery sheet that keeps backup power in reserve

    Give home energy users clear control over backup reserve, charge limits and whether the car can draw from the house battery. A calm settings sheet uses WSwitch controls with colour reserved for active rules.

    • WDiv
    • WText
    • WButton
    • WIcon
    • WSwitch
  • A baggage tracker that shows the last scan and the right carousel

    Reassure arriving travelers with a scan-by-scan baggage route, a highlighted unloading stage and an assigned collection belt. A w-0.5 rail connects completed scans while the hollow final stop makes the next step clear.

    • WDiv
    • WText
    • WCard
  • A hotel room pass that puts the door and checkout time in reach

    Give checked-in guests a room pass they can read at a glance: floor, tap-to-open access and the exact key expiry. A paper stub with overflow-hidden keeps the perforation and oversized room number unmistakable.

    • WDiv
    • WText
    • WBadge