jelly input

preview

usage

Set an optional pastel tint while retaining normal input attributes and ref forwarding.

import { JellyInput } from "@/components/jelly/jelly-input"

export function EmailField() {
  return <JellyInput color="blue" label="email" type="email" placeholder="hello@jelly.ui" />
}

setup notes

Requires React, TypeScript, Tailwind CSS, and the included cn helper. It forwards standard input attributes and refs.

props

proptypedefaultpurpose
color"pink" | "blue" | "green" | "yellow" | "orange" | "red" | "clear""clear"Sets the surface and focus tint.
labelstring-Renders a linked input label.
placeholderstring-Provides placeholder text.
typeHTMLInputTypeAttribute"text"Sets the native input type.