ComponentsInputs & forms
Lit Fields
A sign-up form whose field borders brighten with water-blue light where the pointer is.
"use client";
import { LitFields } from "@/components/miyuki-ui/lit-fields";
export default function LitFieldsDemo() {
return (
<LitFields
title="Create your Shirakaba account"
description="Forecasts for the 38 resorts you follow."
onSubmit={(values) => new Promise((resolve) => setTimeout(resolve, 900, values))}
/>
);
}Install
npx shadcn@latest add @miyuki-ui/lit-fieldsThis needs the @miyuki-ui registry in your components.json. See Using the shadcn CLI.
Props
LitFields
Prop
Type
GlowInput
Prop
Type