SearchCtrlK

  • ↑↓navigate
  • ↵open
  • escclose

Can’t find it? Contact us

On this page

DayStrip

A strip of days in one sideways scroller.

Installation

An ordinary dependency: install it, import the theme once, and import the component where it is used.

Terminal
npm add @sdxc/ui remix
typescript
import "@sdxc/ui/theme.css";

Usage

typescript
import { DayStrip } from "@sdxc/ui/schedule";

Renders the strip: a list of day cells in a scroller that snaps to each one. The current day fills with the brand colour, today wears a ring, and weekends dim their weekday name.

Props

Read from the component's own types, so every prop, every default and every allowed value is listed.

PropTypeRequiredDescription
labelstringYesThe landmark's name, such as "November 2026".
daysDay[]Yes
todaystringNoToday, as YYYY-MM-DD, drawn with a ring.
localestringNoFormats the weekday names and the days' accessible names. @default "en"

Also accepts everything in Omit<TagProps<"nav">, "children">.

@sdxc/ui

Can’t find it? Contact us