Loading video...
Video Failed to Load
š Announcing Radix Themesāa beautiful, open source component library thatās built on top of the primitives so many developers love.
297,712 views ⢠3 years ago ā¢via X (Twitter)
13 Comments

Get Radix Themes here:

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.

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.

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.

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.

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

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.

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:

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.

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.

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:

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!

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

