{
  "id": 14080404,
  "title": "shadcn's date picker lists presets, but its visible code has none",
  "url": "https://urgent.news/2026/10/13/shadcns-date-picker-lists-presets-but-its-visible-code-has-none",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-13T00:50:32.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/davekurian/shadcns-date-picker-lists-presets-but-its-visible-code-has-none-2e0n"
  },
  "original_language": "en",
  "account": null,
  "summary": "The article discusses the shadcn/ui date picker, which lists range and presets as its features. However, the visible code does not include any presets, and the article aims to fill this gap by providing a code example for a range picker with presets. The article covers the range picker feature shown on the shadcn/ui page and adds the presets in code, explaining which variant to use for each form. It also includes a brief overview of the other variants offered by the date picker component.",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}