Castle logo

CASTLE UI

Search

K

Castle UI provides visual components to help you build forms in an extensible way.

Usage

Import

import {
FormControl,
FormLabel,
FormHint,
FormError,
Input,
} from '@passfort/castle'

Copy

Basic Field

Copy

live example

Invalid

Copy

live example

Input Group


Useful for connecting two inputs together. Use the flex property to adjust the sizes of different inputs.

import { InputGroup } from '@passfort/castle'

Copy

Copy

live example

Form Controls

Wrapper component to list FormControls

import { FormControl, FormControls } from '@passfort/castle'

Copy

Copy

live example

Required Label

Copy

live example

Contents