Skip to main content

3 docs tagged with "styling"

View all tags

Portals and Modals

In this chapter, you learn how to implement modals using React's createPortal.

Styling overview

In this chapter, you get an overview of styling approaches in React and learn the characteristics of each approach and how to choose between them.

Tailwind CSS (React integration patterns)

A chapter for using Tailwind CSS, which has become the de facto standard in React development, practically in React. Setup and basics are left to a separate guide; this chapter covers patterns specific to React integration, such as variant design, the clsx / tailwind-merge / cn utilities, and integration with shadcn/ui.