look
'none' draws the structure only — every colour, border, shadow and type is yours.
| Type | 'styled' | 'none' |
|---|---|
| Default | 'styled' |
Live update (update()) | Yes |
| Declared in | packages/dom/src/calendar.ts |
What it does
Section titled “What it does”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.
Example
Section titled “Example”import { createCalendar } from '@dzcalendar/dom';
createCalendar(element, { timeZone: 'Europe/Paris', look: 'none' });import { Component } from '@angular/core';import { DZ_CALENDAR } from '@dzcalendar/angular';
@Component({ selector: 'app-agenda', imports: [DZ_CALENDAR], template: `<dz-calendar timeZone="Europe/Paris" [options]="{ look: 'none' }" />`,})export class Agenda {}import { DzCalendar } from '@dzcalendar/react';
export function Agenda() { return <DzCalendar timeZone="Europe/Paris" look="none" />;}<script setup lang="ts">import { DzCalendar } from '@dzcalendar/vue';</script>
<template> <DzCalendar time-zone="Europe/Paris" :options="{ look: 'none' }" /></template>In Angular and Vue it goes in options; in React it is a prop.