MVP Verson: 0.4.8 beta
Lang Icon
Toggle Icon
Date
Display a current date.
Default
PreviewCode
2025/08/29
Color
PreviewCode
08-29-2025 周五 02:16:23
International
PreviewCode
08-29-2025 Friday 02:16:23 AM
Props
Universal Props
PropTypeAccepted ValuesDescriptionDefault
typestringline(YY-MM-DD)   full(YY/MM/DD Week HMS)   full-line(YY-MM-DD Week HMS)   year-week(YY/MM/DD Week)   year-week-line(YY-MM-DD Week)   week-time(Week HMS)   no-s(YY/MM/DD Week HM)   no-s-line(YY-MM-DD Week HM)   us-full(MM/DD/YY Week HMS)   us-full-line(MM/DD/YY Week HMS)10 preset styles are provided by default, and more styles can be customized through the 'sx' attribute.-
sxobjectobjectInline styles for customizing the Date component. Note: When using the 'style' prop, the same CSS properties will override the 'sx' prop.{}
singlebooleanboolean'Day of the week' can be changed to 'week' display.false
enbooleanbooleanSwitch English.false