You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[2025-11-19][Add optional classNames to all components for developer convenience without adding classNames to zod schemas](https://github.com/RubricLab/fabric-ui/commit/b1f4809712893d5a03c39237890396a77ac894f8)
2
3
-[2025-11-12][Wrap codeblock commas and brackets. Patch toggle contrast.](https://github.com/RubricLab/ui/commit/9af47b64492a33f6467f19bc4c797696738a1bce)
Copy file name to clipboardExpand all lines: README.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,11 +19,11 @@ Peer requirements:
19
19
- react ^19.0.0
20
20
- react-dom ^19.0.0
21
21
22
-
Recommended: Tailwind CSS for styling (`tailwindcss`, `postcss`, `autoprefixer`).
22
+
Recommended: Tailwind CSS for styling (`tailwindcss` and `postcss`).
23
23
24
24
## Quickstart
25
25
26
-
1) Ensure Tailwind CSS is set up in your app (see Tailwind docs). Components render with utility classNames and look best with your Tailwind theme.
26
+
1) Ensure Tailwind CSS is set up in your app (see [Tailwind docs](https://tailwindcss.com/docs/installation/using-postcss)). Components render with utility `className`s and look best with your Tailwind theme.
27
27
28
28
2) Import components directly from the package:
29
29
@@ -34,9 +34,9 @@ export const Example = () => {
34
34
return (
35
35
<Container>
36
36
<Form>
37
-
<Inputplaceholder="Title" />
38
-
<Buttontype="submit"label="Save" />
39
-
</Form>
37
+
<Inputplaceholder="Title" />
38
+
<Buttontype="submit"label="Save" />
39
+
</Form>
40
40
</Container>
41
41
)
42
42
}
@@ -105,9 +105,13 @@ Required tokens/variables:
105
105
- muted-foreground → `--muted-foreground`
106
106
- rounded → `--radius`
107
107
108
-
Recommended setup with Tailwind v4 (`@theme inline`) in your global CSS:
108
+
Recommended setup with Tailwind v4 (`@theme inline`) in your `./globals.css`:
0 commit comments