Skip to content

Instantly share code, notes, and snippets.

View i701's full-sized avatar
๐Ÿ˜
Hi

Abdulla Aidhaan i701

๐Ÿ˜
Hi
  • Secretariate of the Maaungoodhoo Council North Miladhunmadulu
  • Maldives
  • 13:42 (UTC +05:00)
  • X @__i701
View GitHub Profile
@maxgfr
maxgfr / calendar.tsx
Last active June 6, 2025 09:55
Shadcn Calendar UI Picker with months selections
"use client";
import * as React from "react";
import { ChevronLeft, ChevronRight } from "lucide-react";
import { DayPicker } from "react-day-picker";
import { format } from "date-fns";
import { cn } from "~/lib/utils";
import { buttonVariants } from "~/components/ui/button";
import { fr } from "date-fns/locale";
@nimone
nimone / Sidebar.jsx
Created June 29, 2023 09:33
Retractable Sidebar Component purely in ReactJS and TailwindCSS
import { MoreVertical, ChevronLast, ChevronFirst } from "lucide-react"
import { useContext, createContext, useState } from "react"
const SidebarContext = createContext()
export default function Sidebar({ children }) {
const [expanded, setExpanded] = useState(true)
return (
<aside className="h-screen">