Time Input
A styled time selection input component wrapping a native <input type="time"> with DuskMoon theming and color support.
Installation
npm install @duskmoon-dev/el-time-input
Usage
import { register } from '@duskmoon-dev/el-time-input';
register();
<el-dm-time-input value="09:30" color="primary"></el-dm-time-input>
Live Demo
Default
Colors
Disabled
Properties
| Property | Type | Default | Description |
|---|---|---|---|
value | string | '' | Time value in HH:MM format |
disabled | boolean | false | Disable the input |
color | 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'error' | 'primary' | Color theme |