@chakra-ui/core APIs
- Text
- Heading
- Box
- Button
- Flex
- Stack
- useDisclosure
- Link
- ThemeProvider
- Spinner
- Input
- CSSReset
- IconButton
- InputGroup
- Badge
- Modal
- ModalOverlay
- ModalContent
- ModalCloseButton
- ModalBody
- theme
- List
- ListItem
- FormControl
- Icon
- Avatar
- PseudoBox
- AccordionIcon
- AccordionItem
- AccordionPanel
- ModalHeader
- ChakraProvider
- FormLabel
- FormErrorMessage
- InputRightElement
- Image
- Select
- Tooltip
- Alert
- AlertDescription
- Textarea
- InputLeftElement
- Menu
- ModalFooter
- SimpleGrid
- AccordionHeader
- AspectRatioBox
- useToast
- useColorMode
- useColorModeValue
- Drawer
- DrawerOverlay
- DrawerContent
- DrawerBody
- Accordion
- FormHelperText
- Radio
- AlertDialog
- AlertDialogBody
- AlertDialogFooter
- AlertDialogHeader
- AlertDialogContent
- AlertDialogOverlay
- CheckboxGroup
- Checkbox
- RadioButtonGroup
- MenuButton
- MenuOptionGroup
- MenuItemOption
- MenuList
- MenuItem
- Progress
- extendTheme
- DarkMode
- DrawerCloseButton
- css
- Grid
- SlideIn
- Tabs
- TabList
- Tab
- Slider
- SliderTrack
- SliderFilledTrack
- SliderThumb
- Divider
- Popover
- PopoverTrigger
- PopoverContent
- PopoverBody
- VStack
- Breadcrumb
- BreadcrumbItem
- BreadcrumbLink
- AlertIcon
- AlertTitle
- Stat
- StatLabel
- StatNumber
- StatHelpText
- StatGroup
OtherRelated APIs
@chakra-ui/core#AlertTitle JavaScript Examples
The following examples show how to use
@chakra-ui/core#AlertTitle.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: error.js From space-rockets-challenge with MIT License | 6 votes |
export default function Error() {
return (
<Flex alignItems="center" justifyContent="center" width="100%">
<Alert
status="error"
variant="left-accent"
flexDirection="column"
justifyContent="center"
textAlign="center"
p="8"
>
<AlertIcon size="6" mr={0} />
<AlertTitle mt={4} mb={1} fontSize="lg">
Problems loading the data
</AlertTitle>
<AlertDescription maxWidth="md">
If the problem persists, try to refresh the page or wait a few minutes
and try again.
</AlertDescription>
</Alert>
</Flex>
);
}