Castle logo

CASTLE UI

search

Search

K
group_work

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'
content_copy

Copy

Basic Field

content_copy

Copy

live example

Invalid

content_copy

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'
content_copy

Copy

content_copy

Copy

live example

Form Controls

Wrapper component to list FormControls

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

Copy

content_copy

Copy

live example

Required Label

content_copy

Copy

live example

Contents