Skip to content

look

'none' draws the structure only — every colour, border, shadow and type is yours.

Type'styled' | 'none'
Default'styled'
Live update (update())Yes
Declared inpackages/dom/src/calendar.ts

With 'styled' (the default) the calendar wears its theme. With 'none' it keeps only what makes it work — the grids, the positions, the sizes — and draws no colour, border, shadow or font of its own. What is drawn only by colour is then yours too: the focus ring of the keyboard’s cursor, the now line, today, the grid’s lines. Style its classes (.dz-ev, .dz-dg__cell, .dz-toolbar__btn…) with Tailwind or your design system. Class names and structure are stable for that.

import { createCalendar } from '@dzcalendar/dom';
createCalendar(element, { timeZone: 'Europe/Paris', look: 'none' });

In Angular and Vue it goes in options; in React it is a prop.