format project
This commit is contained in:
parent
7651afaa0b
commit
a6d4064af8
83 changed files with 942 additions and 536 deletions
|
|
@ -1,20 +1,24 @@
|
|||
### input
|
||||
|
||||
Text Input is a simple input field
|
||||
|
||||
[input docs](https://daisyui.com/components/input/)
|
||||
|
||||
#### Class names
|
||||
|
||||
- component: `input`
|
||||
- style: `input-ghost`
|
||||
- color: `input-neutral`, `input-primary`, `input-secondary`, `input-accent`, `input-info`, `input-success`, `input-warning`, `input-error`
|
||||
- size: `input-xs`, `input-sm`, `input-md`, `input-lg`, `input-xl`
|
||||
|
||||
#### Syntax
|
||||
|
||||
```html
|
||||
<input type="{type}" placeholder="Type here" class="input {MODIFIER}" />
|
||||
```
|
||||
|
||||
#### Rules
|
||||
|
||||
- {MODIFIER} is optional and can have one of each style/color/size class names
|
||||
- Can be used with any input field type (text, password, email, etc.)
|
||||
- Use `input` class for the parent when you have more than one element inside input
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue