Fireship · @fireship
Ultimate Tailwind CSS Tutorial // Build a Discord-inspired Animated Navbar
Uploaded October 19, 2021 · Length 12:56
Summary
Learn how to build a Discord-inspired animated navbar using Tailwind CSS, including setting up a new project, customizing the config file, and using utility classes to design the UI.
- tailwind css tutorial
- discord navbar
- animated ui
- css utility classes
- react js
- component-based development
- ui design
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
one of the most disruptive web
- 0:01
Technologies in recent years is without
- 0:03
a doubt Tailwind CSS it defies the
- 0:05
long-standing dogma of semantic CSS and
- 0:08
instead preaches a more functional
- 0:10
utility class approach like many I found
- 0:12
it offensive at first glance but the
- 0:14
reality is that it can produce beautiful
- 0:16
and customizable uis faster than any
- 0:18
other approach I've tried nobody pays me
- 0:20
to say that I'm just obsessed with
- 0:22
things that are pragmatic that can get
- 0:23
your app shipped faster in today's
- 0:25
beginner-friendly tutorial you'll learn
- 0:27
everything you need to know to design a
- 0:29
website with tailin you guys requested
- 0:30
we clone Discord so we'll build a
- 0:32
Discord inspired dashboard we'll focus
- 0:34
on the most interesting part of the UI
- 0:36
which is the sidebar that has these
- 0:38
animated icon buttons that show a tool
- 0:40
tip when hovered we'll also throw in
- 0:41
dark mode and I'll explain how to
- 0:43
integrate Tailwind with any component
- 0:45
based javascrip library but first
- 0:47
there's a red button that says subscribe
- 0:49
below this video most hiring managers in
- 0:51
the tech industry recommend that you
- 0:52
click the button before we jump into the
- 0:54
code let's answer the question of what
- 0:56
is tailwind and should I use it
- 0:58
basically it's just a huge collection of
- 1:00
CSS utility classes compared to plain
- 1:03
CSS it allows you to write less code
- 1:05
overall and have standards that prevent
- 1:07
you from blowing your foot off however
- 1:09
Tailwind does not provide pre-built
- 1:11
components like bootstrap this means it
- 1:13
will likely take you longer to build a
- 1:15
UI than bootstrap but it gives you much
- 1:17
better control over customization some
- 1:19
people say Tailwind is not for beginners
- 1:21
but I've kind of changed my mind here
- 1:22
the tooling has become really
- 1:24
exceptional and when you hover over a
- 1:25
class in vs code it tells you exactly
- 1:27
what CSS is inside it's kind of like CSS
- 1:30
with training wheels and will do things
- 1:31
like dead code elimination so you're not
- 1:33
left with a massive CSS file when you go
- 1:35
to production ultimately though Tailwind
- 1:37
is for developers who want to get highly
- 1:39
customized stuff done faster to follow
- 1:41
along with this project open up your
- 1:43
editor and then pull up a terminal
- 1:44
session and I've installed the Tailwind
- 1:46
extension for vs code the first thing
- 1:48
we'll want to do is generate a project
- 1:50
with a JavaScript framework like react
- 1:52
view angular spelt Etc one of the major
- 1:55
reasons Tailwind is so popular is
- 1:56
because it works really well with
- 1:58
component-based JavaScript library


