Featured
A curated collection of our best blocks, crafted to help you build beautiful interfaces faster.
accordion-01
Loading...
import { Plus } from "lucide-react"
import { cn } from "@/lib/utils"
import {
Accordion,
AccordionContent,
AccordionItem,
AccordionTrigger,
} from "@/components/ui/accordion"
const items = [
{
id: "01",
title: "Who am I?",
content:
"I’m Ali Imam — a designer and creative developer focused on building digital experiences that are minimal, meaningful, and timeless.",
},
{
id: "02",
title: "What do I design?",
content:
"I create clean, functional interfaces, brand systems, and digital products. My work blends simplicity with clarity and usability.",
},
{
id: "03",
title: "My design approach",
content:
"For me, design isn’t just visuals — it’s how something feels and works. I focus on clarity, detail, and storytelling in every project.",
},
{
id: "04",
title: "Beyond design",
content:
"I bridge design and development, turning ideas into interactive experiences with modern tools and technology.",
},
{
id: "05",
title: "What inspires me",
content:
"Minimalism, architecture, and everyday details. I believe great design is found in the small things we often overlook.",
},
{
id: "06",
title: "Who I work with",
content:
"I collaborate with startups, brands, and individuals who value thoughtful design and want to create lasting impact.",
},
{
id: "07",
title: "My toolkit",
content:
"Figma, Next.js, and modern frameworks are part of my process — but for me, tools always serve the idea, not the other way around.",
},
{
id: "08",
title: "Let’s connect",
content:
"You can reach me through contact@aliimam.in or on social platforms. I’m always open to new projects, collaborations, and conversations.",
},
]
export function Accordion01() {
return (
<div className="mx-auto flex h-full w-full max-w-xl items-center justify-center">
<Accordion defaultValue={["03"]} className="w-full">
{items.map((item) => (
<AccordionItem value={item.id} key={item.id}>
<AccordionTrigger className="[data-slot=accordion-trigger] cursor-pointer text-left duration-1000 hover:pl-3 hover:no-underline hover:[&_div.bg-primary]:bg-secondary hover:[&_svg]:rotate-90 hover:[&_svg]:text-primary [&>svg]:hidden">
<div className="flex flex-1 items-start justify-between gap-4">
<div className="flex items-center gap-3">
<h1>{item.id}</h1>
<h3 className="text-lg font-semibold md:text-xl">
{item.title}
</h3>
</div>
<div className="flex items-center bg-primary p-2 duration-500">
<Plus
className={cn(
"size-4 shrink-0 text-primary-foreground transition-transform duration-1000",
"[data-state=open]:rotate-90"
)}
/>
</div>
</div>
</AccordionTrigger>
<AccordionContent className="pr-20 pb-6 text-muted-foreground">
{item.content}
</AccordionContent>
</AccordionItem>
))}
</Accordion>
</div>
)
}
accordion-02
Loading...
/* eslint-disable react/jsx-key */
import { Minus, Plus } from "lucide-react"
import { cn } from "@/lib/utils"
import {
Accordion,
AccordionContent,
AccordionItem,
AccordionTrigger,
} from "@/components/ui/accordion"
import { Button } from "@/components/ui/button"
const items = [
{
id: "01",
title: "Who am I?",
content: [
<div
className="relative grid gap-10 pb-30 md:grid-cols-2 lg:gap-30 lg:pt-10"
key="01"
>
<div className="">
<h1 className="text-xs">
I’m Ali Imam, a designer and creative developer dedicated to
crafting digital experiences that are minimal, meaningful, and
timeless. My work blends aesthetic precision with technical
expertise, creating interfaces and products that feel intuitive and
resonate deeply with users. Inspired by the harmony of architecture
and the subtleties of human behavior, I approach every project with
curiosity and a commitment to storytelling. Whether designing a
sleek app interface or coding a responsive website, my goal is to
create experiences that leave a lasting impression while solving
real problems for users and businesses alike.
</h1>
</div>
<div className="space-y-3 pr-6 text-[8px]">
<h1 className="">RELATED SERVICES</h1>
<h1 className="">
Creative Direction, UI/UX Design, Front-End Development, Brand
Identity Design, Interaction Design, Prototyping, User Research,
Visual Storytelling, Responsive Web Design, Design Systems
</h1>
</div>
<div className="absolute right-0 bottom-0">
<Button className="h-16 cursor-pointer rounded-r-none rounded-b-none px-10 text-xs">
Reach out contact@designali.com
</Button>
</div>
</div>,
],
},
{
id: "02",
title: "What do I design?",
content: [
<div
className="relative grid gap-10 pb-30 md:grid-cols-2 lg:gap-30 lg:pt-10"
key="02"
>
<div className="">
<h1 className="text-xs">
I design clean, functional, and visually compelling interfaces,
brand systems, and digital products that prioritize usability and
clarity. From pixel-perfect mobile apps to immersive websites, my
work is rooted in simplicity, ensuring every element serves a
purpose. I create cohesive brand identities that reflect a company’s
essence and connect emotionally with audiences. My designs are not
just about aesthetics—they’re about guiding users effortlessly
through intuitive layouts, thoughtful typography, and seamless
interactions. Whether it’s a startup’s landing page or a complex
SaaS platform, I aim to deliver experiences that are both beautiful
and highly functional.
</h1>
</div>
<div className="space-y-3 pr-6 text-[8px]">
<h1 className="">RELATED SERVICES</h1>
<h1 className="">
UI/UX Design, Web Design, Mobile App Design, Brand Identity Systems,
Visual Design, Wireframing, Prototyping, Design Systems,
Iconography, Animation Design
</h1>
</div>
<div className="absolute right-0 bottom-0">
<Button className="h-16 cursor-pointer rounded-r-none rounded-b-none px-10 text-xs">
Reach out contact@designali.com
</Button>
</div>
</div>,
],
},
{
id: "03",
title: "My design approach",
content: [
<div
className="relative grid gap-10 pb-30 md:grid-cols-2 lg:gap-30 lg:pt-10"
key="03"
>
<div className="">
<h1 className="text-xs">
My design approach is holistic, blending form, function, and feeling
to create experiences that resonate. I prioritize clarity, ensuring
users grasp a design’s purpose instantly, while obsessing over
details like typography and micro-interactions to elevate the
experience. Storytelling is at the core—every project tells a
narrative that connects with its audience emotionally and
intellectually. I start by understanding user needs and business
goals, then iterate through sketches, wireframes, and prototypes,
refining based on feedback. This process ensures designs are not
only visually striking but also intuitive and purposeful, creating a
seamless bridge between user expectations and client objectives.
</h1>
</div>
<div className="space-y-3 pr-6 text-[8px]">
<h1 className="">RELATED SERVICES</h1>
<h1 className="">
User-Centered Design, Interaction Design, Prototyping, User Testing,
Design Thinking, Visual Storytelling, Information Architecture,
Accessibility Design, Feedback Integration, Iterative Design
</h1>
</div>
<div className="absolute right-0 bottom-0">
<Button className="h-16 cursor-pointer rounded-r-none rounded-b-none px-10 text-xs">
Reach out contact@designali.com
</Button>
</div>
</div>,
],
},
{
id: "04",
title: "Beyond design",
content: [
<div
className="relative grid gap-10 pb-30 md:grid-cols-2 lg:gap-30 lg:pt-10"
key="04"
>
<div className="">
<h1 className="text-xs">
As a creative developer, I go beyond designing visuals—I build
interactive, performant experiences that bring ideas to life. Using
tools like Next.js, React, and TypeScript, I code responsive
websites and applications that are as robust as they are beautiful.
My dual expertise in design and development allows me to oversee
projects from concept to deployment, ensuring a seamless transition
from prototypes to production. Whether it’s integrating APIs,
optimizing performance, or crafting smooth animations, I focus on
creating digital products that users can engage with effortlessly
across devices, delivering both technical excellence and aesthetic
finesse.
</h1>
</div>
<div className="space-y-3 pr-6 text-[8px]">
<h1 className="">RELATED SERVICES</h1>
<h1 className="">
Front-End Development, Full-Stack Development, API Integration,
Responsive Web Development, Animation Coding, Performance
Optimization, CMS Integration, JavaScript Frameworks, Web
Accessibility, Code Reviews
</h1>
</div>
<div className="absolute right-0 bottom-0">
<Button className="h-16 cursor-pointer rounded-r-none rounded-b-none px-10 text-xs">
Reach out contact@designali.com
</Button>
</div>
</div>,
],
},
{
id: "05",
title: "What inspires me",
content: [
<div
className="relative grid gap-10 pb-30 md:grid-cols-2 lg:gap-30 lg:pt-10"
key="05"
>
<div className="">
<h1 className="text-xs">
My inspiration stems from the elegance of minimalism, the structural
beauty of architecture, and the subtle details of everyday life. A
perfectly balanced building, the texture of a natural material, or
the rhythm of a bustling street can spark ideas for a user interface
or brand system. I’m also inspired by human behavior—how people
interact with technology, what frustrates them, and what brings joy.
This curiosity drives me to design with intention, creating
experiences that feel calm, intuitive, and timeless. By focusing on
the often-overlooked details, I craft designs that resonate deeply
and endure over time.
</h1>
</div>
<div className="space-y-3 pr-6 text-[8px]">
<h1 className="">RELATED SERVICES</h1>
<h1 className="">
Moodboard Creation, Visual Inspiration Curation, Environmental
Design, User Behavior Analysis, Emotional Design, Minimalist Design,
Concept Development, Design Research, Trend Analysis, Creative
Consulting
</h1>
</div>
<div className="absolute right-0 bottom-0">
<Button className="h-16 cursor-pointer rounded-r-none rounded-b-none px-10 text-xs">
Reach out contact@designali.com
</Button>
</div>
</div>,
],
},
{
id: "06",
title: "Who I work with",
content: [
<div
className="relative grid gap-10 pb-30 md:grid-cols-2 lg:gap-30 lg:pt-10"
key="06"
>
<div className="">
<h1 className="text-xs">
I partner with startups, brands, and individuals who share a passion
for thoughtful design and meaningful impact. My collaborators range
from tech entrepreneurs launching innovative products to established
companies seeking to refresh their digital presence. I thrive in
partnerships where creativity is valued, and ideas are explored
collaboratively. By deeply understanding my clients’ goals,
challenges, and audiences, I create designs that not only meet their
needs but also inspire their users. Whether it’s a bold new app or a
refined brand identity, I work with those who want to make a lasting
difference through design that’s purposeful and memorable.
</h1>
</div>
<div className="space-y-3 pr-6 text-[8px]">
<h1 className="">RELATED SERVICES</h1>
<h1 className="">
Client Collaboration, Startup Consulting, Brand Strategy,
User-Centered Design, Project Management, Stakeholder Workshops,
Creative Direction, Brand Refresh, Product Launch Design, Community
Engagement Design
</h1>
</div>
<div className="absolute right-0 bottom-0">
<Button className="h-16 cursor-pointer rounded-r-none rounded-b-none px-10 text-xs">
Reach out contact@designali.com
</Button>
</div>
</div>,
],
},
{
id: "07",
title: "My toolkit",
content: [
<div
className="relative grid gap-10 pb-30 md:grid-cols-2 lg:gap-30 lg:pt-10"
key="07"
>
<div className="">
<h1 className="text-xs">
My toolkit is a blend of design and development tools that empower
me to execute ideas with precision and efficiency. For design, I use
Figma to create wireframes, prototypes, and pixel-perfect
interfaces, enabling seamless collaboration with clients. On the
development side, I leverage Next.js, React, and TypeScript to build
fast, scalable applications. Tools like GSAP bring animations to
life, while Tailwind CSS ensures consistent, rapid styling. However,
tools are secondary to the idea—they exist to serve the vision. My
focus is on crafting solutions that align with the project’s goals,
ensuring both aesthetic excellence and technical performance in
every deliverable.
</h1>
</div>
<div className="space-y-3 pr-6 text-[8px]">
<h1 className="">RELATED SERVICES</h1>
<h1 className="">
Figma Prototyping, Next.js Development, React Development,
TypeScript Coding, Animation Design, CSS Styling, Design-to-Code
Workflow, Tool Integration, Performance Optimization, Collaborative
Design Systems
</h1>
</div>
<div className="absolute right-0 bottom-0">
<Button className="h-16 cursor-pointer rounded-r-none rounded-b-none px-10 text-xs">
Reach out contact@designali.com
</Button>
</div>
</div>,
],
},
{
id: "08",
title: "Let’s connect",
content: [
<div
className="relative grid gap-10 pb-30 md:grid-cols-2 lg:gap-30 lg:pt-10"
key="08"
>
<div className="">
<h1 className="text-xs">
I’m passionate about connecting with those who share a love for
design, technology, and creativity. Whether you’re a startup founder
with a bold vision, a brand seeking a fresh identity, or someone who
wants to explore the possibilities of design, I’m here to
collaborate. Reach me at contact@designali.com or find me on X,
LinkedIn, or Dribbble, where I share my latest work and insights.
I’m open to new projects, creative partnerships, or even a chat
about the future of digital experiences. Let’s create something
meaningful together—reach out, and let’s start the conversation.
</h1>
</div>
<div className="space-y-3 pr-6 text-[8px]">
<h1 className="">RELATED SERVICES</h1>
<h1 className="">
Creative Consulting, Project Scoping, Collaboration Workshops,
Social Media Content Creation, Portfolio Reviews, Design Mentorship,
Networking Events, Project Proposals, Client Onboarding, Idea
Brainstorming
</h1>
</div>
<div className="absolute right-0 bottom-0">
<Button className="h-16 cursor-pointer rounded-r-none rounded-b-none px-10 text-xs">
Reach out contact@designali.com
</Button>
</div>
</div>,
],
},
]
export function Accordion02() {
return (
<div className="flex h-full w-full items-center justify-center">
<Accordion defaultValue={["03"]} className="w-full border">
{items.map((item) => (
<AccordionItem value={item.id} key={item.id}>
<AccordionTrigger className="[data-slot=accordion-trigger] cursor-pointer text-left duration-500 hover:no-underline data-[state=open]:[&_svg]:rotate-180 data-[state=open]:[&_svg]:[#plus]:opacity-0 [&_svg]:[#plus]:[data-state=open]:opacity-0 [&>svg]:hidden">
<div className="flex flex-1 items-center gap-4">
<div className="relative ml-4">
<Plus
id="plus"
className={cn(
"h-6 w-6 shrink-0 transition-all duration-500",
"data-[state=closed]:opacity-100 group-aria-expanded/accordion-trigger:opacity-0",
"group-aria-expanded/accordion-trigger:rotate-180"
)}
/>
<Minus
id="minus"
className={cn(
"absolute inset-0 h-6 w-6 opacity-100 transition-all duration-500",
"hover:opacity-100 group-aria-expanded/accordion-trigger:opacity-100",
"group-aria-expanded/accordion-trigger:rotate-180"
)}
/>
</div>
<h3 className="text-lg font-semibold">{item.title}</h3>
</div>
</AccordionTrigger>
<AccordionContent className="ml-6 p-0">
{item.content}
</AccordionContent>
</AccordionItem>
))}
</Accordion>
</div>
)
}
button-02
Loading...
import { GitBranchIcon, GitForkIcon } from "lucide-react";
import { Button } from "@/components/ui/button";
export function ButtonWithIcon() {
return (
<div className="flex gap-2">
<Button variant="outline">
<GitBranchIcon data-icon="inline-start" /> New Branch
</Button>
<Button variant="outline">
Fork
<GitForkIcon data-icon="inline-end" />
</Button>
</div>
);
}card-02
Loading...
"use client"
import * as React from "react"
import { Button } from "@/components/ui/button"
import {
Card,
CardAction,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card"
import { Input } from "@/components/ui/input"
import { Label } from "@/components/ui/label"
import {
ToggleGroup,
ToggleGroupItem,
} from "@/components/ui/toggle-group"
const spacingOptions = [
{
className: "[--card-spacing:--spacing(4)]",
label: "16px",
value: "4",
},
{
className: "[--card-spacing:--spacing(5)]",
label: "20px",
value: "5",
},
{
className: "[--card-spacing:--spacing(6)]",
label: "24px",
value: "6",
},
{
className: "[--card-spacing:--spacing(8)]",
label: "32px",
value: "8",
},
]
export function CardSpacing() {
const [spacing, setSpacing] = React.useState("4")
const selectedSpacing = spacingOptions.find(
(option) => option.value === spacing
)
return (
<div className="mx-auto grid w-full max-w-sm gap-4">
<ToggleGroup
value={[spacing]}
onValueChange={(value) => {
if (value[0]) {
setSpacing(value[0])
}
}}
variant="outline"
size="sm"
className="justify-center"
>
{spacingOptions.map((option) => (
<ToggleGroupItem key={option.value} value={option.value}>
{option.label}
</ToggleGroupItem>
))}
</ToggleGroup>
<Card className={selectedSpacing?.className}>
<CardHeader>
<CardTitle>Login to your account</CardTitle>
<CardDescription>
Enter your email below to login to your account
</CardDescription>
<CardAction>
<Button variant="link">Sign Up</Button>
</CardAction>
</CardHeader>
<CardContent>
<form>
<div className="flex flex-col gap-6">
<div className="grid gap-2">
<Label htmlFor="email-spacing">Email</Label>
<Input
id="email-spacing"
type="email"
placeholder="m@example.com"
required
/>
</div>
<div className="grid gap-2">
<div className="flex items-center">
<Label htmlFor="password-spacing">Password</Label>
<a
href="#"
className="ml-auto inline-block text-sm underline-offset-4 hover:underline"
>
Forgot your password?
</a>
</div>
<Input id="password-spacing" type="password" required />
</div>
</div>
</form>
</CardContent>
<CardFooter className="flex-col gap-2">
<Button type="submit" className="w-full">
Login
</Button>
<Button variant="outline" className="w-full">
Login with Google
</Button>
</CardFooter>
</Card>
</div>
)
}Categories
- Accordion
- Alert
- Alert Dialog
- Aspect Ratio
- Avatar
- Badge
- Breadcrumb
- Button
- Calendar
- Card
- Carousel
- Checkbox
- Collapsible
- Combobox
- Command
- Context Menu
- Dialog
- Drawer
- Dropdown Menu
- Field
- Hover Card
- Input
- Input OTP
- Label
- Menubar
- Navigation Menu
- Pagination
- Popover
- Progress
- Radio Group
- Resizable
- Scroll Area
- Select
- Separator
- Sheet
- Skeleton
- Slider
- Spinner
- Switch
- Table
- Tabs
- Textarea
- Toast
- Toggle
- Toggle Group
- Tooltip