Date Picker Input
crenspire-glass-ui/date-picker-inputFreeComponent
A date picker input component with glassy variants.
Live preview
live · rendered by the registry
Rendered by crenspire/glass-ui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://glass-ui.crenspire.com/r/date-picker-input.jsonSource
1"use client"23import * as React from "react"4import { DatePickerInput as BaseDatePickerInput } from "@/components/ui/date-picker-input"5import { cn } from "@/lib/utils"6import type { GlassCustomization } from "@/lib/glass-utils"7import { hoverEffects, type HoverEffect } from "@/lib/hover-effects"89export interface DatePickerInputProps extends React.ComponentProps<typeof BaseDatePickerInput> {10 effect?: HoverEffect11 glass?: GlassCustomization12}1314/**15 * Glass UI Date Picker Input - A beautifully designed date picker with glassy effects16 * Built on top of the base DatePickerInput component with enhanced visual styling17 */18export const DatePickerInput = React.forwardRef<HTMLInputElement, DatePickerInputProps>(19 ({ className, variant = "glass", effect = "none", glass, ...props }, ref) => {20 return (21 <BaseDatePickerInput22 ref={ref}23 variant={variant}24 className={cn(25 hoverEffects({ hover: effect }),26 className27 )}28 {...props}29 />30 )31 }32)33DatePickerInput.displayName = "DatePickerInput"34
What it pulls in
npm packages
Other registry items
Files it writes
More from crenspire/glass-ui
All 49 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | crenspire/glass-ui | Components | Free | 2 deps · 5 files | |
| Alertalert | crenspire/glass-ui | Components | Free | no deps · 5 files | |
| Alert Dialogalert-dialog | crenspire/glass-ui | Components | Free | 1 dep · 5 files | |
| Avataravatar | crenspire/glass-ui | Components | Free | 1 dep · 5 files | |
| Badgebadge | crenspire/glass-ui | Components | Free | no deps · 5 files | |
| Breadcrumbbreadcrumb | crenspire/glass-ui | Components | Free | 2 deps · 5 files | |
| Buttonbutton | crenspire/glass-ui | Components | Free | 1 dep · 5 files | |
| Button Groupbutton-group | crenspire/glass-ui | Components | Free | no deps · 5 files |
