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_copyCopy
Basic Field
content_copyCopy
live example
Invalid
content_copyCopy
live example
Input Group
Deprecated
The InputGroup component is deprecated and will be removed in future releases.
Please use Connected instead.
Useful for connecting two inputs together. Use the flex
property to adjust the sizes of different inputs.
import { InputGroup } from '@passfort/castle'content_copyCopy
content_copyCopy
live example
Form Controls
Wrapper component to list FormControls
import { FormControl, FormControls } from '@passfort/castle'content_copyCopy
content_copyCopy
live example
Required Label
content_copyCopy
live example