Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/driaug/datepicker

Minimalistic datepicker component for React, built with Tailwind, Framer Motion & Typescript.
https://github.com/driaug/datepicker

framermotion react tailwind typescript

Last synced: 10 days ago
JSON representation

Minimalistic datepicker component for React, built with Tailwind, Framer Motion & Typescript.

Awesome Lists containing this project

README

        

# Datepicker Component
A minimalistic datepicker for React. Built with Tailwind & Framer Motion

![Alt text](./assets/image.png)

## Basic Usage
- Copy the [component](./demo/src/components/Datepicker.tsx) to your own project
- Install dependencies: `yarn add framer-motion lucide-react`

```tsx
console.log(date)} />

```

## Parameters
| Parameter | Type | Use |
|-----------|------------------|-----------------------------------------------------|
| onChange | `(date => void;` | Function that will trigger when the date is changed |