Avara UI

Calendar Dashboard

A comprehensive, interactive calendar dashboard and date-picker system. Includes built-in event management, filtering, dynamic views (Month/Week/Day), and animated popover modals.
CalendarDashboard is fully encapsulated — modals, event editing, filtering and exporting are all handled internally, so the only thing you pass in is the seed data and the look.

Calendar dashboard

Everything past the initial events is internal state.

SeedmockEvents
with a map of "YYYY-M-D" to an array of event types ("pentest", "kickoff"). Note the un-padded month and day.
color
themes the active states, primary buttons and focus rings — a named key or a hex string.

Installation

New project? Follow the installation guide to set up Tailwind CSS, shadcn, the cn helper and lucide-react, register the @algorize-ui registry once, then copy your styles from the Themes page.

Install Calendar

npx shadcn@latest add @algorize-ui/calendar

components/custom/blocks/Calendar.tsx is written into your project. Copy any snippet from a Usage tab above and it runs.

Install dependencies

Step 1 installs these for you. Run them yourself only if you are adding Calendar to an existing project by hand. The cn helper and lucide-react are not listed — the installation guide covers them once for every component. @radix-ui/react-slot comes in with the components above rather than from Calendar directly.

select and ui-button are components, not packages — the shadcn CLI installs them as source files.

npx shadcn@latest add @algorize-ui/select @algorize-ui/ui-button

@radix-ui/react-slot, class-variance-authority and react-day-picker are npm packages.

npm install @radix-ui/react-slot class-variance-authority react-day-picker

Examples

Minimal

Setvariant"minimal"
to drop the card chrome so the dashboard sits flush in your own layout.

Glass

Setvariant"glass"
to go translucent — intended to sit on a coloured or photographic surface.

Liquid Glass

Setvariant"liquid-glass"
for an authentic physical fluid glass distortion effect with layered refraction filters and specular bevels.

Features

Discover the Calendar's date selection capabilities, supporting single dates, date ranges, and localization.

Customizable

Easily adapt the component's styling and behavior to fit your application's unique design system.

Accessible

Built with accessibility in mind, ensuring all users can interact with your application effectively.

Responsive

Fully responsive design that looks and works great across desktop, tablet, and mobile devices.

Performant

Optimized for maximum performance with minimal re-renders and efficient state management.

Best Practices & Guidelines

Usage Guidelines

Follow standard design principles when implementing this component. Ensure proper contrast, spacing, and context within your layout.

Props Reference

PropTypeDefaultDescription
mockEventsRecord<string, string[]>{}
A dictionary mapping string dates ("YYYY-M-D") to an array of event types ("pentest" or "kickoff" ).
variant"default" | "minimal" | "glass" | "liquid-glass""default"
Applies overarching structural layouts, including borders, padding, and grid-gaps.
color"primary" | "indigo" | "rose" | "emerald" | "blue" | "zinc" | string"primary"
Applies global color themes to active states, primary buttons, and focus rings. Accepts valid hex codes.