url
stringlengths
17
87
content
stringlengths
152
81.8k
https://www.chakra-ui.com/docs/components/drawer
1. Components 2. Drawer # Drawer Used to render a content that slides in from the side of the screen. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/drawer)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-drawer--basic)[Recipe](https://github.com/chakra...
https://www.chakra-ui.com/docs/components/fieldset
1. Components 2. Fieldset # Fieldset A set of form controls optionally grouped under a common name. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/fieldset)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-fieldset--basic)[Recipe](https://github.com/chak...
https://www.chakra-ui.com/docs/components/color-picker
1. Components 2. Color Picker # Color Picker Used to select colors from a color area or a set of defined swatches [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/color-picker)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-color-picker--basic)[Recipe](h...
https://www.chakra-ui.com/docs/components/dialog
1. Components 2. Dialog # Dialog Used to display a dialog prompt [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/dialog)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-dialog--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/main/packages/reac...
https://www.chakra-ui.com/docs/components/hover-card
1. Components 2. Hover Card # Hover Card Used to display content when hovering over an element [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/hover-card)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-hover-card--basic)[Recipe](https://github.com/chakr...
https://www.chakra-ui.com/docs/components/empty-state
1. Components 2. Empty State # Empty State Used to indicate when a resource is empty or unavailable. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/empty-state)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-empty-state--basic)[Recipe](https://github.c...
https://www.chakra-ui.com/docs/components/image
1. Components 2. Image # Image Used to display images PreviewCode ![Dan Abramov](https://bit.ly/dan-abramov) ``` import { Image } from "@chakra-ui/react" export const ImageBasic = () => ( <Image rounded="md" src="https://bit.ly/dan-abramov" alt="Dan Abramov" /> ) ``` ## [Usage]() ``` import { Image } from "@c...
https://www.chakra-ui.com/docs/components/icon
1. Components 2. Icon # Icon Used to display an svg icon [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/icon)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-icon--basic) PreviewCode ``` import { Icon } from "@chakra-ui/react" import { HiHeart } from ...
https://www.chakra-ui.com/docs/components/icon-button
1. Components 2. Icon Button # Icon Button Used to render an icon within a button [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/button)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-icon-button--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/t...
https://www.chakra-ui.com/docs/components/menu
1. Components 2. Menu # Menu Used to create an accessible dropdown menu [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/menu)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-menu--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/main/packages/r...
https://www.chakra-ui.com/docs/components/field
1. Components 2. Field # Field Used to add labels, help text, and error messages to form fields. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/field)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-field--basic)[Recipe](https://github.com/chakra-ui/cha...
https://www.chakra-ui.com/docs/components/input
1. Components 2. Input # Input Used to get user input in a text field. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/input)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-input--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/main/packages/...
https://www.chakra-ui.com/docs/components/file-upload
1. Components 2. File Upload # File Upload Used to select and upload files from their device. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/file-upload)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-file-upload--basic)[Recipe](https://github.com/chak...
https://www.chakra-ui.com/docs/components/pagination
1. Components 2. Pagination # Pagination Used to navigate through a series of pages. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/pagination)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-pagination--basic)[Ark](https://ark-ui.com/react/docs/compone...
https://www.chakra-ui.com/docs/components/number-input
1. Components 2. Number Input # Number Input Used to enter a number, and increment or decrement the value using stepper buttons. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/number-input)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-numberinput--ba...
https://www.chakra-ui.com/docs/components/password-input
1. Components 2. Password Input # Password Input Used to collect passwords. PreviewCode ``` import { PasswordInput } from "@/components/ui/password-input" const Demo = () => { return <PasswordInput /> } ``` ## [Setup]() If you don't already have the snippet, run the following command to add the `password-input...
https://www.chakra-ui.com/docs/components/progress-circle
1. Components 2. Progress Circle # Progress Circle Used to display a task's progress in a circular form. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/progress-circle)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-progress-circle--basic)[Recipe](http...
https://www.chakra-ui.com/docs/components/progress
1. Components 2. Progress # Progress Used to display the progress status for a task. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/progress)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-progress--basic)[Recipe](https://github.com/chakra-ui/chakra-ui...
https://www.chakra-ui.com/docs/components/radio-card
1. Components 2. Radio Card # Radio Card Used to select an option from list [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/radio-card)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-radio-card--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree...
https://www.chakra-ui.com/docs/components/popover
1. Components 2. Popover # Popover Used to show detailed information inside a pop-up [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/popover)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-popover--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/t...
https://www.chakra-ui.com/docs/components/segmented-control
1. Components 2. Segmented Control # Segmented Control Used to pick one choice from a linear set of options [Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-segmented-control--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/theme/recipes/segmented-group.ts)[A...
https://www.chakra-ui.com/docs/components/radio
1. Components 2. Radio # Radio Used to select one option from several options [Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-radio--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/theme/recipes/radio-group.ts)[Ark](https://ark-ui.com/react/docs/components/r...
https://www.chakra-ui.com/docs/components/rating
1. Components 2. Rating # Rating Used to show reviews and ratings in a visual format. [Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-rating--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/theme/recipes/rating.ts)[Ark](https://ark-ui.com/react/docs/componen...
https://www.chakra-ui.com/docs/components/native-select
1. Components 2. Select (Native) # Select (Native) Used to pick a value from predefined options. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/native-select)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-native-select--basic)[Recipe](https://github.c...
https://www.chakra-ui.com/docs/components/separator
1. Components 2. Separator # Separator Used to visually separate content [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/separator)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-separator--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/main...
https://www.chakra-ui.com/docs/components/skeleton
1. Components 2. Skeleton # Skeleton Used to render a placeholder while the content is loading. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/skeleton)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-skeleton--basic)[Recipe](https://github.com/chakra-u...
https://www.chakra-ui.com/docs/components/pin-input
1. Components 2. Pin Input # Pin Input Used to capture a pin code or otp from the user [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/pin-input)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-pin-input--basic)[Recipe](https://github.com/chakra-ui/chakr...
https://www.chakra-ui.com/docs/components/slider
1. Components 2. Slider # Slider Used to allow users to make selections from a range of values. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/slider)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-slider--basic)[Recipe](https://github.com/chakra-ui/ch...
https://www.chakra-ui.com/docs/components/spinner
1. Components 2. Spinner # Spinner Used to provide a visual cue that an action is processing [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/spinner)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-spinner--basic)[Recipe](https://github.com/chakra-ui/cha...
https://www.chakra-ui.com/docs/components/status
1. Components 2. Status # Status Used to indicate the status of a process or state [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/status)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-status--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/...
https://www.chakra-ui.com/docs/components/select
1. Components 2. Select # Select Used to pick a value from predefined options. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/select)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-select--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/main...
https://www.chakra-ui.com/docs/components/switch
1. Components 2. Switch # Switch Used to capture a binary state [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/switch)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-switch--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react...
https://www.chakra-ui.com/docs/components/steps
1. Components 2. Steps # Steps Used to indicate progress through a multi-step process [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/steps)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-steps--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree...
https://www.chakra-ui.com/docs/components/textarea
1. Components 2. Textarea # Textarea Used to enter multiple lines of text. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/textarea)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-textarea--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/main...
https://www.chakra-ui.com/docs/components/timeline
1. Components 2. Timeline # Timeline Used to display a list of events in chronological order [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/timeline)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-timeline--basic)[Recipe](https://github.com/chakra-ui/c...
https://www.chakra-ui.com/docs/components/tabs
1. Components 2. Tabs # Tabs Used to display content in a tabbed interface [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/tabs)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-tabs--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/main/package...
https://www.chakra-ui.com/docs/components/table
1. Components 2. Table # Table Used to display data in a tabular format. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/table)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-table--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/main/package...
https://www.chakra-ui.com/docs/components/toggle-tip
1. Components 2. Toggle Tip # Toggle Tip Looks like a tooltip, but works like a popover. PreviewCode This is some additional information. ``` import { Button } from "@/components/ui/button" import { ToggleTip } from "@/components/ui/toggle-tip" import { LuInfo } from "react-icons/lu" const Demo = () => { return...
https://www.chakra-ui.com/docs/components/stat
1. Components 2. Stat # Stat Used to display a statistic with a title and value. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/stat)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-stat--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/main/p...
https://www.chakra-ui.com/docs/components/tag
1. Components 2. Tag # Tag Used for categorizing or labeling content [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/tag)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-tag--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/...
https://www.chakra-ui.com/docs/components/toast
1. Components 2. Toast # Toast Used to display a temporary message to the user [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/toast)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-toast--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/main/p...
https://www.chakra-ui.com/docs/components/tooltip
1. Components 2. Tooltip # Tooltip Used to display additional information when a user hovers over an element. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/tooltip)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-tooltip--basic)[Recipe](https://github....
https://www.chakra-ui.com/docs/components/client-only
1. Utilities 2. ClientOnly # Client Only Used to render content only on the client side. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/client-only) ## [Usage]() ``` import { ClientOnly, Skeleton } from "@chakra-ui/react" ``` ``` <ClientOnly fallback={<Skeleton />}> <Col...
https://www.chakra-ui.com/docs/components/locale-provider
1. Utilities 2. LocaleProvider # Locale Provider Used for globally setting the locale ## [Usage]() The `LocaleProvider` component sets the locale for your app, formatting dates, numbers, and other locale-specific data. Most Chakra UI components that read the locale set by the `LocaleProvider`. ``` import { Locale...
https://www.chakra-ui.com/docs/components/environment-provider
1. Utilities 2. EnvironmentProvider # Environment Provider Used to render components in iframes, Shadow DOM, or Electron. [Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-environment-provider--basic)[Recipe](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/theme/recipes/envi...
https://www.chakra-ui.com/docs/components/for
1. Utilities 2. For # For Used to loop over an array and render a component for each item. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/for)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-for--basic) PreviewCode One Two Three ``` import { For } ...
https://www.chakra-ui.com/docs/components/portal
1. Utilities 2. Portal # Portal Used to render an element outside the DOM hierarchy. ## [Usage]() The `Portal` uses the `ReactDOM.createPortal` API to render an element at the end of `document.body` or specific container. ``` import { Portal } from "@chakra-ui/react" ``` ``` <Portal> <div>Portal content</div> <...
https://www.chakra-ui.com/docs/components/format-byte
1. Utilities 2. FormatByte # Format Byte Used to format bytes to a human-readable format [Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-format-byte--basic)[Ark](https://ark-ui.com/react/docs/utilities/format-byte) PreviewCode File size: 1.45 kB ``` import { FormatByte, Text } from "@chakr...
https://www.chakra-ui.com/docs/components/show
1. Utilities 2. Show # Show Used to conditional render part of the view based on a condition. PreviewCode Value: 0 ``` "use client" import { Button, Show, Stack } from "@chakra-ui/react" import { useState } from "react" const Demo = () => { const [count, setCount] = useState(0) return ( <Stack align="fle...
https://www.chakra-ui.com/docs/components/format-number
1. Utilities 2. FormatNumber # Format Number Used to format numbers to a specific locale and options [Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-format-number--basic)[Ark](https://ark-ui.com/react/docs/utilities/format-number) PreviewCode 1,450.45 ``` import { FormatNumber, Text } from...
https://www.chakra-ui.com/docs/components/pagination?page=3
1. Components 2. Pagination # Pagination Used to navigate through a series of pages. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/pagination)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-pagination--basic)[Ark](https://ark-ui.com/react/docs/compone...
https://www.chakra-ui.com/docs/components/pagination?page=1
1. Components 2. Pagination # Pagination Used to navigate through a series of pages. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/pagination)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-pagination--basic)[Ark](https://ark-ui.com/react/docs/compone...
https://www.chakra-ui.com/docs/components/pagination?page=2
1. Components 2. Pagination # Pagination Used to navigate through a series of pages. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/pagination)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-pagination--basic)[Ark](https://ark-ui.com/react/docs/compone...
https://www.chakra-ui.com/docs/components/pagination?page=4
1. Components 2. Pagination # Pagination Used to navigate through a series of pages. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/pagination)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-pagination--basic)[Ark](https://ark-ui.com/react/docs/compone...
https://www.chakra-ui.com/docs/components/pagination?page=5
1. Components 2. Pagination # Pagination Used to navigate through a series of pages. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/pagination)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-pagination--basic)[Ark](https://ark-ui.com/react/docs/compone...
https://www.chakra-ui.com/docs/components/pagination?page=10
1. Components 2. Pagination # Pagination Used to navigate through a series of pages. [Source](https://github.com/chakra-ui/chakra-ui/tree/main/packages/react/src/components/pagination)[Storybook](https://storybook.chakra-ui.com/?path=%2Fstory%2Fcomponents-pagination--basic)[Ark](https://ark-ui.com/react/docs/compone...