Input

Displays a form input field or a component that looks like an input field.

PreviousNext

Installation

1

Run the CLI

Use the CLI to add the component to your project.

npx @ngzard/ui@latest add input

Examples

default

size

status

borderless

text area

API

[z-input] Directive

z-input is a Directive, it accepts all props which are supported by native input.

To get a customized input, just pass the following props to the directive.

Property Description Type Default
[zSize] input size default | sm | lg default
[zStatus] input status error | warning | success null
[zBorderless] input without border boolean false