Skip to content
Cynco UI

Components · Inputs

Input

The single-line text input: 28px, interactive-secondary fill, input border.

import { Input } from "@cynco-labs/ui";

Example

Use

Every text field. Use variant="destructive" for validation errors, headless inside composite fields.

Props

Native input props, variant.

Notes

Built on the form layers: input-base + input-shadow-default + input-state-focus (see Forms). Focus darkens the border and adds a soft 3px ring, never a coloured outline.

Source Demo source Markdown