mirror of
https://github.com/tabler/tabler.git
synced 2026-08-05 01:44:41 +04:00
Use shared Astro UI components across preview pages (#2724)
This commit is contained in:
@@ -4,6 +4,7 @@ summary: Use form helpers to provide additional information about a form element
|
||||
description: Provide additional guidance in forms.
|
||||
layout: '@shared/layouts/DocsMdxLayout.astro'
|
||||
---
|
||||
import FormHint from '@shared/components/ui/FormHint.astro';
|
||||
import Example from '@shared/components/docs/Example.astro';
|
||||
|
||||
## Input help
|
||||
@@ -46,7 +47,7 @@ Use a form hint to provide users with additional information about a form elemen
|
||||
Look at the example below to see how the form hint works:
|
||||
|
||||
<Example>
|
||||
<div> <label class="form-label">Email address</label> <input type="email" class="form-control" placeholder="Enter your email address" /> <div class="form-hint">We'll never share your email with anyone else.</div> </div>
|
||||
<div> <label class="form-label">Email address</label> <input type="email" class="form-control" placeholder="Enter your email address" /> <FormHint>We'll never share your email with anyone else.</FormHint> </div>
|
||||
</Example>
|
||||
|
||||
## Additional info inside label
|
||||
|
||||
Reference in New Issue
Block a user