# Your day

*What you need to know, changing through the day: how you slept, what's first, what's left.*

**Type: [Glance](types/glance.md).** One thing worth knowing right now, at a glance. This is one good use of it; the same widget serves your day, what's useful where you are, flight or train status, what your agents did overnight and more. Switch the subject when something else matters more.

Template id `day-brief` · Informative · uses Calendar, Health, Reminders · for: Any agent, with Phone access on.

## Goal

One look tells the user what matters now. They never open a calendar to find out.

## When to offer it

Any user. A strong first widget, once Calendar is on in Phone access.

## What the user gets

- Your agent reads your calendar, health and reminders and picks what matters now
- Changes by itself morning, afternoon and evening
- No app to open and nothing to set up per day

## What each size shows

- **Small**: metric: First thing = 9:30.
- **Medium**: metric: First thing = 9:30; text (body): "Standup, then clear until 2. You slept 5h, so nothing heavy is booked early.".
- **Large**: metric: First thing = 9:30; text (body): "Standup, then clear until 2. You slept 5h, so nothing heavy is booked early."; list: Today (3 rows).
- **Lock Screen**: inline "First thing: 9:30 standup".

## Make it theirs

**Look.** Send `look` instead of `theme` and `accent`; every combination is designed to read well:

- `style`: `glass` (default: see-through, adapts to dark mode), `soft` (a calm pale tint) or `bold` (a vivid gradient with dark buttons).
- `accent`: blue, indigo, purple, pink, red, orange, green, teal, graphite, or a hex.
- `font`: default, rounded, serif or mono.

This template's own accent is **orange**. To restyle a widget you already saved, send only the look:

```json
{"slug": "day-brief", "look": {"style": "bold", "accent": "orange", "font": "rounded"}}
```

Preview a look without saving: `droplet_preview_widget` with the slug and `look`. When the user says "make it greener", "calmer" or "bolder", change the look; keep the content.

**Their choices.** Ask once (droplet_ask) or use what you know:

- What to lead with
- When the day starts and ends for them

**Search words:** today, morning, brief, schedule, calendar, sleep, health, information, glance, evening, tomorrow.


## Before you build

- Check `droplet_get_phone_context`: the phone must share calendar, health, reminders. If something is off, ask the user to turn it on in Droplet.ai, Settings, Phone access.
- You need: Any agent, with Phone access on.
- Ask once: Nothing: this only informs.

## Fill it with real data

Start from the template (`droplet_library` with `id: "day-brief"`), keep the design, and replace each sample value:

| Block | Real value |
|---|---|
| 0 · metric | The next thing that matters, as a time or number. |
| 1 · text | Your read of the day, in one sentence, with the reason. |
| 2 · list | What's left today, three rows at most. |

Sources:
- Phone access: calendar, reminders, health totals, time zone.
- Anything else you know from your connectors: email, tasks, what they told you.

## The widget

Sample values; send it with `droplet_set_widget` on your widget's slug (or a new slug with `new_widget: true` if the user asked for a separate widget). Preview it and fix every warning first.

```json
{
  "slug": "day-brief",
  "title": "This morning",
  "symbol": "sun.max.fill",
  "accent": "#FF9F0A",
  "blocks": [
    {"type": "metric", "label": "First thing", "value": "9:30"},
    {"type": "text", "text": "Standup, then clear until 2. You slept 5h, so nothing heavy is booked early.", "style": "body"},
    {"type": "list", "title": "Today", "items": [{"title": "Standup", "detail": "9:30"}, {"title": "Design review", "detail": "2:00"}, {"title": "Pay rent", "detail": "due today"}]}
  ],
  "variants": [{"when": {"from": "12:00", "to": "17:00"}, "title": "This afternoon", "blocks": [{"type": "metric", "label": "Next", "value": "2:00"}, {"type": "text", "text": "Design review with 6 people. Your notes are ready.", "style": "body"}, {"type": "list", "title": "Still today", "items": [{"title": "Reply to Sam", "detail": "drafted"}, {"title": "Pay rent", "detail": "due today"}]}]}, {"when": {"from": "17:00", "to": "23:30"}, "title": "Tomorrow", "blocks": [{"type": "metric", "label": "First thing", "value": "8:00"}, {"type": "text", "text": "Board prep, so an earlier start. You have 2 things left today.", "style": "body"}, {"type": "list", "title": "Left today", "items": [{"title": "Pay rent", "detail": "due today"}, {"title": "Call Mom", "detail": "her birthday"}]}]}],
  "sizes": {"small": [0], "medium": [0, 1], "large": [0, 1, 2]},
  "lock": {"inline": "First thing: 9:30 standup", "circular": 0}
}
```

## Keep it fresh

Write all the versions each morning; the phone switches between them with no agent running. Update when the day changes.

## Ask first

Nothing: this only informs.

For example:

```json
null
```

## Phone actions

Reads calendar, reminders and health if they're on.

## Edge cases

- An empty day: say so, it's good news.
- Health is off: leave sleep out, and don't mention it.

## Never

Never just copy the calendar. Choose what matters and say why.

## Done when

- [ ] Every sample value is replaced with real data (no "Dr. Lee" on a real widget).
- [ ] `droplet_preview_widget` shows no warnings at the sizes the user placed (`placed` in `droplet_whoami`).
- [ ] Nothing needs a handler (no event buttons).
- [ ] Refresh is set up as above.
- [ ] You told the user in one line what it does on its own and what it asks first.

## Same widget, other uses

- [Here and now](here-now.md): What's useful where you are: your meetings at work, what's nearby when you're out, tomorrow when you're home.
- [While you slept](overnight.md): What your agents finished overnight, and the one thing that needs you.
- [Travel day](travel-day.md): Flight, gate, when to leave and the ride, as one live widget.
- [Usage spike](usage-spike.md): A bill is about to jump. Your agent found out why and how to stop it.
