Skip to content
LogoLogobaseui-cn
DocsComponentsBlocks

Getting Started

  • Introduction
  • Installation
  • Theming
  • Changelog
  • LLM Usage

Display

  • Button
  • Badge
  • Alert
  • Avatar
  • Card
  • Item
  • Separator
  • Scroll Area
  • Skeleton
  • Spinner
  • ProgressNew
  • ToggleNew
  • Toggle GroupNew

Form

  • Input
  • Textarea
  • Label
  • Field
  • Form
  • FieldsetNew
  • Checkbox
  • Checkbox GroupNew
  • Switch
  • Radio Group
  • Select
  • ComboboxNew
  • AutocompleteNew
  • SliderNew
  • Number FieldNew
  • Otp FieldStable
  • Date PickerNew
  • Time PickerNew
  • Input Group

Overlays

  • Dialog
  • Alert Dialog
  • DrawerNew
  • Popover
  • Tooltip
  • Preview CardNew
  • Dropdown Menu
  • ToastNew
  • CommandNew

Layout

  • Collapsible
  • Accordion
  • FrameNew
  • Tabs

Navigation & Data

  • Table
  • Data GridNew
  • Breadcrumb
  • Pagination
  • Menubar
  • Navigation Menu

Blocks

  • Empty State
  • Login
  • Sign Up

Label

An accessible label for form controls.

formprimitive
Loading preview...

Installation

Terminal
npx baseui-cn add label

Props

PropTypeDefaultDescription
required
booleanfalse

Shows a red asterisk

PreviousTextareaNext Field

On This Page

InstallationProps

baseui-cn · Copy and own.

DocsComponentsGitHubnpmChangelogLicense