byronwade/ui
Application UI

Forms · Application UI

Input Group

Grouped input shell with aligned addons, buttons, and embedded controls.

@byronwade/foundation@byronwade/utils@byronwade/button@byronwade/input@byronwade/textareaclass-variance-authority

Feature showcase

Installation

Features

  • 6 examples

    Default, With Button, With Text, Textarea, With Kbd, Validation.

API

Props

PropTypeDefaultDescription
align"inline-start" | "inline-end" | "block-start" | "block-end""inline-start"InputGroupAddon: where the addon sits within the group.
size"xs" | "sm" | "icon-xs" | "icon-sm""xs"InputGroupButton: size of an embedded button.
classNamestring-Classes merged onto the group shell.

Dependencies

PackageKindDescription
@byronwade/foundationregistryInstalled through the byronwade/ui registry.
@byronwade/utilsregistryInstalled through the byronwade/ui registry.
@byronwade/buttonregistryInstalled through the byronwade/ui registry.
@byronwade/inputregistryInstalled through the byronwade/ui registry.
@byronwade/textarearegistryInstalled through the byronwade/ui registry.
class-variance-authoritynpmInstalled from npm.

Source and related

FilePath
Componentregistry/ui/input-group.tsx
Default examplecontent/examples/input-group/default.tsx
With Button examplecontent/examples/input-group/with-button.tsx
With Text examplecontent/examples/input-group/with-text.tsx
Textarea examplecontent/examples/input-group/textarea.tsx
With Kbd examplecontent/examples/input-group/with-kbd.tsx
Validation examplecontent/examples/input-group/validation.tsx