Search results
A fully-featured React UI library. React server components All NextUI components already include the "use client" directive, which means you can import and use them directly in your RSC.
A fully-featured React UI library. Server side render (SSR) All NextUI components support cross-browser server-side rendering and provides a simple way to implement it in your project.
A responsive navigation header positioned on top side of your page that includes support for branding, links, navigation, collapse and more. import { Navbar } from "@nextui-org/react";
Next.js 13 introduces a new app/ directory folder structure. By default it uses React Server Components. To use NextUI in those components, you need to convert them into client-side component by adding a. 'use client'; at the top of your file. NextUI only works in client-side components.
Textarea. Textarea component is a multi-line Input which allows you to write large texts. import { Textarea } from '@nextui-org/react';
For more information about Next.js + NextUI SSR check out the documentation. Using NextUI components. Once NextUI is installed you can use any of the components as follows. NextUI uses tree-shaking so the unused modules will not be included in the bundle during the build process and each component is exported separately.
Text component is the used to render text and paragraphs within an interface using well-defined typographic styles. It renders a <p> tag by default. import { Text } from "@nextui-org/react";
Tables are used to display tabular data using rows and columns. They allow users to quickly scan, sort, compare, and take action on large amounts of data. Table implementation is based on @react-aria/table. import { Table } from '@nextui-org/react';
Container which sets a max-width and a default gap at each responsive breakpoint. NextUI gives you the best developer experience with all the features you need for building beautiful and modern websites and applications. import { Container, Card, Row, Text } from "@nextui-org/react"; export default function App() {.
Displays a dialog with a custom content that requires attention or provides additional information. import { Modal } from '@nextui-org/react';