Skip to content
Türkçe
All snippets

An ownership pass that sends the product history with the coat

Give a secondhand sale a clear handoff: a claim code, named recipient and repair history that travels with the item. A paper pass with a perforated stub and overflow-hidden edges keeps ownership transfer ready to share.

preview
an_ownership_pass_that_sends_the_product_t1phgg.dart
WDiv(
  className: '''
    flex flex-col w-full
    px-4 py-10
    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('Field coat', className: '''
              text-4xl font-black
              text-zinc-900 dark:text-zinc-900
            '''),
            WText('PRODUCT PASSPORT / FC-2084', className: '''
              text-xs tracking-wide
              text-zinc-600 dark:text-zinc-600
            '''),
            WBadge('Ready for a new owner', className: '''
              px-3 py-1
              bg-blue-600 dark:bg-blue-600
              text-white dark:text-white
            '''),
            WDiv(className: 'flex flex-row gap-4', children: [
              WDiv(className: 'flex flex-col flex-1', children: [
                WText('Travels with the coat', className: 'text-xs text-zinc-600 dark:text-zinc-600'),
                WText('Repair log', className: '''
                  text-xl font-bold
                  text-zinc-900 dark:text-zinc-900
                '''),
              ]),
              WDiv(className: 'flex flex-col flex-1', children: [
                WText('Product record', className: 'text-xs text-zinc-600 dark:text-zinc-600'),
                WText('Verified', 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('Next owner', className: 'text-xs text-zinc-600 dark:text-zinc-600'),
                WText('Mina Yılmaz', className: '''
                  text-base font-semibold
                  text-zinc-900 dark:text-zinc-900
                '''),
              ]),
              WDiv(className: 'flex flex-col flex-1', children: [
                WText('Claim by 28 Nov', className: 'text-xs text-zinc-600 dark:text-zinc-600'),
                WText('18:00 UTC', className: '''
                  text-base font-semibold
                  text-zinc-900 dark:text-zinc-900
                '''),
              ]),
            ]),
            WText('Enter this code to claim the passport.', className: 'text-sm 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-row justify-center py-5', children: [
          WText('R8N 2V6', className: '''
            text-5xl font-black tracking-widest
            text-zinc-900 dark:text-zinc-900
          '''),
        ]),
      ],
    ),
  ],
)
  • A payment comparison that puts the full cost before the first installment

    Help shoppers compare a smaller first payment with the actual total. Two equal WCard panels show an upfront price, four installments and the exact financing cost before checkout.

    • WDiv
    • WText
    • WCard
    • WBadge
    • WButton
  • A hydration dial that makes every glass count

    Show daily water intake against a personal goal, with twelve glass-sized ticks and a one-tap logging control. A rounded-full gauge keeps the total readable while undo stays within reach.

    • WDiv
    • WText
    • WButton
    • WIcon
  • A screen-time stop that meets you at your daily limit

    Make the daily scrolling limit a moment to act, not another report to ignore. A full-colour stop sign with four oversized lines and one clear exit, built with WButton.

    • WDiv
    • WIcon
    • WText
    • WButton