Overview of the Table component
The Table component displays data in rows and columns. It supports directional navigation keys for accessibility and optionally supports row selection and sorting.
website·Indexed 32 days ago
https://draft-ui.com/A collection of accessible, copy-and-pasteable components built with React Aria Components and Tailwind CSS. Draft UI provides a wide range of accessible primitives including buttons, modals, date pickers, and form inputs, with an optional CLI tool for faster installation.
Input component displays a form input field. It is a primitive component and is not intended for standalone use; instead, it serves as the base for higher-level components that handle raw text, such as TextField, NumberField, SearchField, and ComboBox.Select component displays a collapsible list of options, allowing the user to select a single item from the list.ProgressBar component is used to represent the progress of an operation over time, typically starting at zero and moving toward completion. It supports both determinate and indeterminate progress states. It is distinct from the Meter component, which is used for different measurement purposes. Common use cases include loading progress, download progress, or battery charge progress.Label component is used to display a label for a form input field or a component that resembles an input field. Note that Label is a primitive component and is not intended to be used in isolation. Many high-level input components—such as DatePicker, RadioGroup, Select, TextField, and Switch—automatically handle the linking of labels to their respective inputs.<Label>This is a label</Label>Meter component is used to represent a quantity within a known range or a fractional value. While visually similar to a ProgressBar, it is specifically intended for representing amounts or quantities such as storage space, download speed, or battery life.ComboBox component combines a text input with a listbox, enabling users to filter a list of options based on a search query.