Skip to content

BbTimePicker

Open time columns from your own trigger to assign a wall-clock time or schedule window.

import { BbTimePicker } from 'bitboss-ui';

On this page

Use it for

Use BbTimePicker to set a recurring schedule time from your own cell, chip, or button.

Use something else when

Pass Through

Hover or tap a part to outline it. Toggles flip loading, errors and warnings when the component has them — only parts highlight.

BbTimePicker is new in v3.

Set a schedule time

Use one picker per schedule value, such as Monday's opening time.

Model — null

The model is null or a zero-padded 24-hour string such as 09:00. It is a wall-clock value: it has no date or timezone and does not shift between regions.

Spread the activator slot's props onto the clickable element. Give the picker a specific label; the slot wiring supplies the click handler, accessible state, and focus return.

Display and granularity

Use ampm for a 12-hour display, seconds for HH:mm:ss, and step for the minute rows offered by the columns.

These props do not change the value contract. ampm still emits 24-hour text, and step constrains picks without rounding an existing off-grid value. min and max accept HH:mm.

Schedule windows

Use range for a shift or service window, with [] as the empty model.

editing start

The panel toggle chooses which end is being edited. Bind v-model:active-segment only when another control must read or change that end. An inverted pair is swapped on commit and emits end_before_start.

Trigger and mobile surface

Use the activator prop for an existing element, or v-bb-time for a bare schedule cell that does not need slot state. The columns support arrow keys and digit type-ahead; do not add parallel key handlers.

On mobile, adaptive opens the columns in a bottom sheet. Pass options through offCanvasProps; set :adaptive="false" for viewport-independent tests. Desktop placement props do not apply to the sheet.