UNPKG

flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

146 lines (145 loc) 4.18 kB
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "components": { "description": "List of component names to generate styles for. Empty array enables automatic detection. \nSee https://flowbite-react.com/docs/customize/config#components for more details.", "type": "array", "items": { "type": "string", "enum": [ "*", "Accordion", "AccordionContent", "AccordionTitle", "Alert", "Avatar", "AvatarGroup", "AvatarGroupCounter", "Badge", "Banner", "BannerCollapseButton", "Blockquote", "Breadcrumb", "BreadcrumbItem", "Button", "ButtonGroup", "Card", "Carousel", "Checkbox", "Clipboard", "ClipboardWithIcon", "ClipboardWithIconText", "DarkThemeToggle", "Datepicker", "Drawer", "DrawerHeader", "DrawerItems", "Dropdown", "DropdownDivider", "DropdownHeader", "DropdownItem", "FileInput", "FloatingLabel", "Footer", "FooterBrand", "FooterCopyright", "FooterDivider", "FooterIcon", "FooterLink", "FooterLinkGroup", "FooterTitle", "HR", "HRIcon", "HRSquare", "HRText", "HRTrimmed", "HelperText", "Kbd", "Label", "List", "ListItem", "ListGroup", "ListGroupItem", "MegaMenu", "MegaMenuDropdown", "MegaMenuDropdownToggle", "Modal", "ModalBody", "ModalFooter", "ModalHeader", "Navbar", "NavbarBrand", "NavbarCollapse", "NavbarLink", "NavbarToggle", "Pagination", "PaginationButton", "Popover", "Progress", "Radio", "RangeSlider", "Rating", "RatingAdvanced", "RatingStar", "Select", "Sidebar", "SidebarCTA", "SidebarCollapse", "SidebarItem", "SidebarItemGroup", "SidebarItems", "SidebarLogo", "Spinner", "Table", "TableBody", "TableCell", "TableHead", "TableHeadCell", "TableRow", "TabItem", "Tabs", "TextInput", "Textarea", "Timeline", "TimelineBody", "TimelineContent", "TimelineItem", "TimelinePoint", "TimelineTime", "TimelineTitle", "Toast", "ToastToggle", "ToggleSwitch", "Tooltip" ] }, "uniqueItems": true }, "dark": { "description": "Whether to generate dark mode styles. \nSee https://flowbite-react.com/docs/customize/config#dark for more details.", "type": "boolean", "default": true }, "path": { "description": "Path where components will be created, relative to the project root. \nSee https://flowbite-react.com/docs/customize/config#path for more details.", "type": "string", "default": "src/components" }, "prefix": { "description": "Optional prefix to apply to all Tailwind CSS classes. \nSee https://flowbite-react.com/docs/customize/config#prefix for more details.", "type": "string" }, "rsc": { "description": "Whether to include the 'use client' directive for React Server Components. \nSee https://flowbite-react.com/docs/customize/config#rsc for more details.", "type": "boolean", "default": true }, "tsx": { "description": "Whether to use TypeScript (.tsx) or JavaScript (.jsx) for component creation. \nSee https://flowbite-react.com/docs/customize/config#tsx for more details.", "type": "boolean", "default": true } }, "required": ["components", "dark", "path", "prefix", "rsc", "tsx"] }