SuperdindaDocs
Protection

WeekStrip

A week of protection (Figma "Week Strip" 2056:59964): a name, the count and seven Day Tiles.

Small (440, desktop cards) and Medium (326, phone cards) stack the name above the days or, with layout="inline", put name, days and count on one line. Large (1000, the weekly summary) adds the person's figure and fills the row with 108 px day cards that wrap when narrow. Never shows message counts.

<WeekStrip size="small" label="Lia" count="7 de 7" aria-label="Semana da Lia" days={week} />

Playground

Um preset por valor do primeiro eixo do Figma. Mude as props; dsState força hover, foco ou pressionado, como na matriz.

Week Strip

string
string
string
string

Variantes, tamanhos e estados

Cada célula é o componente real, marcada com a variante do Figma que reproduz (passe o mouse pra ver o node).

Size · Small

LayoutWeek Strip
Stacked

Lia

7 de 7

Inline

Lia

7 de 7

Size · Medium

LayoutWeek Strip
Stacked

Lia

7 de 7

Inline

Lia

7 de 7

Size · Large

LayoutWeek Strip
Stacked

Lia

7 de 7 dias protegida

Props

As props que o arquivo do DS declara. O componente também repassa as do primitivo (base-ui), quando ele tem um.

DayTileProps

PropTipoPadrãoDescrição
DayState—
"large" | "medium" | "small" | null"small"
string—Figma "day": the weekday letter on Small and Medium ("S").
string—Figma "date": the date line on Large ("SEG 12").
ReactNode—The word under the icon on Large ("Protegida", "Alerta · resolvido", "3 h fora · voltou", "Pausada").
string—What a screen reader hears for this day ("segunda, 12: protegida"). Required: a letter alone says nothing.
string—

WeekStripProps

PropTipoPadrãoDescrição
"large" | "medium" | "small" | null"small"
"inline" | "stacked" | null"stacked"
ReactNode—Figma "label": whose week it is ("Lia").
ReactNode—Figma "count" ("7 de 7"); Large shows `summary` instead.
ReactNode—Figma "summary" on Large ("7 de 7 dias protegida").
ReactNode—Figma "thumbnail" on Large: a person figure, framed 96 px on lilac, e.g. `<PersonArt audience="teen" />`.
WeekStripDay[]—The seven days, Monday first.
string—

On this page