A listening calendar that turns a long book into short evening sessions
Help listeners make room for a book before the week fills up. Seven WButton day pills sit above chapter blocks sized by duration, with tonight's 40 minutes split into three clear sessions.
WDiv(
className: '''
w-full px-5 py-8
bg-purple-950 dark:bg-purple-950
''',
child: WDiv(className: 'flex flex-col gap-5', children: [
WDiv(className: 'flex flex-row items-end gap-2', children: [
WText('December 2026', className: '''
flex-1 text-2xl font-bold
text-white dark:text-white
'''),
WText('40m tonight', className: 'text-sm text-purple-200 dark:text-purple-200'),
]),
WDiv(className: '''
grid grid-cols-7 gap-1.5
text-xs text-center
text-purple-200 dark:text-purple-200
''', children: [
WButton(onTap: () {}, className: '''
h-16 flex items-center justify-center rounded-full
bg-purple-900 dark:bg-purple-900
hover:bg-purple-800 dark:hover:bg-purple-800
focus:ring-2 focus:ring-purple-200 dark:focus:ring-purple-200
''', child: WText('M\n30')),
WButton(onTap: () {}, className: '''
h-16 flex items-center justify-center rounded-full
bg-purple-300 dark:bg-purple-300
hover:bg-purple-200 dark:hover:bg-purple-200
focus:ring-2 focus:ring-purple-100 dark:focus:ring-purple-100
''', child: WText('T\n1', className: 'font-bold text-purple-950 dark:text-purple-950')),
WButton(onTap: () {}, className: '''
h-16 flex items-center justify-center rounded-full
bg-purple-900 dark:bg-purple-900
hover:bg-purple-800 dark:hover:bg-purple-800
focus:ring-2 focus:ring-purple-200 dark:focus:ring-purple-200
''', child: WText('W\n2')),
WButton(onTap: () {}, className: '''
h-16 flex items-center justify-center rounded-full
bg-purple-900 dark:bg-purple-900
hover:bg-purple-800 dark:hover:bg-purple-800
focus:ring-2 focus:ring-purple-200 dark:focus:ring-purple-200
''', child: WText('T\n3')),
WButton(onTap: () {}, className: '''
h-16 flex items-center justify-center rounded-full
bg-purple-900 dark:bg-purple-900
hover:bg-purple-800 dark:hover:bg-purple-800
focus:ring-2 focus:ring-purple-200 dark:focus:ring-purple-200
''', child: WText('F\n4')),
WButton(onTap: () {}, className: '''
h-16 flex items-center justify-center rounded-full
bg-purple-900 dark:bg-purple-900
hover:bg-purple-800 dark:hover:bg-purple-800
focus:ring-2 focus:ring-purple-200 dark:focus:ring-purple-200
''', child: WText('S\n5')),
WButton(onTap: () {}, className: '''
h-16 flex items-center justify-center rounded-full
bg-purple-900 dark:bg-purple-900
hover:bg-purple-800 dark:hover:bg-purple-800
focus:ring-2 focus:ring-purple-200 dark:focus:ring-purple-200
''', child: WText('S\n6')),
]),
WDiv(className: 'flex flex-col gap-1', children: [
WText('The Quiet Observatory', className: '''
text-lg font-semibold
text-white dark:text-white
'''),
WText('Tonight: chapters 4 to 6', className: 'text-sm text-purple-200 dark:text-purple-200'),
]),
WDiv(className: '''
flex flex-col gap-3
text-sm
text-white dark:text-white
''', children: [
WDiv(className: 'flex flex-row gap-3', children: [
WText('22:00', className: '''
w-12 text-xs
text-purple-200 dark:text-purple-200
'''),
WDiv(className: '''
flex-1 h-12 p-3 rounded-md
bg-purple-800 dark:bg-purple-800
''', child: WText('04 · First light · 10m')),
]),
WDiv(className: 'flex flex-row gap-3', children: [
WText('22:10', className: '''
w-12 text-xs
text-purple-200 dark:text-purple-200
'''),
WDiv(className: '''
flex-1 h-24 p-3 rounded-md
bg-purple-800 dark:bg-purple-800
''', child: WText('05 · A distant signal · 20m')),
]),
WDiv(className: 'flex flex-row gap-3', children: [
WText('22:30', className: '''
w-12 text-xs
text-purple-200 dark:text-purple-200
'''),
WDiv(className: '''
flex-1 h-12 p-3 rounded-md
bg-purple-800 dark:bg-purple-800
''', child: WText('06 · The reply · 10m')),
]),
]),
WText('Today, Tue 1 Dec · Done by 22:40', className: 'text-xs text-purple-200 dark:text-purple-200'),
]),
)
More like this
-
An office-day planner that puts your desk and team on the same schedule
See who is coming in and where your reserved desk fits around team time. A seven-day strip and duration-sized blocks make the office day easy to scan, using
grid-cols-7without a calendar package. -
A vocabulary dashboard that makes the review queue feel manageable
Separate due words from new vocabulary and show a five-minute session before learners commit. An unequal bento layout keeps the next review prominent, with
WButtontabs ready for app navigation. -
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.