Behive Tech Registry

Text Field

v0.3.0

A bare text input — the native `<input>` is this component's own root element. It has no built-in label/hint/error; wrap it in `FormField` for that chrome. Works standalone too — not every input needs the full form suite.

pnpm add @behivetech/atoms.text-field

Edit the code and the preview updates as you type. Every registry export is in scope — TextField from this package, plus React hooks and every other component in the registry.

Playground
const BasicTextField = () => {
  const [value, setValue] = useState("");
  return (
    <TextField
      value={value}
      onChange={(e) => setValue(e.target.value)}
      placeholder="Type here…"
    />
  );
};

render(<BasicTextField />);