A text field component for your forms.
Prop | Type | Default | Responsive |
---|---|---|---|
size | smallmedium | medium | No |
label | string | - | No |
description | string | - | No |
name | string | - | No |
className | string | - | No |
style | CSSProperties | - | No |
We support two different sizes: small
, medium
.
Description
Description
<Flex direction="row" gap="4">
<TextField size="small" placeholder="Small" />
<TextField size="medium" placeholder="Medium" />
</Flex>
Here's a simple TextField with a description.
Description
<TextField label="Label" description="Description" placeholder="Enter a URL" />