This component no longer exists. It was in Quantumblack Design System Registry’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-08 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
Time Picker
quantumblack-design-system-registry/time-pickerRemovedComponent
Individual components for building time picker interfaces. Includes TimePickerItem (radio list item) and TimePickerList (scrollable list) with size support (sm, default, lg).
Install it
npx shadcn@latest add http://designsystem.quantumblack.com/r/time-picker.jsonSource
1'use client';23import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';4import { cva } from 'class-variance-authority';5import type * as React from 'react';67import { DropdownMenuRadioGroup } from '@/components/ui/dropdown-menu';8import { cn } from '@/lib/utils';910// ============================================================================11// TYPES & INTERFACES12// ============================================================================1314export interface TimePickerItemProps extends React.ComponentProps<15 typeof DropdownMenuPrimitive.RadioItem16> {17 size?: 'default' | 'lg';18}1920export interface TimePickerListProps extends React.ComponentProps<21 typeof DropdownMenuRadioGroup22> {23 readonly className?: string;24 readonly size?: 'default' | 'lg';25}2627// ============================================================================28// SIZE VARIANTS29// ============================================================================3031const timePickerItemVariants = cva(32 [33 'flex justify-center items-center bg-transparent text-fg-secondary cursor-pointer rounded-none outline-none',34 'hover:bg-stateslayer-overlay-hover hover:text-fg-primary',35 'active:bg-stateslayer-overlay-pressed active:text-fg-primary',36 'data-[state=checked]:bg-stateslayer-overlay-active data-[state=checked]:text-fg-primary-inverse',37 'disabled:cursor-not-allowed disabled:bg-stateslayer-overlay-disabled disabled:text-fg-disabled',38 'aspect-square',39 ],40 {41 variants: {42 size: {43 default: 'label-regular-primary size-7',44 lg: 'label-large-primary size-8',45 },46 },47 defaultVariants: {48 size: 'default',49 },50 },51);5253// ============================================================================54// COMPONENTS - TimePickerItem55// ============================================================================5657/**58 * Individual time picker list item (hour or minute)59 */60export const TimePickerItem = ({61 size = 'default',62 className,63 onSelect,64 ...props65}: TimePickerItemProps) => {66 return (67 <DropdownMenuPrimitive.RadioItem68 data-slot="time-picker-item"69 {...props}70 onSelect={e => {71 e.preventDefault();72 onSelect?.(e);73 }}74 className={cn(timePickerItemVariants({ size }), className)}75 />76 );77};7879TimePickerItem.displayName = 'TimePickerItem';8081// ============================================================================82// COMPONENTS - TimePickerList83// … truncated
What it pulls in
Other registry items
