Input

Gives an input field or a component a distinct look that indicates its input capabilities

Installation

npx nx g @spartan-ng/cli:ui input

Usage

import { HlmInput } from '@spartan-ng/helm/input';
<input hlmInput/>

Helm API

HlmInputError

Selector: [hlmInputError]

Inputs

PropTypeDefaultDescription
class ClassValue --

HlmInput

Selector: [hlmInput]

Inputs

PropTypeDefaultDescription
error InputVariants['error'] auto -
class ClassValue --

Examples

File

Disabled

With Label

With Button

Input OTP Icon