x
1
2
3
4
5
6
7
8
<!-- Large Input -->
<input class="bg-neutral-secondary-medium border border-default-medium text-heading rounded-base focus:ring-brand focus:border-brand block w-full shadow-xs placeholder:text-body px-3.5 py-3 text-base" type="text" value="John" name="person[first_name]" id="person_first_name" />
<!-- Default Input -->
<input class="bg-neutral-secondary-medium border border-default-medium text-heading rounded-base focus:ring-brand focus:border-brand block w-full shadow-xs placeholder:text-body px-3 py-2.5 text-sm" type="text" value="John" name="person[first_name]" id="person_first_name" />
<!-- Small Input -->
<input class="bg-neutral-secondary-medium border border-default-medium text-heading rounded-base focus:ring-brand focus:border-brand block w-full shadow-xs placeholder:text-body px-2.5 py-2 text-sm" type="text" value="John" name="person[first_name]" id="person_first_name" />
1
2
3
4
5
6
7
8
# Large Input
render(Flowbite::Input.new(attribute: :first_name, form: form, size: :lg))
# Default Input
render(Flowbite::Input.new(attribute: :first_name, form: form, size: :default))
# Small Input
render(Flowbite::Input.new(attribute: :first_name, form: form, size: :sm))