amankaushik481

Due Date Chip

Component

About

A small inline chip that shows a task or invoice due date with a calendar icon, switching to a red/danger style when the date is overdue.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Due Date Chip to your project and fits it to your theme.

Code

How Due Date Chip is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { DueDateChip } from "@/components/ui/due-date-chip";

export default function DueDateChipDemo() {
  return (
    <div className="flex items-center gap-3 p-8">
      <DueDateChip date="Nov 30" />
      <DueDateChip date="Oct 2" overdue />
    </div>
  );
}

Dependencies

More by amankaushik481

View all
  • Chip Filter

    Chip Filter

    7
  • Icon Button

    Icon Button

    5
  • Background Boxes

    Background Boxes

    4
  • Emoji Picker

    Emoji Picker

    4
  • Morphing Text

    Morphing Text

    2
  • Typing Text

    Typing Text

    1
  • Treemap Chart

    Treemap Chart

    1
  • Particles

    Particles

    1