Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 821 Bytes

Field.mdx

File metadata and controls

35 lines (27 loc) · 821 Bytes

Field

The Field component provides a convenient way to add a label to an Input component.

import {Field, Input} from 'pipeline-ui'

Usage Example

<Field label="Note">
    <Input type="text" required={true} placeholder="your note goes here" />
</Field>

Props

import { Table } from 'pipeline-ui';

Prop Type Default Description
childrenelement (required)
labelstring (required)



Field uses COMMON, LAYOUT, POSITION, FLEXBOX, BORDERS groups of Styled System props.