Skip to content
Türkçe
All snippets

An eSIM top-up comparison that avoids buying another full plan

Help travelers cover the last three days of a trip without paying for a fresh week. Equal WCard panels compare a new plan with a smaller top-up, with the saving and expiry visible before purchase.

  • WDiv
  • WText
  • WCard
  • WBadge
  • WButton
preview
an_esim_top_up_comparison_that_avoids_bu_tdnbi1.dart
WDiv(
  className: '''
    w-full px-4 py-12
    bg-slate-900 dark:bg-slate-900
  ''',
  child: WDiv(className: 'flex flex-col gap-4', children: [
    WText('2 GB for your last 3 days', className: '''
      text-2xl font-bold
      text-white dark:text-white
    '''),
    WText('Portugal eSIM · Choose how to stay online', className: '''
      text-sm
      text-slate-300 dark:text-slate-300
    '''),
    WDiv(className: 'flex flex-row gap-3', children: [
      WCard(
        className: '''
          flex-1 h-72
          p-4 rounded-lg border
          border-slate-700 dark:border-slate-700
          bg-slate-800 dark:bg-slate-800
        ''',
        child: WDiv(className: 'flex flex-col gap-3', children: [
          WText('New plan', className: '''
            text-sm font-semibold
            text-slate-300 dark:text-slate-300
          '''),
          WText('\$12', className: '''
            text-3xl font-bold
            text-slate-300 dark:text-slate-300
          '''),
          WText('3 GB · 7 days', className: '''
            text-xs
            text-slate-400 dark:text-slate-400
          '''),
          WDiv(className: '''
            h-0.5
            bg-slate-700 dark:bg-slate-700
          '''),
          WText('Install a new eSIM', className: '''
            text-sm
            text-slate-300 dark:text-slate-300
          '''),
          WText('4 days beyond your trip', className: '''
            text-sm
            text-slate-300 dark:text-slate-300
          '''),
        ]),
      ),
      WCard(
        className: '''
          flex-1 h-72
          p-4 rounded-lg border-2
          border-emerald-400 dark:border-emerald-400
          bg-slate-800 dark:bg-slate-800
        ''',
        child: WDiv(className: 'flex flex-col gap-3', children: [
          WDiv(className: 'flex flex-row items-center justify-between', children: [
            WText('Top up', className: '''
              text-sm font-semibold
              text-white dark:text-white
            '''),
            WBadge('Better', className: '''
              px-2 py-0.5
              bg-emerald-400 dark:bg-emerald-400
              text-slate-950 dark:text-slate-950
            '''),
          ]),
          WText('\$6', className: '''
            text-3xl font-bold
            text-emerald-400 dark:text-emerald-400
          '''),
          WText('2 GB · 3 days', className: '''
            text-xs
            text-slate-300 dark:text-slate-300
          '''),
          WDiv(className: '''
            h-0.5
            bg-slate-700 dark:bg-slate-700
          '''),
          WText('Keep this eSIM', className: '''
            text-sm
            text-white dark:text-white
          '''),
          WText('Original expiry stays', className: '''
            text-sm
            text-white dark:text-white
          '''),
        ]),
      ),
    ]),
    WText('Save \$6 with a top-up that covers your trip.', className: '''
      text-sm
      text-slate-300 dark:text-slate-300
    '''),
    WButton(
      onTap: () {},
      className: '''
        w-full py-3 rounded-lg
        bg-emerald-400 dark:bg-emerald-400
        hover:bg-emerald-300 dark:hover:bg-emerald-300
        focus:ring-2 focus:ring-emerald-200 dark:focus:ring-emerald-200
        disabled:opacity-50
      ''',
      child: WText('Add 2 GB for \$6', className: '''
        text-center font-semibold
        text-slate-950 dark:text-slate-950
      '''),
    ),
  ]),
)
  • An instant resale offer that makes your take-home price clear

    Turn unused gear into a confident decision: a bold cash offer, an honest fee breakdown and free pickup in one compact resale screen. Built with WCard and paired light/dark tokens, ready to copy into Flutter.

    • WDiv
    • WCard
    • WIcon
    • WText
    • WBadge
    • WButton
  • A flight rescue card that turns a cancellation into a plan

    Give stranded travelers a clear next move: explain the cancellation, surface a replacement and make the no-cost change obvious. Built with WCard for a calm, action-first recovery flow.

    • WDiv
    • WIcon
    • WText
    • WCard
    • WBadge
    • WButton
    • WAnchor
  • A parcel pickup pass that gets you out the door

    Turn a delivered parcel into a clear next step: a bold pickup code, collection deadline and locker directions. A copy-ready Flutter pass with rounded-3xl surfaces and light/dark colour pairs.

    • WDiv
    • WIcon
    • WText
    • WBadge
    • WCard
    • WButton