Advertisement · 728 × 90

Posts by Aarón García

Code snippet that loads the Inter font in a Next.js project using the "next/font/google" package.

Code snippet that loads the Inter font in a Next.js project using the "next/font/google" package.

Ouch. Took me a while to realize why @nextjs.org was loading the Inter static font instead of the variable one. Turns out it loads the static font if you don't specify `axes: ['opsz']`

AFAIK this is not documented.

nextjs.org/docs/app/api...

1 year ago 0 0 0 0
Preview
Restyle - Zero Config CSS for React The simplest way to add CSS styles to your React components.

Hey @en-js.bsky.social @storyhb.com, from 1 to 10, how much of a bad idea is to ship a React (19) component library using inline `<style>` tags in components to have automatic CSS loading/code-splitting? Accepting the JS bundle size increase trade-off.

(kinda like restyle.dev, but homemade)

1 year ago 1 0 0 0

Take into account that @base-ui.com is unstyled. Think of it as a Radix primitives replacement.

1 year ago 1 0 1 0

Radix is dead, long live the Rad... @base-ui.com! 🎉

Design system creators, this is a must-explore library of React UI components. There is a lot of built-in functionality and interesting API design choices.

A few examples in a thread 🧵

1 year ago 18 4 4 0
Post image

This Week In React 214

Read/Subscribe:
thisweekinreact.com/newsletter/214

⚛️
- Base UI
- Custom Elements
- Next.js
- TanStack
- React Router
- Apollo
- Inertia
- Virtua
- MUI
- RoadmapUI
- Remotion
📱
- AndroidXR
- iOS targets
- Nitro
- Drag Select
- Volume Manager
- RNTL
- APNS
- brownfield

1 year ago 64 9 6 0

Everyone is asking about the differences between Radix and Base UI, which is an upcoming headless UI library we’ve been working on.

1 year ago 22 6 5 2

Looks fantastic.

I’m super curious about how much custom CSS (if any) was needed to support this effort.

1 year ago 1 0 1 0

@vladmoroz.bsky.social

1 year ago 1 0 0 0