@hanzo/ui

Input Group

import { InputGroup } from '@hanzo/ui'

No examples yet.

Types

export type InputGroupProps = Omit<ComponentProps<typeof XStack>, 'children' | 'start' | 'end' | 'size'> & {
  /** Before the field: an icon, a unit, a picker trigger. */
  start?: ReactNode
  /** After the field: a clear button, actions, a unit. */
  end?: ReactNode
  /** The box (control.ts `BOX`). Unset, the nearest `<Density>` decides. */
  size?: FieldSize
  /** On the raised ground instead of a bare edge (control.ts `FILL`). */
  fill?: boolean
  children?: ReactNode
}

Exports

InputGrouptype InputGroupProps