Skip to content

Commit

Permalink
Merge pull request mdbootstrap#2 from creativetimofficial/feature/v1.…
Browse files Browse the repository at this point in the history
…0.0-beta

Feature/v1.0.0 beta
  • Loading branch information
sajadevo committed May 9, 2022
2 parents 53279a9 + 998bffc commit 25e91ea
Show file tree
Hide file tree
Showing 335 changed files with 25,954 additions and 774 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

# production
/build
/packages/@material-tailwind

# misc
.DS_Store
Expand Down
93 changes: 93 additions & 0 deletions documentation/html/alert.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
---
title: Tailwind CSS Alert - Material Tailwind
description: HTML Alert component with Tailwind CSS.
navigation: ["alert", "simple alert", "alert with gradient"]
---

# Tailwind CSS Alerts

Get started on your web projects with our Tailwind CSS alert which provides contextual feedback messages for typical user actions.

<br />
An alert displays a short and important message attracting the user's attention without
interrupting the user's task. Use this element when you need to show highly-important
messages to users or when you need a persistent static container that is closable
by user actions.
<br />
Below we are presenting 2 examples of alerts that you can use in your Tailwind CSS
and React project. The examples come in different colors and styles so you can adapt
them easily to your needs.
<br />
<ComponentCard id="alert">
<div className="alert alert-pink w-full">Alert primary</div>
</ComponentCard>

```html showLineNumbers
<div className="alert alert-pink w-full">Alert primary</div>
```

{" "}
<br />
<br />

### Simple Alert

Use this example to create a simple and versatile alert component.

{" "}
<br />
<ComponentCard id="simple-alert">
<div className="alert alert-pink w-full">Alert primary</div>
<div className="alert alert-secondary w-full">Alert secondary</div>
<div className="alert alert-green w-full">Alert success</div>
<div className="alert alert-red w-full">Alert danger</div>
<div className="alert alert-orange w-full">Alert warning</div>
<div className="alert alert-blue w-full">Alert info</div>
<div className="alert alert-dark w-full">Alert Dark</div>
</ComponentCard>

```html showLineNumbers
<div className="alert alert-pink w-full">Alert primary</div>
<div className="alert alert-secondary w-full">Alert secondary</div>
<div className="alert alert-green w-full">Alert success</div>
<div className="alert alert-red w-full">Alert danger</div>
<div className="alert alert-orange w-full">Alert warning</div>
<div className="alert alert-blue w-full">Alert info</div>
<div className="alert alert-dark w-full">Alert Dark</div>
```

{" "}
<br />
<br />

### Alert with gradient

Use this example to create a simple and versatile alert component.

{" "}
<br />
<ComponentCard id="alert with gradient">
<div className="alert alert-gradient alert-pink w-full">Alert primary</div>
<div className="alert alert-gradient alert-secondary w-full">
Alert secondary
</div>
<div className="alert alert-gradient alert-green w-full">Alert success</div>
<div className="alert alert-gradient alert-red w-full">Alert danger</div>
<div className="alert alert-gradient alert-orange w-full">Alert warning</div>
<div className="alert alert-gradient alert-blue w-full">Alert info</div>
<div className="alert alert-gradient alert-light w-full">Alert Light</div>
<div className="alert alert-gradient alert-dark w-full">Alert Dark</div>
</ComponentCard>

```html showLineNumbers
<div className="alert alert-gradient alert-pink w-full">Alert primary</div>
<div className="alert alert-gradient alert-secondary w-full">
Alert secondary
</div>
<div className="alert alert-gradient alert-green w-full">Alert success</div>
<div className="alert alert-gradient alert-red w-full">Alert danger</div>
<div className="alert alert-gradient alert-orange w-full">Alert warning</div>
<div className="alert alert-gradient alert-blue w-full">Alert info</div>
<div className="alert alert-gradient alert-light w-full">Alert Light</div>
<div className="alert alert-gradient alert-dark w-full">Alert Dark</div>
```
109 changes: 109 additions & 0 deletions documentation/html/avatar.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
---
title: Tailwind CSS Avatar - Material Tailwind
description: HTML Avatar component with Tailwind CSS.
navigation: ["avatar", "avatar-style", "avatar-sizes"]
---

# Tailwind CSS Avatar

Get started on your web projects with our Tailwind CSS avatar which provides contextual feedback messages for typical user actions.

<br />

<ComponentCard id="avatar">
<a href="#" className="avatar">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
</ComponentCard>

```html showLineNumbers
<a href="#" className="avatar">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
```

{" "}

<br />
<br />

### Avatar Styles

Get started on your web projects with our Tailwind CSS avatar which provides contextual feedback messages for typical user actions.

<br />

<ComponentCard id="avatar-style">
<div className="flex">
<a href="#" className="avatar mr-3">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
<a href="#" className="avatar avatar-circular">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
</div>
</ComponentCard>

```html showLineNumbers
<a href="#" className="avatar">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
<a href="#" className="avatar avatar-circular">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
```

{" "}

<br />
<br />

### Avatar Sizes

Get started on your web projects with our Tailwind CSS avatar which provides contextual feedback messages for typical user actions.

<br />

<ComponentCard id="avatar-sizes">
<div className="flex">
<a href="#" className="avatar avatar-circular avatar-xs mr-3">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
<a href="#" className="avatar avatar-circular avatar-sm mr-3">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
<a href="#" className="avatar avatar-circular avatar-md mr-3">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
<a href="#" className="avatar avatar-circular avatar-lg mr-3">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
<a href="#" className="avatar avatar-circular avatar-xl mr-3">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
<a href="#" className="avatar avatar-circular avatar-xxl mr-3">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
</div>
</ComponentCard>

```html showLineNumbers
<a href="#" className="avatar avatar-circular avatar-xs">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
<a href="#" className="avatar avatar-circular avatar-sm">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
<a href="#" className="avatar avatar-circular avatar-md">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
<a href="#" className="avatar avatar-circular avatar-lg">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
<a href="#" className="avatar avatar-circular avatar-xl">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
<a href="#" className="avatar avatar-circular avatar-xxl">
<img alt="Image placeholder" src="/img/face-2.jpg" />
</a>
```
Loading

0 comments on commit 25e91ea

Please sign in to comment.