Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/driaug/datepicker
- Owner: driaug
- License: unlicense
- Created: 2023-08-08T17:43:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-06T12:43:02.000Z (5 months ago)
- Last Synced: 2024-10-11T10:51:16.105Z (26 days ago)
- Topics: framermotion, react, tailwind, typescript
- Homepage: https://datepicker.driaug.com
- Size: 104 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 |