@@ -118,7 +118,7 @@ Use this example of footer styled with Tailwind CSS if you want to include your
```
-
+
---
@@ -126,7 +126,7 @@ Use this example of footer styled with Tailwind CSS if you want to include your
Use this footer example if you are looking for a more complex and information-rich layout. It utilizes a grid system for organization and offers a variety of links and resources. It also includes social media icons that are styled to blend with the footer's design.
-
```
-
+
---
@@ -420,7 +420,7 @@ Use this footer example if you are looking for a more complex and information-ri
This footer example showcases a comprehensive and structured approach to organizing footer content across a wide website or platform. It makes use of a grid layout to distribute information into distinct sections, enhancing readability and navigation for the user.
-
```
-
+
---
diff --git a/apps/site/src/app/docs/content/html/gallery.mdx b/apps/site/src/app/docs/content/html/gallery.mdx
index 4da102b29..766ce4461 100644
--- a/apps/site/src/app/docs/content/html/gallery.mdx
+++ b/apps/site/src/app/docs/content/html/gallery.mdx
@@ -24,7 +24,7 @@ Use this example if you are looking for a clean, straightforward presentation of
All images are styled to have the same width and height, creating a uniform look across the gallery. The `object-cover` CSS class ensures that images fill their designated space without distorting their aspect ratios, cropping as necessary.
-
```
-
+
---
@@ -100,7 +100,7 @@ All images are styled to have the same width and height, creating a uniform look
Use this example of responsive image gallery component if you want to add an additional layer of complexity by embedding grids within grids.
-
@@ -202,7 +202,7 @@ The nested grid approach adds a layer of visual hierarchy, making the gallery mo
This example showcases one large featured image followed by a row of smaller thumbnail images. This design structure is common in product galleries, portfolios, and anywhere a featured image alongside selectable alternatives is wanted.
-
```
-
+
---
@@ -259,7 +259,7 @@ This example showcases one large featured image followed by a row of smaller thu
Use this example of image gallery component styled with Tailwind CSS to display images in a horizontal scrollable format on smaller screens, and in a more expanded layout on larger screens.
-
@@ -308,7 +308,7 @@ Each image is wrapped in its own `div` and styled with classes to ensure they ar
Use this example of gallery component if you want to allow users to switch between different sets of images by clicking on tabs labeled "App", "Messages", and "Settings". The tabbed interface is perfect for applications where categorizing images into groups is necessary.
-
```
-
+
diff --git a/apps/site/src/app/docs/content/html/icon-button.mdx b/apps/site/src/app/docs/content/html/icon-button.mdx
index 0061f031a..a8b25b3ed 100644
--- a/apps/site/src/app/docs/content/html/icon-button.mdx
+++ b/apps/site/src/app/docs/content/html/icon-button.mdx
@@ -20,7 +20,7 @@ Below we showcased examples of icon buttons that you can use for your project. F
Here's how to implement a simple and responsive icon button component. It can be used for the action of favoriting, liking or rating content, given its star icon.
-
}>
+
}>
```html
```
-
+
---
@@ -98,7 +98,7 @@ Here's how to implement a simple and responsive icon button component. It can be
Check out how to implement different visual styles and interaction states for your icon button using a combination of utility classes.
-
}>
+
}>
```html
@@ -371,7 +371,7 @@ Check out how to implement different visual styles and interaction states for yo
```
-
+
---
@@ -379,7 +379,7 @@ Check out how to implement different visual styles and interaction states for yo
Use this example to create icon buttons in different sizes like small, medium, and large.
-
}>
+
}>
```html
@@ -585,7 +585,7 @@ Use this example to create icon buttons in different sizes like small, medium, a
```
-
+
---
@@ -593,7 +593,7 @@ Use this example to create icon buttons in different sizes like small, medium, a
Use this example to create icon buttons in different colors like primary, secondary, info, success, warning, and error, each color can be used to represent a different action.
-
}>
+
}>
```html
@@ -1000,7 +1000,7 @@ Use this example to create icon buttons in different colors like primary, second
```
-
+
---
@@ -1008,7 +1008,7 @@ Use this example to create icon buttons in different colors like primary, second
Use this example to create a rounded icon button element for your Tailwind CSS project. The circular shape is achieved through the `rounded-full` class.
-
}>
+
}>
```html
@@ -1281,7 +1281,7 @@ Use this example to create a rounded icon button element for your Tailwind CSS p
```
-
+
---
@@ -1289,7 +1289,7 @@ Use this example to create a rounded icon button element for your Tailwind CSS p
Use this example to create icon buttons with link element. These buttons are designed to provide users with clickable elements that also serve as links, integrating functionality with navigation within a webpage.
-
}>
+
}>
```html
```
-
+
---
@@ -1584,7 +1584,7 @@ Implement social media buttons with our icon button component example.
In the example below, each button represents a different social media platform through the icons and distinct background colors associated with each platform.
-
}>
+
}>
```html
@@ -1670,7 +1670,7 @@ In the example below, each button represents a different social media platform t
```
-
+
---
diff --git a/apps/site/src/app/docs/content/html/image.mdx b/apps/site/src/app/docs/content/html/image.mdx
index 0fb95d7b0..df4e6b882 100644
--- a/apps/site/src/app/docs/content/html/image.mdx
+++ b/apps/site/src/app/docs/content/html/image.mdx
@@ -20,7 +20,7 @@ See below our examples of image UI components.
This example displays a simple image within a scrollable, centered grid layout. The responsive design classes ensure that the layout adapts to different screen sizes, enhancing the user experience across devices.
-
}>
+
}>
```html
```
-
+
---
@@ -36,7 +36,7 @@ This example displays a simple image within a scrollable, centered grid layout.
Check this example to see how you can implement rounded corners for your images.
-
}>
+
}>
```html
```
-
+
---
@@ -52,7 +52,7 @@ Check this example to see how you can implement rounded corners for your images.
Use `rounded-full` class to round the corners of the image into a circle. This effect will be most noticeable if the image is square; otherwise, the image will look elliptical.
-
}>
+
}>
```html
```
-
+
---
@@ -68,7 +68,7 @@ Use `rounded-full` class to round the corners of the image into a circle. This e
In this example, the `shadow-xl shadow-black/25` classes add a large shadow effect with a black color and opacity (25%). This creates a sense of depth and improves the image visually from its background, making it stand out more prominently.
-
}>
+
}>
```html
```
-
+
---
@@ -84,7 +84,7 @@ In this example, the `shadow-xl shadow-black/25` classes add a large shadow effe
Use this example if you want to include a caption below the image. Adding images with captions enriches the content and provides visual breaks in the text.
-
}>
+
}>
```html
```
-
+
---
@@ -105,7 +105,7 @@ Use this example if you want to include a caption below the image. Adding images
In the example below, the styling includes a semi-transparent white background with a blur effect (`backdrop-blur-md`), making the text readable regardless of the image behind it. The border, padding, and shadow improve visibility and aesthetic appeal.
-
}>
+
}>
```html
```
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/apps/site/src/app/docs/content/html/input.mdx b/apps/site/src/app/docs/content/html/input.mdx
index b7569a4b9..5c84951cf 100644
--- a/apps/site/src/app/docs/content/html/input.mdx
+++ b/apps/site/src/app/docs/content/html/input.mdx
@@ -22,7 +22,7 @@ See below Material Tailwind's input component examples.
Use our input example to get started easily. It is perfect for forms requiring text input, such as user registration, login forms, or any form where users need to input a username.
-
}>
+
}>
```html
```
-
+
---
@@ -38,7 +38,7 @@ Use our input example to get started easily. It is perfect for forms requiring t
Check out this code snippet to see how you can implement inputs with different sizes. The first input has a height of 28 pixels, the second input has a height of 36 pixels, and the third input has a height of 46 pixels.
-
}>
+
}>
```html
```
-
+
---
@@ -66,7 +66,7 @@ Check out this code snippet to see how you can implement inputs with different s
The 6 examples of input components showcased below are HTML snippets styled with Tailwind CSS, each designed to highlight a different focus color theme: Primary, Secondary, Info, Success, Warning and Error. They share a common structure and styling with slight variations in color to differentiate them.
-
}>
+
}>
```html
```
-
+
---
@@ -109,7 +109,7 @@ The 6 examples of input components showcased below are HTML snippets styled with
These input examples styled with Tailwind CSS are structured to visually communicate feedback to the user through color-coded cues. Each example represents different states or feedback contexts for user interaction: an error state (red-themed - `border-red-500`, `text-red-500`) and a success state (green-themed - `border-green-500`, `text-green-500`).
-
}>
+
}>
```html
@@ -134,7 +134,7 @@ These input examples styled with Tailwind CSS are structured to visually communi
```
-
+
---
@@ -142,7 +142,7 @@ These input examples styled with Tailwind CSS are structured to visually communi
Use this example of input with icon element if you want to add a friendly touch and make it more interactive.
-
}>
+
}>
```html
@@ -211,13 +211,13 @@ Use this example of input with icon element if you want to add a friendly touch
```
-
+
---
## Input with Label
-
}>
+
}>
```html
```
-
+
---
@@ -242,7 +242,7 @@ Use this example of input with icon element if you want to add a friendly touch
Use this example of password input field designed with a focus on security and user guidance. It is styled using Tailwind CSS and includes an accompanying label and a hint message with an icon, aimed at enhancing user experience by providing clear instructions for creating a strong password.
-
}>
+
}>
```html
```
-
+
---
@@ -295,7 +295,7 @@ Use this example of password input field designed with a focus on security and u
Use the example below for an input containing a button inside. It is useful for forms where users can enter an email address and then take an action, such as inviting a user to a platform or sending a notification.
-
}>
+
}>
```html
```
-
+
---
## Input with Dropdown
-
}>
+
}>
```html
```
-
+
---
@@ -354,7 +354,7 @@ Use the example below for an input containing a button inside. It is useful for
Use this example if you want to clearly indicate to users that the input field is currently not interactive, employing visual cues and styling to convey its disabled state.
-
}>
+
}>
```html
The input is explicitly marked as disabled (`disabled attribute`), which prevents user interaction. The styling reflects this state by altering the border and background color (`disabled:border-0 disabled:bg-blue-gray-50`), making it visually distinct from active input fields. This design choice helps users recognize that the input is not currently available for interaction.
@@ -379,7 +379,7 @@ The input is explicitly marked as disabled (`disabled attribute`), which prevent
Check out this example to learn how you can implement custom styles for your input components with Material Tailwind.
- }>
+ }>
```html
```
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/apps/site/src/app/docs/content/html/list.mdx b/apps/site/src/app/docs/content/html/list.mdx
index a8cba9bd4..8b634646f 100644
--- a/apps/site/src/app/docs/content/html/list.mdx
+++ b/apps/site/src/app/docs/content/html/list.mdx
@@ -20,7 +20,7 @@ Copy-paste the following Tailwind CSS and HTML snippet code examples and you can
Check out this example if you are looking for a simple and responsive list component to integrate into your project. You can customize it as you want.
-
```
-
+
---
@@ -42,7 +42,7 @@ Check out this example if you are looking for a simple and responsive list compo
Use this example of a list with action buttons (icons). It is a more interactive variant of a list, where each item not only serves as an interactive element navigation or selection) but also includes a button for performing specific actions, such as deletion, editing, or more, indicated by the SVG icon within each button.
-
```
-
+
---
@@ -133,7 +133,7 @@ Use this example of a list with action buttons (icons). It is a more interactive
Use this beautiful list example that includes profile images alongside text descriptions. It is designed to showcase a team or group of individuals for a contact list, team page, or a similar context.
-
```
-
+
---
@@ -197,7 +197,7 @@ Use this beautiful list example that includes profile images alongside text desc
This example adds notification badges to each list item, indicating the number of items or messages within each category ("Inbox", "Spam", "Trash"). These badges provide a visual cue to users about the status or content volume associated with each section.
-
```
-
+
---
@@ -304,7 +304,7 @@ This example adds notification badges to each list item, indicating the number o
In this example, the initial state of the first item ("Inbox") differs slightly from the others; it has a semi-transparent background (`bg-blue-gray-50/50`) that distinguishes it from the rest, indicating a selected or default state.
-
```
-
+
---
@@ -326,7 +326,7 @@ In this example, the initial state of the first item ("Inbox") differs slightly
Use this example to implement a list of UI components where one of the items is styled to appear disabled.
-
```
-
+
---
@@ -348,7 +348,7 @@ Use this example to implement a list of UI components where one of the items is
This component example includes `
` anchor tags wrapping around each
Check out this example to see how you can add custom styles to your Material Tailwind list component.
- }>
+ }>
```html
@@ -477,4 +477,4 @@ Check out this example to see how you can add custom styles to your Material Tai
```
-
+
diff --git a/apps/site/src/app/docs/content/html/navbar.mdx b/apps/site/src/app/docs/content/html/navbar.mdx
index 7834926bc..f7bf1c1a0 100644
--- a/apps/site/src/app/docs/content/html/navbar.mdx
+++ b/apps/site/src/app/docs/content/html/navbar.mdx
@@ -20,7 +20,7 @@ See below our simple navbar example that you can use in your Tailwind CSS projec
Use this simple navbar example with navigational links and buttons that get the user's attention to perform specific actions, like "Log in".
- }>
+ }>
```html
@@ -255,7 +255,7 @@ Use this simple navbar example with navigational links and buttons that get the
```
-
+
---
@@ -264,7 +264,7 @@ Use this simple navbar example with navigational links and buttons that get the
This component example presents a cleaner design navbar styled with `sticky top-0`, making it stick to the top of the viewport as the page scrolls down. Users can easily navigate through the website while engaging with the content, and the sticky navbar makes sure that navigation options are always within reach.
- }>
+ }>
```html
@@ -571,13 +571,13 @@ This component example presents a cleaner design navbar styled with `sticky top-
```
-
+
---
## Complex Navbar
- }>
+ }>
```html
@@ -834,7 +834,7 @@ This component example presents a cleaner design navbar styled with `sticky top-
```
-
+
---
@@ -842,7 +842,7 @@ This component example presents a cleaner design navbar styled with `sticky top-
This navbar component example includes an interactive search input field and a corresponding search button, alowing users to search content directly from the navbar. This feature helps users to quickly access information without navigating away from the current view.
- }>
+ }>
```html
@@ -1099,7 +1099,7 @@ This navbar component example includes an interactive search input field and a c
```
-
+
---
@@ -1107,7 +1107,7 @@ This navbar component example includes an interactive search input field and a c
In this example, the navbar uses a black background styled with Tailwind CSS (`bg-black`), creating a dark mode design.
- }>
+ }>
```html
@@ -1335,7 +1335,7 @@ In this example, the navbar uses a black background styled with Tailwind CSS (`b
```
-
+
---
@@ -1343,7 +1343,7 @@ In this example, the navbar uses a black background styled with Tailwind CSS (`b
Use this minimalist navbar that can be used across a wide range of websites and web applications where navigation clarity is important.
- }>
+ }>
```html
@@ -1426,13 +1426,13 @@ Use this minimalist navbar that can be used across a wide range of websites and
```
-
+
---
## Navbar With Mega Menu
- }>
+ }>
```html
@@ -1689,7 +1689,7 @@ Use this minimalist navbar that can be used across a wide range of websites and
```
-
+
---
diff --git a/apps/site/src/app/docs/content/html/pagination.mdx b/apps/site/src/app/docs/content/html/pagination.mdx
index c41d137fc..250e69aa0 100644
--- a/apps/site/src/app/docs/content/html/pagination.mdx
+++ b/apps/site/src/app/docs/content/html/pagination.mdx
@@ -20,7 +20,7 @@ See below our simple pagination component example that you can use for your Tail
In this example, the pagination has a consistent style with a rounded square shape (`h-10 w-10`) and are styled to differentiate the active page from others. For example, the button for page 1 has a `bg-primary text-white` class, indicating it might be the current page, while the others have `text-priimary` indicating they are not the selected page.
- }>
+ }>
```html
@@ -80,7 +80,7 @@ In this example, the pagination has a consistent style with a rounded square sha
```
-
+
---
@@ -88,7 +88,7 @@ In this example, the pagination has a consistent style with a rounded square sha
This pagination component example uses `rounded-full` for all buttons, giving them a fully circular shape. This design choice can make the pagination component stand out more and provides a more stylish appearance.
- }>
+ }>
```html
@@ -148,7 +148,7 @@ This pagination component example uses `rounded-full` for all buttons, giving th
```
-
+
---
@@ -156,7 +156,7 @@ This pagination component example uses `rounded-full` for all buttons, giving th
Use the example below to create a simple and minimalist pagination using Tailwind CSS classes and HTML.
- }>
+ }>
```html
@@ -209,7 +209,7 @@ Use the example below to create a simple and minimalist pagination using Tailwin
```
-
+
This pagination component is designed with simplicity and functionality in mind. It lacks page number buttons, focusing solely on navigation between sequential pages. This design choice might be suitable for scenarios where users are likely to navigate content linearly or when space is limited.
@@ -219,7 +219,7 @@ Use the example below to create a simple and minimalist pagination using Tailwin
Use this example of merging button borders and rounding off corners for adjacent buttons to create a streamlined look.
- }>
+ }>
```html
@@ -277,7 +277,7 @@ Use this example of merging button borders and rounding off corners for adjacent
```
-
+
diff --git a/apps/site/src/app/docs/content/html/progress.mdx b/apps/site/src/app/docs/content/html/progress.mdx
index 6c43fdd82..7ea22bb40 100644
--- a/apps/site/src/app/docs/content/html/progress.mdx
+++ b/apps/site/src/app/docs/content/html/progress.mdx
@@ -18,13 +18,13 @@ Below we are presenting our examples of progress components that you can use in
Use this example of a versatile dark gray progress bar with a rounded design and responsive sizing to indicate progress.
- }>
+ }>
```html
```
-
+
---
@@ -32,7 +32,7 @@ Use this example of a versatile dark gray progress bar with a rounded design and
The Progress component comes with 3 different sizes that you can change.
- }>
+ }>
```html
@@ -55,7 +55,7 @@ The Progress component comes with 3 different sizes that you can change.
```
-
+
---
@@ -63,7 +63,7 @@ The Progress component comes with 3 different sizes that you can change.
See below how you can implement varying fill colors to represent different progress states or categories.
- }>
+ }>
```html
@@ -86,7 +86,7 @@ See below how you can implement varying fill colors to represent different progr
```
-
+
---
@@ -94,7 +94,7 @@ See below how you can implement varying fill colors to represent different progr
This progress bar example includes text within the filled portion, explicitly stating "50% Completed." This addition improves user accessibility and understanding by directly communicating the progress level.
- }>
+ }>
```html
```
-
+
---
@@ -115,7 +115,7 @@ This progress bar example includes text within the filled portion, explicitly st
Use the example below to add the label outside the progress bar.
-
}>
+
}>
```html
@@ -127,7 +127,7 @@ Use the example below to add the label outside the progress bar.
```
-
+
---
@@ -135,10 +135,10 @@ Use the example below to add the label outside the progress bar.
Use the example below to customize the progress bar.
- }>
+ }>
```html
```
-
+
diff --git a/apps/site/src/app/docs/content/html/radio.mdx b/apps/site/src/app/docs/content/html/radio.mdx
index 23197e4bb..6a97472b2 100644
--- a/apps/site/src/app/docs/content/html/radio.mdx
+++ b/apps/site/src/app/docs/content/html/radio.mdx
@@ -20,7 +20,7 @@ Use the following example to create simple radio buttons for your projects.
The example features two radio buttons, labeled "HTML" and "React", allowing users to select one of these two options.
- }>
+ }>
```html
@@ -97,7 +97,7 @@ The example features two radio buttons, labeled "HTML" and "React", allowing use
```
-
+
---
@@ -105,7 +105,7 @@ The example features two radio buttons, labeled "HTML" and "React", allowing use
This example showcases a set of custom-styled radio buttons designed for selecting colors, with options for `primary`, `secondary`, `info`, `success`, `warning`, and `error`.
- }>
+ }>
```html
@@ -437,13 +437,13 @@ This example showcases a set of custom-styled radio buttons designed for selecti
```
-
+
---
## Radio Button with Custom Icon
- }>
+ }>
```html
```
-
+
---
@@ -546,7 +546,7 @@ This example showcases a set of custom-styled radio buttons designed for selecti
Both radio buttons are explicitly marked as disabled using the disabled attribute on the ` ` elements. This attribute prevents users from being able to select these options, making sure the form behaves correctly in contexts where "HTML" and "React" options should not be selectable.
- }>
+ }>
```html
@@ -625,7 +625,7 @@ Both radio buttons are explicitly marked as disabled using the disabled attribut
```
-
+
---
@@ -633,7 +633,7 @@ Both radio buttons are explicitly marked as disabled using the disabled attribut
This example showcases how you can implement radio buttons with labels that includes a hyperlink.
- }>
+ }>
```html
@@ -716,7 +716,7 @@ This example showcases how you can implement radio buttons with labels that incl
```
-
+
---
@@ -724,7 +724,7 @@ This example showcases how you can implement radio buttons with labels that incl
This example presents a radio button example that incorporates detailed descriptions. This is a more complex and informative approach to presenting radio button options.
- }>
+ }>
```html
@@ -805,7 +805,7 @@ This example presents a radio button example that incorporates detailed descript
```
-
+
---
@@ -813,7 +813,7 @@ This example presents a radio button example that incorporates detailed descript
Check out the example below for implementing custom styles on your radio button component.
- }>
+ }>
```html
@@ -896,4 +896,4 @@ Check out the example below for implementing custom styles on your radio button
```
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/apps/site/src/app/docs/content/html/rating.mdx b/apps/site/src/app/docs/content/html/rating.mdx
index 10a3fe054..5920069da 100644
--- a/apps/site/src/app/docs/content/html/rating.mdx
+++ b/apps/site/src/app/docs/content/html/rating.mdx
@@ -22,7 +22,7 @@ Whether you need a simple star rating system or a more intricate form with half-
In this example, the filled stars are rendered with `fill="currentColor"` and given a Tailwind class `text-yellow-700`, which likely applies a shade of yellow color, making them stand out as active or selected ratings. The color choice for the filled stars (yellow) is a common convention for indicating positive or high ratings.
- }>
+ }>
```html
```
-
+
---
@@ -99,7 +99,7 @@ In this example, the filled stars are rendered with `fill="currentColor"` and gi
Check out this example to see how you can implement a rating component on different colors (link amber, blue, green, and red).
- }>
+ }>
```html
@@ -489,13 +489,13 @@ Check out this example to see how you can implement a rating component on differ
}
```
-
+
---
## Readonly Rating
-
}>
+
}>
```html
```
-
+
---
@@ -570,7 +570,7 @@ Check out this example to see how you can implement a rating component on differ
See this example to understand how you can implement a custom rating based on icons (like a heart icon that suggests affection, preference, or satisfaction levels).
-
}>
+
}>
```html
```
-
+
---
@@ -663,7 +663,7 @@ See this example to understand how you can implement a custom rating based on ic
This example provides a detailed way to display ratings and reviews. It combines numerical data with graphical elements. This additional information provides context for the rating, helping users understand how many individual reviews contribute to the average score.
-
}>
+
}>
```html
@@ -738,7 +738,7 @@ This example provides a detailed way to display ratings and reviews. It combines
```
-
+
---
@@ -746,7 +746,7 @@ This example provides a detailed way to display ratings and reviews. It combines
This example represents a testimonial section including: customer quote, customer image, customer name and position, and star rating.
-
}>
+
}>
```html
@@ -830,7 +830,7 @@ This example represents a testimonial section including: customer quote, custome
```
-
+
---
diff --git a/apps/site/src/app/docs/content/html/spinner.mdx b/apps/site/src/app/docs/content/html/spinner.mdx
index ba72d29f0..f9ee10a4e 100644
--- a/apps/site/src/app/docs/content/html/spinner.mdx
+++ b/apps/site/src/app/docs/content/html/spinner.mdx
@@ -20,7 +20,7 @@ See below our examples of spinner components.
Use this simple spinner consisting of two concentric circles forming the spinning motion. This simplicity ensures that the spinner doesn't distract users from the main content of the application.
- }>
+ }>
```html
```
-
+
---
@@ -53,7 +53,7 @@ Use this simple spinner consisting of two concentric circles forming the spinnin
In this example, the spinner icons are incrementally sized from smaller to larger as you move from left to right. Choose the right size for your Tailwind CSS project.
- }>
+ }>
```html
```
-
+
---
@@ -198,7 +198,7 @@ In this example, the spinner icons are incrementally sized from smaller to large
Check out this loading spinner component, with customizable stroke colors. The colors used in the SVG elements is (`text-surface`) for the spinning animation, while the strokes of the paths within each SVG have different colors: `primary`, `secondary`, `info`, `success`, `warning`, and `error`. Choose the color that suits your project's needs.
- }>
+ }>
```html
```
-
+
---
@@ -343,7 +343,7 @@ Check out this loading spinner component, with customizable stroke colors. The c
Check out this example to see how you can add custom styles to your spinner component using Tailwind.
- }>
+ }>
```html
```
-
+
diff --git a/apps/site/src/app/docs/content/html/stepper.mdx b/apps/site/src/app/docs/content/html/stepper.mdx
index a4ec72617..108848cf0 100644
--- a/apps/site/src/app/docs/content/html/stepper.mdx
+++ b/apps/site/src/app/docs/content/html/stepper.mdx
@@ -14,7 +14,7 @@ Whether you're crafting a seamless user journey or simplifying complex forms, Ma
## Stepper Demo
- }>
+ }>
```html
@@ -48,13 +48,13 @@ Whether you're crafting a seamless user journey or simplifying complex forms, Ma
```
-
+
---
## Stepper With Icon
- }>
+ }>
```html
@@ -156,13 +156,13 @@ Whether you're crafting a seamless user journey or simplifying complex forms, Ma
```
-
+
---
## Stepper With Dots
- }>
+ }>
```html
@@ -186,13 +186,13 @@ Whether you're crafting a seamless user journey or simplifying complex forms, Ma
```
-
+
---
## Stepper With Content
- }>
+ }>
```html
@@ -318,13 +318,13 @@ Whether you're crafting a seamless user journey or simplifying complex forms, Ma
```
-
+
---
## Stepper Custom Styles
- }>
+ }>
```html
@@ -354,4 +354,4 @@ Whether you're crafting a seamless user journey or simplifying complex forms, Ma
```
-
+
diff --git a/apps/site/src/app/docs/content/html/switch.mdx b/apps/site/src/app/docs/content/html/switch.mdx
index ccc4c42d1..ba07b5a89 100644
--- a/apps/site/src/app/docs/content/html/switch.mdx
+++ b/apps/site/src/app/docs/content/html/switch.mdx
@@ -20,14 +20,14 @@ Use the following examples to create a simple and easy-to-use switch component f
Use this simple component example that changes the background color, border color, and shadow of the switch when it is in the "checked" state.
- }>
+ }>
```html
```
-
+
---
@@ -35,7 +35,7 @@ Use this simple component example that changes the background color, border colo
In this example, you can see how to implement your switch to be checked by default.
- }>
+ }>
```html
```
-
+
---
@@ -51,7 +51,7 @@ In this example, you can see how to implement your switch to be checked by defau
Check out this example to see how you can create a colored diverse set of toggle switches that can be used for various settings or options in a web application.
- }>
+ }>
```html
```
-
+
---
@@ -88,7 +88,7 @@ Check out this example to see how you can create a colored diverse set of toggle
See below how to create a custom switch component with a clear, descriptive label, making it suitable for settings pages, forms, or anywhere else where users need to make a binary choice.
- }>
+ }>
```html
```
-
+
---
@@ -112,7 +112,7 @@ See below how to create a custom switch component with a clear, descriptive labe
This example illustrates a switch component designed to appear disabled and non-interactive. The key features indicating its disabled state include the use of the disabled attribute on the input element, as well as Tailwind CSS classes `opacity-50` and `pointer-events-none` applied to the `input` to visually and functionally disable the entire switch component.
- }>
+ }>
```html
```
-
+
---
## Switch with Link
- }>
+ }>
```html
```
-
+
---
@@ -153,7 +153,7 @@ This example illustrates a switch component designed to appear disabled and non-
A switch component like the "Remember Me" example below is typically used in login forms or authentication pages on websites and applications.
- }>
+ }>
```html
```
-
+
---
@@ -179,11 +179,11 @@ A switch component like the "Remember Me" example below is typically used in log
Check out this example to see how you can implement custom styles to your switch component.
- }>
+ }>
```html
```
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/apps/site/src/app/docs/content/html/table.mdx b/apps/site/src/app/docs/content/html/table.mdx
index 6b83fc9b3..42d61da5c 100644
--- a/apps/site/src/app/docs/content/html/table.mdx
+++ b/apps/site/src/app/docs/content/html/table.mdx
@@ -18,7 +18,7 @@ See below Material Tailwind's examples of table components that help developers
Use our simple 4 columns table styled with Tailwind CSS to organize your data in a responsive way.
- }>
+ }>
```html
@@ -100,7 +100,7 @@ Use our simple 4 columns table styled with Tailwind CSS to organize your data in
```
-
+
---
@@ -108,7 +108,7 @@ Use our simple 4 columns table styled with Tailwind CSS to organize your data in
In this example, we added the class `even:bg-surface-light` applied to each row, which alternates the background color of even rows for better readability and visual appeal.
- }>
+ }>
```html
@@ -190,13 +190,13 @@ In this example, we added the class `even:bg-surface-light` applied to each row,
```
-
+
---
## Table With Striped Column
- }>
+ }>
```html
@@ -286,7 +286,7 @@ In this example, we added the class `even:bg-surface-light` applied to each row,
```
-
+
---
@@ -294,7 +294,7 @@ In this example, we added the class `even:bg-surface-light` applied to each row,
This example showcases a more complex and feature-rich approach to presenting and interacting with tabular data. The inclusion of a search bar and download button directly above the table improves the interface's interactivity and functionality. The use of images, status tags, and action buttons within the table rows adds a layer of complexity and utility, making the data more accessible and actionable.
- }>
+ }>
```html
@@ -791,7 +791,7 @@ This example showcases a more complex and feature-rich approach to presenting an
```
-
+
---
@@ -799,7 +799,7 @@ This example showcases a more complex and feature-rich approach to presenting an
In this example, the combination of filtering tabs, detailed member information, search functionality, and pagination controls makes it a comprehensive solution for managing and displaying member data in a user-friendly manner.
- }>
+ }>
```html
@@ -1275,7 +1275,7 @@ In this example, the combination of filtering tabs, detailed member information,
```
-
+
---
@@ -1283,7 +1283,7 @@ In this example, the combination of filtering tabs, detailed member information,
In this example. the table headers are interactive and sortable, as indicated by the presence of arrow icons next to the column titles ("Member", "Function", "Status", "Employed"). This feature allows users to sort the list based on different attributes, offering a tailored view of the data.
- }>
+ }>
```html
@@ -1867,7 +1867,7 @@ In this example. the table headers are interactive and sortable, as indicated by
```
-
+
---
diff --git a/apps/site/src/app/docs/content/html/textarea.mdx b/apps/site/src/app/docs/content/html/textarea.mdx
index 8df5fb51a..7160fcd0a 100644
--- a/apps/site/src/app/docs/content/html/textarea.mdx
+++ b/apps/site/src/app/docs/content/html/textarea.mdx
@@ -22,7 +22,7 @@ See below Material Tailwind’s examples of textareas that come in different sty
Get started with a simple textarea that comes with rounded corners, border styles, and a label. The label is intelligently styled to transition smoothly when the textarea is focused, and it uses Tailwind CSS classes to achieve these effects.
- }>
+ }>
```html
```
-
+
---
@@ -38,7 +38,7 @@ Get started with a simple textarea that comes with rounded corners, border style
Check this coded example to see how you can implement textarea components for different text input sizes.
- }>
+ }>
```html
```
-
+
---
@@ -73,7 +73,7 @@ Our component comes with various color styling options. The examples below inclu
- To change the border color, use the `focus:border-{color}` class.
- To change the text color, use the `focus:text-{color}` class.
- }>
+ }>
```html
```
-
+
---
@@ -116,7 +116,7 @@ Our component comes with various color styling options. The examples below inclu
Use this textareas with error and success themes, contrasting border colors (red for error and green for success), and matching text colors.
- }>
+ }>
```html
@@ -141,13 +141,13 @@ Use this textareas with error and success themes, contrasting border colors (red
```
-
+
---
## Textarea with Label
- }>
+ }>
```html
```
-
+
---
## Textarea with Helper Text
- }>
+ }>
```html
```
-
+
---
@@ -222,7 +222,7 @@ Use this textareas with error and success themes, contrasting border colors (red
Use this example if you want to display information to users without allowing them to make changes to the content.
- }>
+ }>
```html
```
-
+
---
@@ -239,7 +239,7 @@ Use this example if you want to display information to users without allowing th
Use this component that contains a textarea with submitting and canceling button controls for your blog or application if you want to let users leave comments.
- }>
+ }>
```html
```
-
+
This comment box maintains a consistent primary color scheme throughout and uses transitions to enhance the user experience during interactions.
@@ -291,7 +291,7 @@ This code snippet represents a stylish and functional textarea component with ac
The component is flexible and responsive, with attention to details like hover states and focus effects.
- }>
+ }>
```html
@@ -445,7 +445,7 @@ The component is flexible and responsive, with attention to details like hover s
```
-
+
---
diff --git a/apps/site/src/app/docs/content/html/timeline.mdx b/apps/site/src/app/docs/content/html/timeline.mdx
index 1002d2141..62737941c 100644
--- a/apps/site/src/app/docs/content/html/timeline.mdx
+++ b/apps/site/src/app/docs/content/html/timeline.mdx
@@ -20,7 +20,7 @@ See below our beautiful Timeline examples that you can use in your Tailwind CSS
Use this versatile vertical timeline example designed to display a series of events, each with a title and a descriptive text block.
-
}>
+
}>
```html
@@ -75,7 +75,7 @@ Use this versatile vertical timeline example designed to display a series of eve
```
-
+
---
@@ -83,7 +83,7 @@ Use this versatile vertical timeline example designed to display a series of eve
Use the example below for a timeline component with icon to denote different events or stages. Each item in the timeline is presented as a separate list item (`
`), with visual indicators and descriptive content.
- }>
+ }>
```html
@@ -210,7 +210,7 @@ Use the example below for a timeline component with icon to denote different eve
```
-
+
---
@@ -220,7 +220,7 @@ Unlike traditional timeline elements that use abstract shapes or icons to denote
Each list item includes a title and a paragraph. The titles are prominent (`text-base font-bold text-black`), while the paragraphs provide additional information in a smaller, lighter font (`text-sm text-foreground`).
- }>
+ }>
```html
@@ -293,7 +293,7 @@ Each list item includes a title and a paragraph. The titles are prominent (`text
```
-
+
---
@@ -301,7 +301,7 @@ Each list item includes a title and a paragraph. The titles are prominent (`text
This example showcases a well-structured, compact, and beautiful notification list designed using HTML and Tailwind CSS, featuring different notification items with specific icons and color codes.
- }>
+ }>
```html
@@ -417,7 +417,7 @@ This example showcases a well-structured, compact, and beautiful notification li
```
-
+
---
diff --git a/apps/site/src/app/docs/content/html/typography.mdx b/apps/site/src/app/docs/content/html/typography.mdx
index 2cb64bc90..26e9242ae 100644
--- a/apps/site/src/app/docs/content/html/typography.mdx
+++ b/apps/site/src/app/docs/content/html/typography.mdx
@@ -20,7 +20,7 @@ Check out below our examples of typography elements styled with Tailwind CSS.
Organize and structure text to improve readability and accessibility with Material Tailwind's headings.
- }>
+ }>
```html
@@ -43,7 +43,7 @@ Organize and structure text to improve readability and accessibility with Materi
```
-
+
---
@@ -51,7 +51,7 @@ Organize and structure text to improve readability and accessibility with Materi
See below how you can implement a paragraph with Material Tailwind.
- }>
+ }>
```html
Material Tailwind is an easy to use components library for Tailwind CSS
@@ -60,7 +60,7 @@ See below how you can implement a paragraph with Material Tailwind.
you need.
```
-
+
---
@@ -68,7 +68,7 @@ See below how you can implement a paragraph with Material Tailwind.
Highlight the key message or value proposition of a page or section with our lead text example.
- }>
+ }>
```html
Material Tailwind is an easy to use components library for Tailwind CSS
@@ -77,7 +77,7 @@ Highlight the key message or value proposition of a page or section with our lea
you need.
```
-
+
---
@@ -85,7 +85,7 @@ Highlight the key message or value proposition of a page or section with our lea
Use this example of small text for disclaimers, footnotes, labels, and as secondary information.
- }>
+ }>
```html
Material Tailwind is an easy to use components library for Tailwind CSS
@@ -94,7 +94,7 @@ Use this example of small text for disclaimers, footnotes, labels, and as second
you need.
```
-
+
---
@@ -102,7 +102,7 @@ Use this example of small text for disclaimers, footnotes, labels, and as second
Implement different colors for your typography depending on the message you want to transmit.
- }>
+ }>
```html
@@ -125,4 +125,4 @@ Implement different colors for your typography depending on the message you want
```
-
+
diff --git a/apps/site/src/app/docs/content/html/video.mdx b/apps/site/src/app/docs/content/html/video.mdx
index 2e040ce25..13e6609e2 100644
--- a/apps/site/src/app/docs/content/html/video.mdx
+++ b/apps/site/src/app/docs/content/html/video.mdx
@@ -20,14 +20,14 @@ Check out below our component examples.
Add videos to your website using our component that comes with rounded corners and playback controls.
- }>
+ }>
```html
Your browser does not support the video tag.
```
-
+
---
@@ -35,14 +35,14 @@ Add videos to your website using our component that comes with rounded corners a
This example includes the autoPlay attribute on the `` tag making the video start playing automatically as soon as it is loaded, without requiring the user to initiate playback manually.
- }>
+ }>
```html
Your browser does not support the video tag.
```
-
+
---
@@ -50,14 +50,14 @@ This example includes the autoPlay attribute on the `` tag making the vid
By adding `muted` to the `` tag, the video will play without sound by default when the page loads. This attribute is particularly important in conjunction with autoPlay, as many modern web browsers restrict autoplay functionality for videos with sound to prevent disrupting the user experience.
- }>
+ }>
```html
Your browser does not support the video tag.
```
-
+
Videos that autoplay with sound can be intrusive, so this restriction aims to improve the overall browsing experience.
diff --git a/apps/site/src/app/docs/content/react/accordion.mdx b/apps/site/src/app/docs/content/react/accordion.mdx
index f832dffa7..808de5041 100644
--- a/apps/site/src/app/docs/content/react/accordion.mdx
+++ b/apps/site/src/app/docs/content/react/accordion.mdx
@@ -18,7 +18,7 @@ See below our `Accordion` component examples that you can use in your Tailwind C
Here's how to implement a simple and responsive `Accordion` component. It can be used for FAQs in your website.
- }>
+ }>
```tsx
"use client";
@@ -65,7 +65,7 @@ export function AccordionDemo() {
);
}
```
-
+
---
@@ -73,7 +73,7 @@ export function AccordionDemo() {
You can set all the `Accordion` items to be open by default by passing an array of values to the `defaultValue` prop.
- }>
+ }>
```tsx
"use client";
@@ -120,7 +120,7 @@ export function AccordionAllOpen() {
);
}
```
-
+
---
@@ -128,7 +128,7 @@ export function AccordionAllOpen() {
The `Accordion` component could be either controlled or uncontrolled. In the controlled mode, you can manage the state of the `Accordion` component by yourself. You can use the `value` and `onValueChange` props to control the state of the `Accordion` component.
- }>
+ }>
```tsx
"use client";
@@ -203,7 +203,7 @@ export function ControlledAccordion() {
);
}
```
-
+
---
@@ -212,7 +212,7 @@ export function ControlledAccordion() {
You can customize the `Accordion` trigger icon by using the `Accordion.Trigger` component. To make it work, you need to use `group-data-[open=true]` for the icons to show/hide based on the `Accordion` state.
- }>
+ }>
```tsx
"use client";
@@ -262,7 +262,7 @@ export function AccordionCustomIcon() {
);
}
```
-
+
---
@@ -270,7 +270,7 @@ export function AccordionCustomIcon() {
You can customize the `Accordion` component by using the `className` prop. In the example below, we've showcased how to create a custom style for the `Accordion` component.
- }>
+ }>
```tsx
"use client";
@@ -326,7 +326,7 @@ export function AccordionCustomStyles() {
);
}
```
-
+
---
@@ -334,7 +334,7 @@ export function AccordionCustomStyles() {
You can disable the `Accordion` item by adding the `disabled` prop. This will prevent the user from interacting with the `Accordion` item.
- }>
+ }>
```tsx
"use client";
@@ -381,4 +381,4 @@ export function AccordionDisabled() {
);
}
```
-
+
diff --git a/apps/site/src/app/docs/content/react/alert.mdx b/apps/site/src/app/docs/content/react/alert.mdx
index 24b0ada91..8fe4b2a81 100644
--- a/apps/site/src/app/docs/content/react/alert.mdx
+++ b/apps/site/src/app/docs/content/react/alert.mdx
@@ -20,7 +20,7 @@ See below our `Alert` component examples that you can use in your Tailwind CSS a
Here's how to implement a simple and responsive `Alert` component. It can be used to display some feedback message in your website.
- }>
+ }>
```tsx
"use client";
@@ -34,7 +34,7 @@ export function AlertDemo() {
);
}
```
-
+
---
@@ -44,7 +44,7 @@ We provides different alert variants like `ghost`, `outline`, `solid`, and `grad
In the example below, we've showcased the different alert variants that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -77,7 +77,7 @@ export function AlertVariants() {
);
}
```
-
+
---
@@ -87,7 +87,7 @@ We provide different alert colors like `primary`, `secondary`, `info`, `success`
In the example below, we've showcased the different alert colors that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -130,7 +130,7 @@ export function AlertColors() {
);
}
```
-
+
---
@@ -140,7 +140,7 @@ You can use the `Alert.Icon` component to add an icon to your alert for better v
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -158,7 +158,7 @@ export function AlertIcon() {
);
}
```
-
+
---
@@ -168,7 +168,7 @@ You can use `Alert` and `Typography` components togheter to create an alert with
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -261,7 +261,7 @@ export function AlertWithList() {
);
}
```
-
+
---
@@ -271,7 +271,7 @@ You can use `Alert.DismissTrigger` component to add a close button to your alert
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -290,7 +290,7 @@ export function AlertDismissible() {
);
}
```
-
+
---
@@ -300,7 +300,7 @@ You can use `Alert.DismissTrigger` component to add a custom close button to you
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -323,7 +323,7 @@ export function AlertCustomCloseIcon() {
);
}
```
-
+
---
@@ -333,7 +333,7 @@ Use the example below to create an alert with content inside, this is useful whe
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -359,7 +359,7 @@ export function AlertWithContent() {
);
}
```
-
+
---
@@ -370,7 +370,7 @@ You can use the `className` prop to add custom styles to your alert. Use the exa
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -388,4 +388,4 @@ export function AlertCustomStyles() {
);
}
```
-
+
diff --git a/apps/site/src/app/docs/content/react/avatar.mdx b/apps/site/src/app/docs/content/react/avatar.mdx
index eb58fa81c..9514ff993 100644
--- a/apps/site/src/app/docs/content/react/avatar.mdx
+++ b/apps/site/src/app/docs/content/react/avatar.mdx
@@ -18,7 +18,7 @@ To jumpstart your development process, we offer a range of pre-designed `Avatar`
Get started with this simple avatar example that comes with a pre-set image, ensuring that your avatars look great from the start. You can easily replace the default `src` with any image URL to display user-specific avatars.
- }>
+ }>
```tsx
"use client";
@@ -28,7 +28,7 @@ export function AvatarDemo() {
return ;
}
```
-
+
@@ -42,7 +42,7 @@ We provides different avatar variants like `circular`, `rounded`, and `square` s
In the example below, we've showcased the different avatar variants that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -70,7 +70,7 @@ export function AvatarVariants() {
);
}
```
-
+
@@ -88,7 +88,7 @@ We provide different avatar sizes like `xs`, `sm`, `md`, `lg`, `xl` and `xxl` so
In the example below, we've showcased the different avatar sizes that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -107,7 +107,7 @@ export function AvatarSizes() {
);
}
```
-
+
---
@@ -115,7 +115,7 @@ export function AvatarSizes() {
You can use avatar with other components as well, see the example below. This component showcases a combination of `Avatar` and `Typography` components to create a complete user profile presentation.
- }>
+ }>
```tsx
"use client";
@@ -155,7 +155,7 @@ export function AvatarWithText() {
);
}
```
-
+
---
@@ -163,7 +163,7 @@ export function AvatarWithText() {
Use this example of overlapped avatars to represent a group of users in a friendly and compact way. For example, showing multiple people involved in a team.
- }>
+ }>
```tsx
"use client";
@@ -201,14 +201,14 @@ export function AvatarStack() {
);
}
```
-
+
---
## Avatar Custom Styles
You can use the `className` prop to customize the `Avatar` component style and make your own custom avatar. In the example below, we've showcased how to create custom avatar with green border and ring around it.
- }>
+ }>
```tsx
"use client";
@@ -225,4 +225,4 @@ export function AvatarCustomStyles() {
);
}
```
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/apps/site/src/app/docs/content/react/badge.mdx b/apps/site/src/app/docs/content/react/badge.mdx
index 1a90c06c9..14c6625d9 100644
--- a/apps/site/src/app/docs/content/react/badge.mdx
+++ b/apps/site/src/app/docs/content/react/badge.mdx
@@ -20,7 +20,7 @@ For the examples below we used [Iconoir](https://iconoir.com/) icons but you can
Here's how to implement a simple `Badge` component. It can be used for showing notifications count in your website.
- }>
+ }>
```tsx
"use client";
@@ -40,7 +40,7 @@ export function BadgeDemo() {
);
}
```
-
+
---
@@ -50,7 +50,7 @@ We provide different badge colors like `primary`, `secondary`, `info`, `success`
In the example below, we've showcased the different badge colors that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -112,7 +112,7 @@ export function BadgeColors() {
);
}
```
-
+
---
@@ -120,7 +120,7 @@ export function BadgeColors() {
You can use the `placement` prop to change the position of the badge. In the example below, we've showcased the different placement for the `Badge` component that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -166,7 +166,7 @@ export function BadgePlacement() {
);
}
```
-
+
---
@@ -174,7 +174,7 @@ export function BadgePlacement() {
You can make the `Badge` component as a dot by removing the `Badge.Indicator` content. In the example below, we've showcased the `Badge` component as a dot that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -194,7 +194,7 @@ export function BadgeDot() {
);
}
```
-
+
---
@@ -202,7 +202,7 @@ export function BadgeDot() {
You can change the overlap of the `Badge` component using the `overlap` prop. This can help to place the `Badge` component on it's right place when using it with circular or square elements.
- }>
+ }>
```tsx
"use client";
@@ -244,7 +244,7 @@ export function BadgeOverlap() {
);
}
```
-
+
---
@@ -252,7 +252,7 @@ export function BadgeOverlap() {
You can add a border to the `Badge` component using the `className` prop for the `Badge.Indicator`. In the example below, we've showcased the `Badge` component with a border that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -272,7 +272,7 @@ export function BadgeWithBorder() {
);
}
```
-
+
---
@@ -280,7 +280,7 @@ export function BadgeWithBorder() {
You can customize the `Badge` component using the `className` prop. In the example below, we've showcased the `Badge` component with custom styles that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -302,4 +302,4 @@ export function BadgeCustomStyles() {
);
}
```
-
+
diff --git a/apps/site/src/app/docs/content/react/breadcrumb.mdx b/apps/site/src/app/docs/content/react/breadcrumb.mdx
index a51a54c16..66895ebf1 100644
--- a/apps/site/src/app/docs/content/react/breadcrumb.mdx
+++ b/apps/site/src/app/docs/content/react/breadcrumb.mdx
@@ -20,7 +20,7 @@ See below our versatile `Breadcrumb` component examples that you can use in your
Here's how to implement a simple and responsive `Breadcrumb` component. It can be used to show the user where they are on a website and how far they are from the homepage.
- }>
+ }>
```tsx
"use client";
@@ -40,7 +40,7 @@ export function BreadcrumbDemo() {
);
}
```
-
+
---
@@ -50,7 +50,7 @@ You can add icons to your `Breadcrumb` links to make them more visually appealin
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -71,7 +71,7 @@ export function BreadcrumbWithIcon() {
);
}
```
-
+
---
@@ -79,7 +79,7 @@ export function BreadcrumbWithIcon() {
You can customize the breadcrumb separator by adding any text or icon to the `Breadcrumb.Separator` component.
- }>
+ }>
```tsx
"use client";
@@ -99,7 +99,7 @@ export function BreadcrumbCustomSeparator() {
);
}
```
-
+
---
@@ -109,7 +109,7 @@ You can use the `className` prop to customize the `Breadcrumb` component style a
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -155,5 +155,5 @@ export function BreadcrumbCustomStyles() {
);
}
```
-
+
diff --git a/apps/site/src/app/docs/content/react/button-group.mdx b/apps/site/src/app/docs/content/react/button-group.mdx
index 4a83cb635..be68bde6f 100644
--- a/apps/site/src/app/docs/content/react/button-group.mdx
+++ b/apps/site/src/app/docs/content/react/button-group.mdx
@@ -20,7 +20,7 @@ See below our `ButtonGroup` component examples that you can use in your Tailwind
Here's how to implement a simple and responsive `ButtonGroup` component. It can be used for any action that requires user interaction in your website.
- }>
+ }>
```tsx
"use client";
@@ -36,7 +36,7 @@ export function ButtonGroupDemo() {
);
}
```
-
+
---
@@ -46,7 +46,7 @@ We provides different variants like `ghost`, `outline`, `solid`, and `gradient`
In the example below, we've showcased the different `ButtonGroup` variants that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -79,7 +79,7 @@ export function ButtonGroupVariants() {
);
}
```
-
+
---
@@ -89,7 +89,7 @@ We provide different sizes like `sm`, `md`, and `lg` so you can adapt it easily
In the example below, we've showcased the different `ButtonGroup` sizes that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -117,7 +117,7 @@ export function ButtonGroupSizes() {
);
}
```
-
+
---
@@ -127,7 +127,7 @@ We provide different colors like `primary`, `secondary`, `info`, `success`, `war
In the example below, we've showcased the different `ButtonGroup` colors that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -170,7 +170,7 @@ export function ButtonGroupColors() {
);
}
```
-
+
---
@@ -180,7 +180,7 @@ You can add an icon to the start or end of the buttons text inside the `ButtonGr
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -250,7 +250,7 @@ export function ButtonGroupWithIcon() {
);
}
```
-
+
---
@@ -260,7 +260,7 @@ A `ButtonGroup` component could be a block-level component as well that gets all
In the example below, we've showcased the block-level `ButtonGroup` component in 4 different variants that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -293,7 +293,7 @@ export function BlockLevelButtonGroup() {
);
}
```
-
+
---
@@ -303,7 +303,7 @@ A pill `ButtonGroup` component is a `ButtonGroup` component with rounded corners
In the example below, we've showcased the pill `ButtonGroup` component in 4 different variants that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -336,7 +336,7 @@ export function PillButtonGroup() {
);
}
```
-
+
---
@@ -347,7 +347,7 @@ You can use the `className` prop to customize the `ButtonGroup` component and `B
In the example below, we've showcased how to create custom social media `ButtonGroup` that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -377,4 +377,4 @@ export function CustomButtonGroup() {
);
}
```
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/apps/site/src/app/docs/content/react/button.mdx b/apps/site/src/app/docs/content/react/button.mdx
index 36647129e..3179c93e2 100644
--- a/apps/site/src/app/docs/content/react/button.mdx
+++ b/apps/site/src/app/docs/content/react/button.mdx
@@ -20,7 +20,7 @@ See below our `Button` component examples that you can use in your Tailwind CSS
Here's how to implement a simple and responsive `Button` component. It can be used for the action of submitting a form, navigating between pages, or any other action that requires user interaction in your website.
- }>
+ }>
```tsx
"use client";
@@ -30,7 +30,7 @@ export function ButtonDemo() {
return Button ;
}
```
-
+
---
@@ -40,7 +40,7 @@ We provides different button variants like `ghost`, `outline`, `solid`, and `gra
In the example below, we've showcased the different button variants that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -57,7 +57,7 @@ export function ButtonVariants() {
);
}
```
-
+
---
@@ -67,7 +67,7 @@ We provide different button sizes like `sm`, `md`, and `lg` so you can adapt it
In the example below, we've showcased the different button sizes that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -85,7 +85,7 @@ export function ButtonSizes() {
);
}
```
-
+
---
@@ -95,7 +95,7 @@ We provide different button colors like `primary`, `secondary`, `info`, `success
In the example below, we've showcased the different button colors that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -114,7 +114,7 @@ export function ButtonColors() {
);
}
```
-
+
---
@@ -124,7 +124,7 @@ You can add an icon to the start or end of the button text to make it more visua
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -159,7 +159,7 @@ export function ButtonWithIcon() {
);
}
```
-
+
---
@@ -169,7 +169,7 @@ A button could be a block-level component as well that gets all the available sp
In the example below, we've showcased the block-level button in 4 different variants that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -194,7 +194,7 @@ export function BlockLevelButton() {
);
}
```
-
+
---
@@ -204,7 +204,7 @@ A pill button is a button with rounded corners that make it look like a pill. Yo
In the example below, we've showcased the pill button in 4 different variants that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -229,7 +229,7 @@ export function PillButton() {
);
}
```
-
+
---
@@ -239,7 +239,7 @@ You can use the `Button` component as a link by using the `as` prop and passing
In the example below, we've showcased the button as a link in 4 different variants that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -264,7 +264,7 @@ export function ButtonAsLink() {
);
}
```
-
+
---
@@ -274,7 +274,7 @@ You can use the `Button` component with a loading state to show the user that th
In the example below, we've showcased the button with a loading state in 4 different variants that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -303,7 +303,7 @@ export function ButtonLoading() {
);
}
```
-
+
---
@@ -314,7 +314,7 @@ You can use the `className` prop to customize the `Button` component style and m
In the example below, we've showcased how to create custom authentication buttons that you can use in your project.
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -337,4 +337,4 @@ export function CustomAuthButton() {
);
}
```
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/apps/site/src/app/docs/content/react/card.mdx b/apps/site/src/app/docs/content/react/card.mdx
index 3ca425e5c..678e31039 100644
--- a/apps/site/src/app/docs/content/react/card.mdx
+++ b/apps/site/src/app/docs/content/react/card.mdx
@@ -21,7 +21,7 @@ See below our beautiful `Card` examples that you can use in your React and Tailw
Here's how to implement a simple and responsive `Card` component. It can be used for displaying information about a product, a blog post, or any other content that requires a visual representation in your website.
- }>
+ }>
```tsx
"use client";
@@ -46,7 +46,7 @@ export function CardDemo() {
);
}
```
-
+
---
@@ -54,7 +54,7 @@ export function CardDemo() {
Use this example if you want to showcase your information in a simple and straightforward way. A basic card comes with a headline, a description, and a CTA button.
- }>
+ }>
```tsx
"use client";
@@ -78,7 +78,7 @@ export function SimpleCard() {
);
}
```
-
+
---
@@ -86,7 +86,7 @@ export function SimpleCard() {
Use this card example if you are looking to use a link instead a button. This card comes with a headline, a description, and a link to a specific page.
- }>
+ }>
```tsx
"use client";
@@ -116,7 +116,7 @@ export function CardWithLink() {
);
}
```
-
+
---
@@ -124,7 +124,7 @@ export function CardWithLink() {
Showcase user information in a concise way by using this card example. Use high-quality images for a better effect. This type of card is usually used for team member pages, author bio, and user profiles.
- }>
+ }>
```tsx
"use client";
@@ -183,7 +183,7 @@ export function ProfileCard() {
);
}
```
-
+
---
@@ -191,7 +191,7 @@ export function ProfileCard() {
This login card is perfect for sections that require user authentication. It contains the usual information for a smooth authentication process.
- }>
+ }>
```tsx
"use client";
@@ -269,7 +269,7 @@ export function LoginCard() {
);
}
```
-
+
---
@@ -277,7 +277,7 @@ export function LoginCard() {
This beautiful pricing card will present the pricing plans for the products. It is perfect if you want the highlight the product's features.
- }>
+ }>
```tsx
"use client";
@@ -335,7 +335,7 @@ export function PricingCard() {
);
}
```
-
+
---
@@ -343,7 +343,7 @@ export function PricingCard() {
Showcase blog posts in a visually appealing way with our example of blog card. It contains the basic elements that you will need: a headline, an image, a description, authors, and a date.
- }>
+ }>
```tsx
"use client";
@@ -402,7 +402,7 @@ export function BlogCard() {
);
}
```
-
+
---
@@ -410,7 +410,7 @@ export function BlogCard() {
If you are looking for a more sophisticated blog card, use this example which uses an image as a background. Blog cards are usually used on blog pages and home pages.
- }>
+ }>
```tsx
"use client";
@@ -444,7 +444,7 @@ export function BackgroundBlogCard() {
);
}
```
-
+
---
@@ -452,7 +452,7 @@ export function BackgroundBlogCard() {
If you have a service booking section on your website, this card if what you will need! The tooltips are used to show the most important features in a user friendly way.
- }>
+ }>
```tsx
"use client";
@@ -608,7 +608,7 @@ export function BookingCard() {
);
}
```
-
+
---
@@ -616,7 +616,7 @@ export function BookingCard() {
The testimonial section is a necessary component of any website. Use our card example to create a beautiful testimonial section.
- }>
+ }>
```tsx
"use client";
@@ -657,7 +657,7 @@ export function TestimonialCard() {
);
}
```
-
+
---
@@ -665,7 +665,7 @@ export function TestimonialCard() {
Here is an example of a simple horizontal card that you can use to showcase the information. This card is perfect for blog posts, news, and articles.
- }>
+ }>
```tsx
"use client";
@@ -719,7 +719,7 @@ export function HorizontalCard() {
);
}
```
-
+
---
@@ -727,7 +727,7 @@ export function HorizontalCard() {
Use this card example to showcase your products in an ecommerce website. This card comes with an image, a headline, a price, a description, and a CTA button.
- }>
+ }>
```tsx
"use client";
@@ -761,4 +761,4 @@ export function EcommerceCard() {
);
}
```
-
+
diff --git a/apps/site/src/app/docs/content/react/checkbox.mdx b/apps/site/src/app/docs/content/react/checkbox.mdx
index df0d88f2b..197282a8f 100644
--- a/apps/site/src/app/docs/content/react/checkbox.mdx
+++ b/apps/site/src/app/docs/content/react/checkbox.mdx
@@ -24,7 +24,7 @@ See below our `Checkbox` component examples that you can use in your Tailwind CS
Here's how to implement a `Checkbox` component. It can be used for forms or other components.
- }>
+ }>
```tsx
"use client";
@@ -61,7 +61,7 @@ export function CheckboxDemo() {
);
}
```
-
+
---
@@ -71,7 +71,7 @@ We provide different checkbox colors like `primary`, `secondary`, `info`, `succe
In the example below, we've showcased the different checkbox colors that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -102,7 +102,7 @@ export function CheckboxColors() {
);
}
```
-
+
---
@@ -110,7 +110,7 @@ export function CheckboxColors() {
The `Checkbox` component can be used with a label to provide more context to the user. In the example below, we've added a label to the checkbox by using the `Checkbox` and `Typography` components together.
- }>
+ }>
```tsx
"use client";
@@ -133,7 +133,7 @@ export function CheckboxWithLabel() {
);
}
```
-
+
---
@@ -143,7 +143,7 @@ You can customize and change the icon used for the checkbox by using new icons i
To make it work, you need to use `group-data-[checked=true]` for the icons to show/hide based on the checkbox state.
- }>
+ }>
```tsx
"use client";
@@ -161,7 +161,7 @@ export function CheckboxWithCustomIcon() {
);
}
```
-
+
---
@@ -169,7 +169,7 @@ export function CheckboxWithCustomIcon() {
You can disable the checkbox by adding the `disabled` prop. This will prevent the user from interacting with the checkbox.
- }>
+ }>
```tsx
"use client";
@@ -183,7 +183,7 @@ export function DisabledCheckbox() {
);
}
```
-
+
---
@@ -191,7 +191,7 @@ export function DisabledCheckbox() {
Use the example below to create a `Checkbox` component with a link to the terms and conditions inside it's label.
- }>
+ }>
```tsx
"use client";
@@ -217,7 +217,7 @@ export function CheckboxWithLink() {
);
}
```
-
+
---
@@ -225,7 +225,7 @@ export function CheckboxWithLink() {
Use the example below to create a `Checkbox` component with a title and description as it's label to provide more information about the checkbox action.
- }>
+ }>
```tsx
"use client";
@@ -250,7 +250,7 @@ export function CheckboxWithDescription() {
);
}
```
-
+
---
@@ -258,7 +258,7 @@ export function CheckboxWithDescription() {
You can use `className` prop to customize the `Checkbox` component style. In the example below, we make the checkbox circular.
- }>
+ }>
```tsx
"use client";
@@ -272,4 +272,4 @@ export function CustomCheckbox() {
);
}
```
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/apps/site/src/app/docs/content/react/chip.mdx b/apps/site/src/app/docs/content/react/chip.mdx
index 42168a265..6eb958e75 100644
--- a/apps/site/src/app/docs/content/react/chip.mdx
+++ b/apps/site/src/app/docs/content/react/chip.mdx
@@ -23,7 +23,7 @@ See below our `Chip` example that you can use in your Tailwind CSS and React pro
Here's how to implement a simple `Chip` component. It can be used for actions in forms, dialogues, and more.
- }>
+ }>
```tsx
"use client";
@@ -37,7 +37,7 @@ export function ChipDemo() {
);
}
```
-
+
---
@@ -47,7 +47,7 @@ We provide different chip sizes like `sm`, `md`, and `lg` so you can adapt it ea
In the example below, we've showcased the different chip sizes that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -69,7 +69,7 @@ export function ChipSizes() {
);
}
```
-
+
---
@@ -79,7 +79,7 @@ We provides different chip variants like `ghost`, `outline`, `solid`, and `gradi
In the example below, we've showcased the different chip variants that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -104,7 +104,7 @@ export function ChipVariants() {
);
}
```
-
+
---
@@ -114,7 +114,7 @@ We provide different chip colors like `primary`, `secondary`, `info`, `success`,
In the example below, we've showcased the different chip colors that you can use in your project.
- }>
+ }>
```tsx
"use client";
@@ -145,7 +145,7 @@ export function ChipColors() {
);
}
```
-
+
---
@@ -155,7 +155,7 @@ You can add an icon for the `Chip` component to make it more visually appealing
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -193,7 +193,7 @@ export function ChipIcon() {
);
}
```
-
+
---
@@ -201,7 +201,7 @@ export function ChipIcon() {
You can use `Chip.DismissTrigger` component to add a close button to your chip for better user experience. Use the example below to create a dismissible chip.
- }>
+ }>
```tsx
"use client";
@@ -220,7 +220,7 @@ export function ChipDismissible() {
);
}
```
-
+
---
@@ -228,7 +228,7 @@ export function ChipDismissible() {
You can add an avatar for the `Chip` component to make it more visually appealing and informative. Use the example below to create `Chip` with `Avatar` component.
- }>
+ }>
```tsx
"use client";
@@ -250,7 +250,7 @@ export function ChipWithAvatar() {
);
}
```
-
+
---
@@ -258,7 +258,7 @@ export function ChipWithAvatar() {
By default `Chip` comes with a pill shape. If you prefer a rounded shape, you can set the `isPill` prop to `false`. Use the example below to create a rounded `Chip` component.
- }>
+ }>
```tsx
"use client";
@@ -283,4 +283,4 @@ export function ChipRounded() {
);
}
```
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/apps/site/src/app/docs/content/react/collapse.mdx b/apps/site/src/app/docs/content/react/collapse.mdx
index 0a8e58ac8..f22aad1bc 100644
--- a/apps/site/src/app/docs/content/react/collapse.mdx
+++ b/apps/site/src/app/docs/content/react/collapse.mdx
@@ -18,7 +18,7 @@ See below our `Collapse` component examples that you can use in your Tailwind CS
Here's how to implement a simple and responsive `Collapse` component. It can be used for accordion, mobile menu, file tree, and much more.
- }>
+ }>
```tsx
"use client";
@@ -52,4 +52,4 @@ export function CollapseDemo() {
);
}
```
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/apps/site/src/app/docs/content/react/dialog.mdx b/apps/site/src/app/docs/content/react/dialog.mdx
index dfae7b184..ad2d83140 100644
--- a/apps/site/src/app/docs/content/react/dialog.mdx
+++ b/apps/site/src/app/docs/content/react/dialog.mdx
@@ -22,7 +22,7 @@ Here's how to implement a simple and responsive `Dialog` component. It can be us
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -73,7 +73,7 @@ export function DialogDemo() {
);
}
```
-
+
---
@@ -83,7 +83,7 @@ We provide different dialog sizes like `xs`, `sm`, `md`, `lg`, `xl` and `screen`
In the example below, we've showcased the different dialog sizes that you can use in your project. In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -332,7 +332,7 @@ export function DialogSizes() {
);
}
```
-
+
---
@@ -342,7 +342,7 @@ Use this example to create a dialog with a authentication form. You can use this
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -442,7 +442,7 @@ export function DialogWithForm() {
);
}
```
-
+
---
@@ -452,7 +452,7 @@ Use this example to create a dialog with image and some action inspired by Unspl
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -530,7 +530,7 @@ export function DialogWithImage() {
);
}
```
-
+
---
@@ -540,7 +540,7 @@ Use this example to create a dialog with Web 3 wallet connection. You can use th
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -639,7 +639,7 @@ export function DialogWeb3() {
);
}
```
-
+
---
@@ -649,7 +649,7 @@ Use this example to create a scrollable dialog with long content. You can use th
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -789,7 +789,7 @@ export function DialogLong() {
);
}
```
-
+
---
@@ -799,7 +799,7 @@ Use this example to create a dialog with a message form. You can use this dialog
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -879,7 +879,7 @@ export function DialogMessage() {
);
}
```
-
+
---
@@ -889,7 +889,7 @@ Use this example to create a dialog with a notification. You can use this dialog
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -929,4 +929,4 @@ export function DialogNotification() {
);
}
```
-
+
diff --git a/apps/site/src/app/docs/content/react/drawer.mdx b/apps/site/src/app/docs/content/react/drawer.mdx
index 1ead682c1..96cc2bcfd 100644
--- a/apps/site/src/app/docs/content/react/drawer.mdx
+++ b/apps/site/src/app/docs/content/react/drawer.mdx
@@ -20,7 +20,7 @@ Here's how to implement a simple and responsive `Drawer` component. It can be us
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -65,7 +65,7 @@ export function DrawerDemo() {
);
}
```
-
+
---
@@ -75,7 +75,7 @@ You can place the `Drawer` component in different positions on the screen. You c
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -206,7 +206,7 @@ export function DrawerPlacement() {
);
}
```
-
+
---
@@ -216,7 +216,7 @@ Use this example to create a `Drawer` component with navigation links. You can u
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -409,7 +409,7 @@ export function DrawerWithNavigation() {
);
}
```
-
+
---
@@ -419,7 +419,7 @@ Use this example to create a `Drawer` component with a form. You can use this `D
In the example below we've used the [Iconoir](https://iconoir.com/) icons, but you can use any other icon library you prefer.
- }>
+ }>
```tsx
"use client";
@@ -467,4 +467,4 @@ export function DrawerWithForm() {
);
}
```
-
+
diff --git a/apps/site/src/app/docs/content/react/dropdown.mdx b/apps/site/src/app/docs/content/react/dropdown.mdx
index e3b752a58..542a05d94 100644
--- a/apps/site/src/app/docs/content/react/dropdown.mdx
+++ b/apps/site/src/app/docs/content/react/dropdown.mdx
@@ -20,7 +20,7 @@ See below our `Dropdown` component examples that you can use in your Tailwind CS
Here's how to implement a simple and responsive `Dropdown` component. It can be used for selecting an option from a list of choices, navigating between pages, or any other action that requires user interaction in your website.
- }>
+ }>
```tsx
"use client";
@@ -39,7 +39,7 @@ export function MenuDemo() {
);
}
```
-
+
---
@@ -47,7 +47,7 @@ export function MenuDemo() {
Use this example to create a nested dropdown with a trigger that opens a submenu with more options. This is useful when you have a list of options that can be grouped together.
- }>
+ }>
```tsx
"use client";
@@ -79,7 +79,7 @@ export function NestedMenu() {
);
}
```
-
+
---
@@ -87,7 +87,7 @@ export function NestedMenu() {
Use this example to create a dropdown with different placements. You can choose between top, right, bottom, and left placements, and also between start and end positions.
- }>
+ }>
```tsx
"use client";
@@ -204,7 +204,7 @@ export function MenuPlacement() {
);
}
```
-
+
---
@@ -212,7 +212,7 @@ export function MenuPlacement() {
Use this example to create a navigation dropdown menu with a trigger that opens a dropdown menu of options. This is useful for creating a navigation dropdown menu in navbar in your website.
- }>
+ }>
```tsx
"use client";
@@ -282,7 +282,7 @@ export function NavMenu() {
);
}
```
-
+
---
@@ -290,7 +290,7 @@ export function NavMenu() {
Use this example to create a dropdown with a divider that separates the dropdown menu items. This is useful when you want to group dropdown menu items into different sections.
- }>
+ }>
```tsx
"use client";
@@ -313,7 +313,7 @@ export function MenuWithDivider() {
);
}
```
-
+
---
@@ -321,7 +321,7 @@ export function MenuWithDivider() {
Use this example to create a dropdown with checkboxes that allow users to select multiple options. This is useful when you want to allow users to select multiple options from a list of choices.
- }>
+ }>
```tsx
"use client";
@@ -370,7 +370,7 @@ export function MenuWithCheckbox() {
);
}
```
-
+
---
@@ -378,7 +378,7 @@ export function MenuWithCheckbox() {
Use this example to create a dropdown with a search input that allows users to search for specific options. This is useful when you have a long list of options and you want to help users find what they are looking for.
- }>
+ }>
```tsx
"use client";
@@ -398,7 +398,7 @@ export function MenuWithSearch() {
);
}
```
-
+
---
@@ -406,7 +406,7 @@ export function MenuWithSearch() {
Use this example to create a dropdown with scrolling content that allows users to scroll through a long list of options. This is useful when you have a long list of options and you want to display them in a limited space.
- }>
+ }>
```tsx
"use client";
@@ -442,7 +442,7 @@ export function MenuWithScrollingContent() {
);
}
```
-
+
---
@@ -450,7 +450,7 @@ export function MenuWithScrollingContent() {
Use this example to create a notification dropdown menu with a trigger that opens a dropdown menu of notifications. This is useful when you want to display notifications to users in dashboard layout or admin panels.
- }>
+ }>
```tsx
"use client";
@@ -516,7 +516,7 @@ export function NotificationMenu() {
);
}
```
-
+
---
@@ -524,7 +524,7 @@ export function NotificationMenu() {
Use this example to create a profile dropdown menu with a trigger that opens a dropdown menu of profile options. This is useful when you want to display profile options to users when they're logged in.
- }>
+ }>
```tsx
"use client";
@@ -559,4 +559,4 @@ export function ProfileMenu() {
);
}
```
-
+
diff --git a/apps/site/src/app/docs/content/react/footer.mdx b/apps/site/src/app/docs/content/react/footer.mdx
index e150b369f..e20bf1590 100644
--- a/apps/site/src/app/docs/content/react/footer.mdx
+++ b/apps/site/src/app/docs/content/react/footer.mdx
@@ -18,7 +18,7 @@ See below our footer examples that you can use in your Tailwind CSS and React pr
Here's how to implement a simple and responsive footer component. It can be used to display information about your website or web app, such as contact information, social media links, and more.
- }>
+ }>
```tsx
"use client";
@@ -62,7 +62,7 @@ export function FooterDemo() {
);
}
```
-
+
---
@@ -70,7 +70,7 @@ export function FooterDemo() {
Use this footer example to display your website or web app's logo along with links to different sections of your website.
- }>
+ }>
```tsx
"use client";
@@ -120,7 +120,7 @@ export function FooterWithLogo() {
);
}
```
-
+
---
@@ -128,7 +128,7 @@ export function FooterWithLogo() {
Use this footer example to display your website or web app's logo along with navigation links, contact information, social media links, and much more.
- }>
+ }>
```tsx
"use client";
@@ -291,7 +291,7 @@ export function FooterWithSocialLinks() {
);
}
```
-
+
---
@@ -299,7 +299,7 @@ export function FooterWithSocialLinks() {
Use this footer example to display your website or web app's logo along with navigation links, contact information, social media links, links to all resources and pages and much more.
- }>
+ }>
```tsx
"use client";
@@ -478,4 +478,4 @@ export function FooterWithSitemap() {
);
}
```
-
+
diff --git a/apps/site/src/app/docs/content/react/gallery.mdx b/apps/site/src/app/docs/content/react/gallery.mdx
index a843beab6..c41ecf149 100644
--- a/apps/site/src/app/docs/content/react/gallery.mdx
+++ b/apps/site/src/app/docs/content/react/gallery.mdx
@@ -18,7 +18,7 @@ See below our gallery examples that you can use in your Tailwind CSS and React p
Here's how to implement a simple and responsive gallery component. It can be used for displaying images in a 3x3 grid layout.
- }>
+ }>
```tsx
"use client";
@@ -76,7 +76,7 @@ export function GalleryDemo() {
);
}
```
-
+
---
@@ -84,7 +84,7 @@ export function GalleryDemo() {
Use this masonry grid gallery to display images in a grid layout. The masonry grid layout is a great way to showcase your images in a clean and organized way based on the images height.
- }>
+ }>
```tsx
"use client";
@@ -180,7 +180,7 @@ export function MasonryGridGallery() {
);
}
```
-
+
---
@@ -188,7 +188,7 @@ export function MasonryGridGallery() {
Use this image gallery example to display a large image with a grid of smaller images below. When you click on a smaller image, the large image will change to the selected image.
- }>
+ }>
```tsx
"use client";
@@ -246,7 +246,7 @@ export function FeaturedImageGallery() {
);
}
```
-
+
---
@@ -254,7 +254,7 @@ export function FeaturedImageGallery() {
Use this quad gallery example to display images in a 2x2 grid layout. This gallery is a great way to showcase your images in a clean and organized way.
- }>
+ }>
```tsx
"use client";
@@ -292,7 +292,7 @@ export function QuadGallery() {
);
}
```
-
+
---
@@ -300,7 +300,7 @@ export function QuadGallery() {
Use this gallery with tab example to display images in a grid layout with tabs. This gallery is a great way to group your images based on categories and display them in a clean and organized way.
- }>
+ }>
```tsx
"use client";
@@ -490,4 +490,4 @@ export function GalleryWithTab() {
);
}
```
-
+
diff --git a/apps/site/src/app/docs/content/react/guide/astro.mdx b/apps/site/src/app/docs/content/react/guide/astro.mdx
index e3ade9818..c41c31869 100644
--- a/apps/site/src/app/docs/content/react/guide/astro.mdx
+++ b/apps/site/src/app/docs/content/react/guide/astro.mdx
@@ -91,7 +91,7 @@ export default {
Now you're ready to use Material Tailwind components in your Astro project. Here's an example of how to use the `Button` component:
- }>
+ }>
```html
---
@@ -111,4 +111,4 @@ import { Button } from "@material-tailwind/react";