InputIcon
Loading example…
InputIcon is part of the Forms set, imported from @jcsoftdev/ui/forms.
Import
Section titled “Import”import { InputIcon } from "@jcsoftdev/ui/forms";Single-component entry points tree-shake to just this component: @jcsoftdev/ui/forms/input-icon.
<InputIcon icon={<Search />} placeholder="Buscar cliente o servicio" aria-label="Buscar"/>| Prop | Type | Default | Description |
|---|---|---|---|
icon * |
ReactNode |
Leading icon element (e.g. a lucide-react icon). |
* marks a required prop.
It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).
Storybook stories
Section titled “Storybook stories”Source
Section titled “Source”packages/ui/src/forms/input-icon/input-icon.tsx