Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

🎉 Announcing Radix Themes—a beautiful, open source component library that’s built on top of the primitives so many developers love.

297,686 görüntüleme • 2 yıl önce •via X (Twitter)

13 Yorum

Radix by WorkOS profil fotoğrafı
Radix by WorkOS2 yıl önce

Get Radix Themes here:

Radix by WorkOS profil fotoğrafı
Radix by WorkOS2 yıl önce

That’s 45 components, 100’s of variants, a handful of simple, yet powerful primitives for layout, and an extensive token system provided via CSS variables. We can’t wait to see what you will build with it.

Radix by WorkOS profil fotoğrafı
Radix by WorkOS2 yıl önce

As usual, we obsessed over the developer experience. It’s super easy to get started—just import the stylesheet, wrap your app in Theme provider, and go! No config is required.

Radix by WorkOS profil fotoğrafı
Radix by WorkOS2 yıl önce

Of course, you can customize your theme. Let’s start with colors. There’s more than 20 hues to choose from. We even allow you to pair your accent color with a tinted gray.

Radix by WorkOS profil fotoğrafı
Radix by WorkOS2 yıl önce

In fact, we just shipped a huge update to our color system, which powers Radix Themes: You automatically get beautiful light and dark mode palettes, a transparent version of any color, and accessible contrast ratios out of the box.

Radix by WorkOS profil fotoğrafı
Radix by WorkOS2 yıl önce

If you want to use your own brand colors, you can pop the hood and update the corresponding CSS variables in your app:

Radix by WorkOS profil fotoğrafı
Radix by WorkOS2 yıl önce

Here’s a cool detail for design nerds—components that sit on a panel, like Card or Table, are a little translucent, which lets some of the background through. Of course, you can turn it off if you are after a different look and feel.

Radix by WorkOS profil fotoğrafı
Radix by WorkOS2 yıl önce

You can also customize the border radius and scaling of your components. We built a playground with all components and theme options on a single page:

Radix by WorkOS profil fotoğrafı
Radix by WorkOS2 yıl önce

What about fonts? Out of the box, you get system fonts with no external dependencies. We value good typography, so there is a number of typographic components to choose from. Your main ones are Text, Heading, and Code. Each comes with a type scale and a set of weights.

Radix by WorkOS profil fotoğrafı
Radix by WorkOS2 yıl önce

Of course, we haven’t forgotten about the design details on some of the lesser typographic elements. Here’s a Kbd, representing a computer key or a shortcut, and Em, set in an italic font.

Radix by WorkOS profil fotoğrafı
Radix by WorkOS2 yıl önce

You can also use Radix Themes with your own fonts. Like with colors, there’s an extensive system of CSS variables that make it easy to swap the font, tweak the type scale, or even font metrics for a specific component:

Radix by WorkOS profil fotoğrafı
Radix by WorkOS2 yıl önce

Let’s talk about styles. 1️⃣ Is Radix Themes a styling solution? – No. 2️⃣ Are you expected to write styles? – Sometimes, more if you feel adventurous. 3️⃣ I want to use Radix Themes with my favourite CSS tech. Will it work? – Yes!

Radix by WorkOS profil fotoğrafı
Radix by WorkOS2 yıl önce

Here’re the tools that Radix Themes provides: ➡️ Ready-made components with sensible APIs and dozens of variations ➡️ Layout primitives to keep the layout responsibilities contained ➡️ Design tokens to build your own custom components with a similar look and feel

Benzer Videolar