PyBlade/ui
Menu⌄
DocsComponentsInput

Input

A text field.

1 file

Installation

pyblade-ui add input

Usage

The tag <pb-ui.input> is available in all your templates.

<pb-ui.input name="email" type="email" placeholder="Email" />

Examples

With a label

With a button

Disabled

Props

PropDefault
type'text'

Any other attribute (class, id, x-on:click, hx-post…) is passed to the root element; your Tailwind classes win over the component's.