Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mantine/dates

Package Overview
Dependencies
Maintainers
1
Versions
328
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mantine/dates

Calendars, date and time pickers based on Mantine components

  • 3.3.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
245K
increased by6.71%
Maintainers
1
Weekly downloads
 
Created

What is @mantine/dates?

@mantine/dates is a part of the Mantine library, which provides a set of React components and hooks for building modern web applications. The @mantine/dates package specifically focuses on date and time-related components, offering a variety of tools to handle date picking, time picking, and calendar functionalities.

What are @mantine/dates's main functionalities?

DatePicker

The DatePicker component allows users to select a date from a calendar popup. It can be customized with various props to fit different use cases.

import { DatePicker } from '@mantine/dates';

function Demo() {
  return <DatePicker placeholder="Pick a date" label="Event date" />;
}

TimeInput

The TimeInput component provides a way for users to input a time value. It supports various formats and can be customized to match the application's design.

import { TimeInput } from '@mantine/dates';

function Demo() {
  return <TimeInput label="Event time" defaultValue={new Date()} />;
}

Calendar

The Calendar component displays a full calendar view, allowing users to navigate through months and select dates. It can be used for more complex date-related functionalities.

import { Calendar } from '@mantine/dates';

function Demo() {
  return <Calendar />;
}

DateRangePicker

The DateRangePicker component enables users to select a range of dates. This is useful for applications that require start and end date selections, such as booking systems.

import { DateRangePicker } from '@mantine/dates';

function Demo() {
  return <DateRangePicker label="Select date range" placeholder="Pick dates" />;
}

Other packages similar to @mantine/dates

FAQs

Package last updated on 04 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc