Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avatar Component #19

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/assets/images/profile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions public/components/components-avatar/1-dark.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!-- Basic -->
<div class="flex flex-wrap items-center justify-center gap-2">
<img class="h-20 w-20 overflow-hidden rounded-full object-cover" src="/assets/images/profile.jpg" alt="img" />
<img class="h-16 w-16 overflow-hidden rounded-full object-cover" src="/assets/images/profile.jpg" alt="img" />
<img class="h-12 w-12 overflow-hidden rounded-full object-cover" src="/assets/images/profile.jpg" alt="img" />
</div>

6 changes: 6 additions & 0 deletions public/components/components-avatar/1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!-- Basic -->
<div class="flex flex-wrap items-center justify-center gap-2">
<img class="h-20 w-20 overflow-hidden rounded-full object-cover" src="/assets/images/profile.jpg" alt="img" />
<img class="h-16 w-16 overflow-hidden rounded-full object-cover" src="/assets/images/profile.jpg" alt="img" />
<img class="h-12 w-12 overflow-hidden rounded-full object-cover" src="/assets/images/profile.jpg" alt="img" />
</div>
15 changes: 15 additions & 0 deletions public/components/components-avatar/2-dark.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!-- Indicator -->
<div class="flex flex-wrap items-center justify-center gap-2">
<span class="relative h-20 w-20">
<img class="h-20 w-20 overflow-hidden rounded-full object-cover" src="/assets/images/profile.jpg" alt="img" />
<span class="absolute bottom-0 h-7 w-7 rounded-full bg-green-600 ring-2 ring-white right-0"></span>
</span>
<span class="relative h-16 w-16">
<img class="h-16 w-16 overflow-hidden rounded-full object-cover" src="/assets/images/profile.jpg" alt="img" />
<span class="absolute bottom-0 h-6 w-6 rounded-full bg-green-600 ring-2 ring-white right-0"></span>
</span>
<span class="relative h-12 w-12">
<img class="h-12 w-12 overflow-hidden rounded-full object-cover" src="/assets/images/profile.jpg" alt="img" />
<span class="absolute bottom-0 h-4 w-4 rounded-full bg-green-600 ring-2 ring-white right-0"></span>
</span>
</div>
16 changes: 16 additions & 0 deletions public/components/components-avatar/2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!-- Indicator -->

<div class="flex flex-wrap items-center justify-center gap-2">
<span class="relative h-20 w-20">
<img class="h-20 w-20 overflow-hidden rounded-full object-cover" src="/assets/images/profile.jpg" alt="img" />
<span class="absolute bottom-0 h-7 w-7 rounded-full bg-green-600 ring-2 ring-white right-0"></span>
</span>
<span class="relative h-16 w-16">
<img class="h-16 w-16 overflow-hidden rounded-full object-cover" src="/assets/images/profile.jpg" alt="img" />
<span class="absolute bottom-0 h-6 w-6 rounded-full bg-green-600 ring-2 ring-white right-0"></span>
</span>
<span class="relative h-12 w-12">
<img class="h-12 w-12 overflow-hidden rounded-full object-cover" src="/assets/images/profile.jpg" alt="img" />
<span class="absolute bottom-0 h-4 w-4 rounded-full bg-green-600 ring-2 ring-white right-0"></span>
</span>
</div>
23 changes: 23 additions & 0 deletions src/data/components/components-avatar.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: Avatar
category: components
container: p-8 flex items-center justify-center gap-4 sm:gap-8
seo:
title: Avatar Components
description: Avatar components in Tailwind | LangUI
components:
1:
title: Basic
dark: true
2:
title: Indicator
dark: true

---

# Avatar Components

<ComponentsList
componentsData={componentsData}
componentContainer={componentContainer}
/>