"use client" import { Annoucement } from "@/components/annoucement" import { DemoFrame, DemoFrameContent, DemoFrameText, } from "@/components/site/demo-frame" import { HighlightHeading, Subheading } from "@/components/site/typography" import { Box, Button, Center, Container, HStack, Menu, Portal, Span, Stack, Tabs, } from "@chakra-ui/react" import { PinInput } from "compositions/ui/pin-input" import { Slider } from "compositions/ui/slider" import { Switch } from "compositions/ui/switch" import Link from "next/link" import { HiArrowRight } from "react-icons/hi" import { LuPartyPopper, LuTerminal } from "react-icons/lu" const tabsData = [ { label: "Chakra", content: "Chakra UI is a component library for building web applications.", }, { label: "Ark", content: "Ark UI is a headless library for building reusable, scalable design systems", }, { label: "Zag", content: "Zag.js provides a set of UI components powered by Finite State Machines", }, ] const ComponentDemos = () => { return ( Slider Pin Input {tabsData.map((tab, index) => ( {tab.label} ))} {tabsData.map((tab, index) => ( {tab.content} ))} Tabs { setTimeout(() => { if (e.key === "Tab" && !e.shiftKey) { document.getElementById("switch")?.focus() } else if (e.key === "Tab" && e.shiftKey) { document.getElementById("menu")?.focus() } }, 0) }} > New Text File New File... New Window Menu Switch ) } export const HeroSection = () => ( [New] Tree View component Chakra UI is a component system for building products with speed Accessible React components for building high-quality web apps and design systems. Works with Next.js RSC
npm i @chakra-ui/react
)