Skip to content

A text field styled consistently with the design system.

[atlasInput]

Examples

Basic

Apply atlasInput to a native input . Pair it with a label.

Types and states

Every native type works; disabled and readonly are styled.

Validation in a form field

Inside atlas-form-field , atlasInput gets its id, its description (hint or error) and its invalid state from the field: the border turns red and aria-invalid is set. The error shows once the field is touched.

Starts with https://

API

Generated from the library source, so it always matches the code.

AtlasInputDirective [atlasInput]

InputTypeDefaultDescription
class string'' Extra CSS classes, merged with the component's own through cn() ; yours win on conflicts.