py_ets

React Aria DateField

Component

About

React Aria DateField component with the original source demo.

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

Code

How React Aria DateField is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";
import {ThemeProvider as LibraryDemoThemeProvider} from "next-themes";
import {DateField} from "@/components/ui/aria-tailwind-datefield";
function SourceSpecimen(){return <>
<DateField label="Date" />
</>}
export default function LibraryRegistryPreview(){return <LibraryDemoThemeProvider defaultTheme="dark" enableSystem={false}><div data-component-demo data-demo-theme="dark" data-theme="dark" className="dark" style={{background:"var(--background)",color:"var(--foreground)"}}><div className="relative w-full min-w-0 max-w-5xl min-h-[400px] flex items-center justify-center"><SourceSpecimen/></div></div></LibraryDemoThemeProvider>}

Dependencies

More by py_ets

View all
  • Alert Dialog

    Alert Dialog

    9
  • React Aria CheckboxGroup

    React Aria CheckboxGroup

    7
  • Command Palette

    Command Palette

    6
  • React Aria DatePicker

    React Aria DatePicker

    5
  • React Aria Tree

    React Aria Tree

    4
  • Progress Bar

    Progress Bar

    4
  • React Aria Switch

    React Aria Switch

    3
  • React Aria ColorArea

    React Aria ColorArea

    2