1
0
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:
Paweł Kuna
2026-07-30 13:53:33 +02:00
committed by GitHub
parent bc24b3ada8
commit 4ea449df1b
390 changed files with 3190 additions and 3127 deletions
+2 -1
View File
@@ -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