Back to packages list

Vals using react-dom

Description from the NPM package:
React package for working with the DOM.
nicosql avatar
nicosql
ssr_react_mini
Script
Forked from stevekrouse/ssr_react_mini
0
aaronvg avatar
aaronvg
rottenMoccasinHamster
HTTP
@jsxImportSource npm:react
0
hugenshen avatar
hugenshen
httpHelloWorld
HTTP
// This approach creates a PC application with a left-side menu structure as requested.
0
ejfox avatar
ejfox
dbpediaenhanced
HTTP
Forked from ejfox/dbpedia
0
ganeshkumartk avatar
ganeshkumartk
AIDateInput
HTTP
AI Date Input AI Date Input is a smart date detection React component. It uses natural language processing to interpret various date and time inputs, providing a seamless user experience for date entry. Features Real-time date and time detection as you type Supports a wide range of date and time formats Displays detected date in a formatted output Shows both the parsed date and the original input text Clean, minimalist UI with a clear input field One-click clear functionality How It Works The AI Date Input uses the chrono-node library to parse natural language date and time expressions. As the user types, the input is continuously analyzed, and when a valid date or time is detected, it's displayed below the input field. The detected date is shown in two formats: A formatted date and time (e.g., "09/09/2024 02:27 PM") The original text that was interpreted as a date (e.g., "5 days from now") Usage To use this component in Val Town: Create a new val or edit an existing one Copy and paste the entire code into the val Save the val Access the val's URL to see the AI Date Input in action Customization You can customize the appearance and behavior of the AI Date Input: Modify the Tailwind CSS classes in the HTML to change the styling Adjust the date formatting in the formatDate function Change the parsing behavior by modifying the detectDate function Dependencies React 18 chrono-node (for date parsing) Tailwind CSS (for styling) Technical Details The component uses server-side rendering for the initial HTML Client-side JavaScript handles the interactive features Date parsing is done in real-time on the client-side Contributing To contribute to this project: Fork the val in Val Town Make your changes Test thoroughly Submit a pull request or share your modified version License This project is open-source and available under the MIT License. ©️ Ganesh Kumar 2024
1
avboy72 avatar
avboy72
policybuilder
HTTP
@jsxImportSource npm:react
0
stevekrouse avatar
stevekrouse
caniuse_notifier
Cron
Forked from gunnnnii/caniuse_notifier
0
lisardo avatar
lisardo
ReactStream
Script
Forked from jxnblk/ReactStream
0
cingozilyas avatar
cingozilyas
BuyukInsan
HTTP
@jsxImportSource npm:react
0
jxnblk avatar
jxnblk
avatar
HTTP
Jxnblk's SVG avatar React import { Avatar } from "https://esm.town/v/jxnblk/avatar"; Props <Avatar size={96} color="tomato" reverse={true} /> SVG import { svg } from "https://esm.town/v/jxnblk/avatar"; img <img src="https://jxnblk-avatar.web.val.run" alt="Jxnblk" /> img params https://jxnblk-avatar.web.val.run?size=96&color=tomato&reverse=true md ![Jxnblk](https://jxnblk-avatar.web.val.run)
1
gunnnnii avatar
gunnnnii
caniuse_notifier
Cron
@jsxImportSource npm:react
1
kortina avatar
kortina
shotclip
HTTP
Forked from kousun12/shotclip
0
justinenerio avatar
justinenerio
grayMinnow
HTTP
@jsxImportSource npm:react
0
jxnblk avatar
jxnblk
ReactStream
Script
Forked from jxnblk/resrvStreaming
3
hbcoop avatar
hbcoop
linkInBioTemplate
HTTP
Forked from stevekrouse/linkInBioTemplate
0
kousun12 avatar
kousun12
shotclip
HTTP
SHOTCLIP Demo of embedding images with substrate , and querying them for semantic relevance. Use the query parameter prompt to control the search.
0