···11+---
22+alwaysApply: false
33+---
44+55+## Components
66+77+- Use components from @apps/docs/src/components/
88+- Prefer to use the @apps/docs/src/components/flex or @apps/docs/src/components/flex/index.tsx for layout
99+- Dont write custom styles for text, instead use the @apps/docs/src/components/text/index.tsx component.
1010+1111+## Custom styles
1212+1313+- If you need to apply colors use @apps/docs/src/components/theme/semantic-color.stylex.tsx
1414+- If you need to apply spacing use the tokens in @apps/docs/src/components/theme/spacing.stylex.tsx
1515+- If you need to apply radius use the tokens in @apps/docs/src/components/theme/radius.stylex.tsx
1616+- If you need to apply shadow use the tokens in @apps/docs/src/components/theme/shadow.stylex.tsx
1717+- If you need to apply animations use the tokens in @apps/docs/src/components/theme/animations.stylex.tsx
1818+- If you need to apply text styles in a stylex block use the tokens in @apps/docs/src/components/theme/typography.stylex.tsx
···25252626## Related Components
27272828-- [Dialog](/components/dialog) - For general modal dialogs
2929-- [Button](/components/button) - For dialog action buttons
3030-- [Popover](/components/popover) - For non-modal overlays
3131-- [Tooltip](/components/tooltip) - For contextual help
2828+- [Dialog](/docs/components/dialog) - For general modal dialogs
2929+- [Button](/docs/components/button) - For dialog action buttons
3030+- [Popover](/docs/components/popover) - For non-modal overlays
3131+- [Tooltip](/docs/components/tooltip) - For contextual help
+4-4
apps/docs/src/docs/components/aspect-ratio.mdx
···34343535## Related Components
36363737-- [Card](/components/card) - For cards with aspect ratio images
3838-- [Grid](/components/grid) - For grid layouts with aspect ratio items
3939-- [Flex](/components/flex) - For flex layouts with aspect ratio items
4040-- [Avatar](/components/avatar) - For user avatars with consistent aspect ratios3737+- [Card](/docs/components/card) - For cards with aspect ratio images
3838+- [Grid](/docs/components/grid) - For grid layouts with aspect ratio items
3939+- [Flex](/docs/components/flex) - For flex layouts with aspect ratio items
4040+- [Avatar](/docs/components/avatar) - For user avatars with consistent aspect ratios
+4-4
apps/docs/src/docs/components/avatar.mdx
···48484949## Related Components
50505151-- [Badge](/components/badge) - For status indicators on avatars
5252-- [Card](/components/card) - For cards with user avatars
5353-- [AspectRatio](/components/aspect-ratio) - For maintaining avatar aspect ratios
5454-- [Typography](/components/typography) - For text alongside avatars5151+- [Badge](/docs/components/badge) - For status indicators on avatars
5252+- [Card](/docs/components/card) - For cards with user avatars
5353+- [AspectRatio](/docs/components/aspect-ratio) - For maintaining avatar aspect ratios
5454+- [Typography](/docs/components/typography) - For text alongside avatars
+4-4
apps/docs/src/docs/components/badge.mdx
···55555656## Related Components
57575858-- [Avatar](/components/avatar) - For user avatars with status badges
5959-- [Card](/components/card) - For cards with status badges
6060-- [Table](/components/table) - For table cells with status badges
6161-- [Button](/components/button) - For buttons with notification badges
5858+- [Avatar](/docs/components/avatar) - For user avatars with status badges
5959+- [Card](/docs/components/card) - For cards with status badges
6060+- [Table](/docs/components/table) - For table cells with status badges
6161+- [Button](/docs/components/button) - For buttons with notification badges
+4-4
apps/docs/src/docs/components/button-group.mdx
···25252626## Related Components
27272828-- [Button](/components/button) - Individual buttons within the group
2929-- [IconButton](/components/icon-button) - Icon-only buttons for the group
3030-- [ToggleButton](/components/toggle-button) - Toggleable buttons for the group
3131-- [ToggleButtonGroup](/components/toggle-button-group) - For grouping toggle buttons specifically
2828+- [Button](/docs/components/button) - Individual buttons within the group
2929+- [IconButton](/docs/components/icon-button) - Icon-only buttons for the group
3030+- [ToggleButton](/docs/components/toggle-button) - Toggleable buttons for the group
3131+- [ToggleButtonGroup](/docs/components/toggle-button-group) - For grouping toggle buttons specifically
+4-4
apps/docs/src/docs/components/button.mdx
···62626363## Related Components
64646565-- [IconButton](/components/icon-button) - For icon-only buttons
6666-- [ToggleButton](/components/toggle-button) - For toggleable buttons
6767-- [ButtonGroup](/components/button-group) - For grouping buttons together
6868-- [Link](/components/link) - For navigation links that look like buttons
6565+- [IconButton](/docs/components/icon-button) - For icon-only buttons
6666+- [ToggleButton](/docs/components/toggle-button) - For toggleable buttons
6767+- [ButtonGroup](/docs/components/button-group) - For grouping buttons together
6868+- [Link](/docs/components/link) - For navigation links that look like buttons
+4-4
apps/docs/src/docs/components/card.mdx
···55555656## Related Components
57575858-- [Table](/components/table) - For structured data display
5959-- [Badge](/components/badge) - For status indicators in cards
6060-- [Button](/components/button) - For card actions
6161-- [AspectRatio](/components/aspect-ratio) - For card images
5858+- [Table](/docs/components/table) - For structured data display
5959+- [Badge](/docs/components/badge) - For status indicators in cards
6060+- [Button](/docs/components/button) - For card actions
6161+- [AspectRatio](/docs/components/aspect-ratio) - For card images
+4-4
apps/docs/src/docs/components/checkbox.mdx
···41414242## Related Components
43434444-- [Radio](/components/radio) - For single selection from multiple options
4545-- [Switch](/components/switch) - For binary toggle choices
4646-- [Select](/components/select) - For dropdown selection
4747-- [Label](/components/label) - For form labels and descriptions
4444+- [Radio](/docs/components/radio) - For single selection from multiple options
4545+- [Switch](/docs/components/switch) - For binary toggle choices
4646+- [Select](/docs/components/select) - For dropdown selection
4747+- [Label](/docs/components/label) - For form labels and descriptions
+4-4
apps/docs/src/docs/components/color-field.mdx
···25252626## Related Components
27272828-- [ColorSwatch](/components/color-swatch) - For displaying color values
2929-- [TextField](/components/text-field) - For general text input
3030-- [NumberField](/components/number-field) - For numeric input
3131-- [Label](/components/label) - For form labels and descriptions
2828+- [ColorSwatch](/docs/components/color-swatch) - For displaying color values
2929+- [TextField](/docs/components/text-field) - For general text input
3030+- [NumberField](/docs/components/number-field) - For numeric input
3131+- [Label](/docs/components/label) - For form labels and descriptions
+4-4
apps/docs/src/docs/components/color-swatch.mdx
···25252626## Related Components
27272828-- [ColorField](/components/color-field) - For color input with color swatches
2929-- [Card](/components/card) - For displaying color swatches in cards
3030-- [Grid](/components/grid) - For organizing color swatches in grids
3131-- [Button](/components/button) - For interactive color swatches
2828+- [ColorField](/docs/components/color-field) - For color input with color swatches
2929+- [Card](/docs/components/card) - For displaying color swatches in cards
3030+- [Grid](/docs/components/grid) - For organizing color swatches in grids
3131+- [Button](/docs/components/button) - For interactive color swatches
+4-4
apps/docs/src/docs/components/combobox.mdx
···25252626## Related Components
27272828-- [Select](/components/select) - For dropdown selection without search
2929-- [SearchField](/components/search-field) - For search input with clear button
3030-- [TextField](/components/text-field) - For general text input
3131-- [Label](/components/label) - For form labels and descriptions
2828+- [Select](/docs/components/select) - For dropdown selection without search
2929+- [SearchField](/docs/components/search-field) - For search input with clear button
3030+- [TextField](/docs/components/text-field) - For general text input
3131+- [Label](/docs/components/label) - For form labels and descriptions
+4-4
apps/docs/src/docs/components/command-menu.mdx
···25252626## Related Components
27272828-- [SearchField](/components/search-field) - For the search input in command menus
2929-- [Menu](/components/menu) - The underlying menu component
3030-- [Dialog](/components/dialog) - For the modal container
3131-- [ListBox](/components/listbox) - For displaying command results
2828+- [SearchField](/docs/components/search-field) - For the search input in command menus
2929+- [Menu](/docs/components/menu) - The underlying menu component
3030+- [Dialog](/docs/components/dialog) - For the modal container
3131+- [ListBox](/docs/components/listbox) - For displaying command results
+4-4
apps/docs/src/docs/components/context-menu.mdx
···25252626## Related Components
27272828-- [Menu](/components/menu) - The underlying menu component
2929-- [Popover](/components/popover) - For positioning the context menu
3030-- [CommandMenu](/components/command-menu) - For command palette menus
3131-- [Button](/components/button) - For context menu triggers
2828+- [Menu](/docs/components/menu) - The underlying menu component
2929+- [Popover](/docs/components/popover) - For positioning the context menu
3030+- [CommandMenu](/docs/components/command-menu) - For command palette menus
3131+- [Button](/docs/components/button) - For context menu triggers
+4-4
apps/docs/src/docs/components/date-field.mdx
···25252626## Related Components
27272828-- [TimeField](/components/time-field) - For time input
2929-- [TextField](/components/text-field) - For general text input
3030-- [NumberField](/components/number-field) - For numeric input
3131-- [Label](/components/label) - For form labels and descriptions
2828+- [TimeField](/docs/components/time-field) - For time input
2929+- [TextField](/docs/components/text-field) - For general text input
3030+- [NumberField](/docs/components/number-field) - For numeric input
3131+- [Label](/docs/components/label) - For form labels and descriptions
+4-4
apps/docs/src/docs/components/dialog.mdx
···41414242## Related Components
43434444-- [AlertDialog](/components/alert-dialog) - For critical actions and confirmations
4545-- [Popover](/components/popover) - For non-modal overlays
4646-- [Button](/components/button) - For dialog action buttons
4747-- [Form](/components/form) - For forms within dialogs
4444+- [AlertDialog](/docs/components/alert-dialog) - For critical actions and confirmations
4545+- [Popover](/docs/components/popover) - For non-modal overlays
4646+- [Button](/docs/components/button) - For dialog action buttons
4747+- [Form](/docs/components/form) - For forms within dialogs
+4-4
apps/docs/src/docs/components/file-drop-zone.mdx
···25252626## Related Components
27272828-- [Button](/components/button) - For file upload triggers
2929-- [Card](/components/card) - For containing file drop zones
3030-- [Badge](/components/badge) - For file upload status indicators
3131-- [Typography](/components/typography) - For file upload instructions
2828+- [Button](/docs/components/button) - For file upload triggers
2929+- [Card](/docs/components/card) - For containing file drop zones
3030+- [Badge](/docs/components/badge) - For file upload status indicators
3131+- [Typography](/docs/components/typography) - For file upload instructions
+4-4
apps/docs/src/docs/components/flex.mdx
···55555656## Related Components
57575858-- [Grid](/components/grid) - For two-dimensional layouts
5959-- [Card](/components/card) - For grouping content in flex layouts
6060-- [ButtonGroup](/components/button-group) - For grouping buttons in flex layouts
6161-- [Separator](/components/separator) - For visual separation in flex layouts
5858+- [Grid](/docs/components/grid) - For two-dimensional layouts
5959+- [Card](/docs/components/card) - For grouping content in flex layouts
6060+- [ButtonGroup](/docs/components/button-group) - For grouping buttons in flex layouts
6161+- [Separator](/docs/components/separator) - For visual separation in flex layouts
+4-4
apps/docs/src/docs/components/grid.mdx
···34343535## Related Components
36363737-- [Flex](/components/flex) - For one-dimensional flexible layouts
3838-- [Card](/components/card) - For grouping content in grid layouts
3939-- [AspectRatio](/components/aspect-ratio) - For maintaining aspect ratios in grid items
4040-- [Table](/components/table) - For structured data in grid layouts
3737+- [Flex](/docs/components/flex) - For one-dimensional flexible layouts
3838+- [Card](/docs/components/card) - For grouping content in grid layouts
3939+- [AspectRatio](/docs/components/aspect-ratio) - For maintaining aspect ratios in grid items
4040+- [Table](/docs/components/table) - For structured data in grid layouts
+4-4
apps/docs/src/docs/components/icon-button.mdx
···41414242## Related Components
43434444-- [Button](/components/button) - For buttons with text and icons
4545-- [ToggleButton](/components/toggle-button) - For toggleable icon buttons
4646-- [Tooltip](/components/tooltip) - For providing context on icon-only buttons
4747-- [ButtonGroup](/components/button-group) - For grouping icon buttons together
4444+- [Button](/docs/components/button) - For buttons with text and icons
4545+- [ToggleButton](/docs/components/toggle-button) - For toggleable icon buttons
4646+- [Tooltip](/docs/components/tooltip) - For providing context on icon-only buttons
4747+- [ButtonGroup](/docs/components/button-group) - For grouping icon buttons together
+4-4
apps/docs/src/docs/components/label.mdx
···34343535## Related Components
36363737-- [TextField](/components/text-field) - Form inputs that use labels
3838-- [Checkbox](/components/checkbox) - Form controls that use labels
3939-- [Radio](/components/radio) - Form controls that use labels
4040-- [Switch](/components/switch) - Form controls that use labels
3737+- [TextField](/docs/components/text-field) - Form inputs that use labels
3838+- [Checkbox](/docs/components/checkbox) - Form controls that use labels
3939+- [Radio](/docs/components/radio) - Form controls that use labels
4040+- [Switch](/docs/components/switch) - Form controls that use labels
+4-4
apps/docs/src/docs/components/link.mdx
···25252626## Related Components
27272828-- [Button](/components/button) - For action buttons that look like links
2929-- [IconButton](/components/icon-button) - For icon-only navigation buttons
3030-- [Typography](/components/typography) - For text styling and hierarchy
3131-- [Badge](/components/badge) - For status indicators on links
2828+- [Button](/docs/components/button) - For action buttons that look like links
2929+- [IconButton](/docs/components/icon-button) - For icon-only navigation buttons
3030+- [Typography](/docs/components/typography) - For text styling and hierarchy
3131+- [Badge](/docs/components/badge) - For status indicators on links
+4-4
apps/docs/src/docs/components/listbox.mdx
···25252626## Related Components
27272828-- [Select](/components/select) - For dropdown selection using ListBox
2929-- [ComboBox](/components/combobox) - For searchable selection using ListBox
3030-- [Tree](/components/tree) - For hierarchical data display
3131-- [Table](/components/table) - For structured data display
2828+- [Select](/docs/components/select) - For dropdown selection using ListBox
2929+- [ComboBox](/docs/components/combobox) - For searchable selection using ListBox
3030+- [Tree](/docs/components/tree) - For hierarchical data display
3131+- [Table](/docs/components/table) - For structured data display
+4-4
apps/docs/src/docs/components/menu.mdx
···25252626## Related Components
27272828-- [ContextMenu](/components/context-menu) - For right-click context menus
2929-- [CommandMenu](/components/command-menu) - For command palette menus
3030-- [Popover](/components/popover) - For menu containers
3131-- [Button](/components/button) - For menu triggers
2828+- [ContextMenu](/docs/components/context-menu) - For right-click context menus
2929+- [CommandMenu](/docs/components/command-menu) - For command palette menus
3030+- [Popover](/docs/components/popover) - For menu containers
3131+- [Button](/docs/components/button) - For menu triggers
+4-4
apps/docs/src/docs/components/number-field.mdx
···25252626## Related Components
27272828-- [TextField](/components/text-field) - For general text input
2929-- [TextArea](/components/text-area) - For multi-line text input
3030-- [SearchField](/components/search-field) - For search input with clear button
3131-- [Label](/components/label) - For form labels and descriptions
2828+- [TextField](/docs/components/text-field) - For general text input
2929+- [TextArea](/docs/components/text-area) - For multi-line text input
3030+- [SearchField](/docs/components/search-field) - For search input with clear button
3131+- [Label](/docs/components/label) - For form labels and descriptions
+4-4
apps/docs/src/docs/components/popover.mdx
···25252626## Related Components
27272828-- [Dialog](/components/dialog) - For modal overlays
2929-- [Tooltip](/components/tooltip) - For contextual help overlays
3030-- [Menu](/components/menu) - For dropdown menus
3131-- [ContextMenu](/components/context-menu) - For right-click context menus
2828+- [Dialog](/docs/components/dialog) - For modal overlays
2929+- [Tooltip](/docs/components/tooltip) - For contextual help overlays
3030+- [Menu](/docs/components/menu) - For dropdown menus
3131+- [ContextMenu](/docs/components/context-menu) - For right-click context menus
+4-4
apps/docs/src/docs/components/radio.mdx
···41414242## Related Components
43434444-- [Checkbox](/components/checkbox) - For multiple selection options
4545-- [Switch](/components/switch) - For binary toggle choices
4646-- [Select](/components/select) - For dropdown selection
4747-- [Label](/components/label) - For form labels and descriptions
4444+- [Checkbox](/docs/components/checkbox) - For multiple selection options
4545+- [Switch](/docs/components/switch) - For binary toggle choices
4646+- [Select](/docs/components/select) - For dropdown selection
4747+- [Label](/docs/components/label) - For form labels and descriptions
+4-4
apps/docs/src/docs/components/search-field.mdx
···25252626## Related Components
27272828-- [TextField](/components/text-field) - For general text input
2929-- [ComboBox](/components/combobox) - For searchable dropdown selection
3030-- [CommandMenu](/components/command-menu) - For command palette with search
3131-- [Label](/components/label) - For form labels and descriptions
2828+- [TextField](/docs/components/text-field) - For general text input
2929+- [ComboBox](/docs/components/combobox) - For searchable dropdown selection
3030+- [CommandMenu](/docs/components/command-menu) - For command palette with search
3131+- [Label](/docs/components/label) - For form labels and descriptions
+4-4
apps/docs/src/docs/components/select.mdx
···41414242## Related Components
43434444-- [ComboBox](/components/combobox) - For searchable dropdown selection
4545-- [Radio](/components/radio) - For single selection from multiple options
4646-- [Checkbox](/components/checkbox) - For multiple selection options
4747-- [Label](/components/label) - For form labels and descriptions
4444+- [ComboBox](/docs/components/combobox) - For searchable dropdown selection
4545+- [Radio](/docs/components/radio) - For single selection from multiple options
4646+- [Checkbox](/docs/components/checkbox) - For multiple selection options
4747+- [Label](/docs/components/label) - For form labels and descriptions
+4-4
apps/docs/src/docs/components/separator.mdx
···34343535## Related Components
36363737-- [Flex](/components/flex) - For layouts that use separators
3838-- [Card](/components/card) - For cards that use separators
3939-- [Menu](/components/menu) - For menu items with separators
4040-- [Typography](/components/typography) - For text sections with separators
3737+- [Flex](/docs/components/flex) - For layouts that use separators
3838+- [Card](/docs/components/card) - For cards that use separators
3939+- [Menu](/docs/components/menu) - For menu items with separators
4040+- [Typography](/docs/components/typography) - For text sections with separators
+4-4
apps/docs/src/docs/components/switch.mdx
···41414242## Related Components
43434444-- [Checkbox](/components/checkbox) - For multiple selection options
4545-- [Radio](/components/radio) - For single selection from multiple options
4646-- [ToggleButton](/components/toggle-button) - For toggleable button states
4747-- [Label](/components/label) - For form labels and descriptions
4444+- [Checkbox](/docs/components/checkbox) - For multiple selection options
4545+- [Radio](/docs/components/radio) - For single selection from multiple options
4646+- [ToggleButton](/docs/components/toggle-button) - For toggleable button states
4747+- [Label](/docs/components/label) - For form labels and descriptions
+4-4
apps/docs/src/docs/components/table.mdx
···25252626## Related Components
27272828-- [ListBox](/components/listbox) - For selectable list data
2929-- [Tree](/components/tree) - For hierarchical data display
3030-- [Card](/components/card) - For displaying table data in cards
3131-- [Badge](/components/badge) - For status indicators in table cells
2828+- [ListBox](/docs/components/listbox) - For selectable list data
2929+- [Tree](/docs/components/tree) - For hierarchical data display
3030+- [Card](/docs/components/card) - For displaying table data in cards
3131+- [Badge](/docs/components/badge) - For status indicators in table cells
+4-4
apps/docs/src/docs/components/text-area.mdx
···25252626## Related Components
27272828-- [TextField](/components/text-field) - For single-line text input
2929-- [NumberField](/components/number-field) - For numeric input
3030-- [SearchField](/components/search-field) - For search input with clear button
3131-- [Label](/components/label) - For form labels and descriptions
2828+- [TextField](/docs/components/text-field) - For single-line text input
2929+- [NumberField](/docs/components/number-field) - For numeric input
3030+- [SearchField](/docs/components/search-field) - For search input with clear button
3131+- [Label](/docs/components/label) - For form labels and descriptions
+4-4
apps/docs/src/docs/components/text-field.mdx
···55555656## Related Components
57575858-- [TextArea](/components/text-area) - For multi-line text input
5959-- [NumberField](/components/number-field) - For numeric input
6060-- [SearchField](/components/search-field) - For search input with clear button
6161-- [Label](/components/label) - For form labels and descriptions
5858+- [TextArea](/docs/components/text-area) - For multi-line text input
5959+- [NumberField](/docs/components/number-field) - For numeric input
6060+- [SearchField](/docs/components/search-field) - For search input with clear button
6161+- [Label](/docs/components/label) - For form labels and descriptions
+4-4
apps/docs/src/docs/components/time-field.mdx
···55555656## Related Components
57575858-- [DateField](/components/date-field) - For date input
5959-- [TextField](/components/text-field) - For general text input
6060-- [NumberField](/components/number-field) - For numeric input
6161-- [Label](/components/label) - For form labels and descriptions
5858+- [DateField](/docs/components/date-field) - For date input
5959+- [TextField](/docs/components/text-field) - For general text input
6060+- [NumberField](/docs/components/number-field) - For numeric input
6161+- [Label](/docs/components/label) - For form labels and descriptions
···41414242## Related Components
43434444-- [ToggleButton](/components/toggle-button) - Individual toggle buttons within the group
4545-- [ButtonGroup](/components/button-group) - For grouping regular buttons together
4646-- [Radio](/components/radio) - For single-selection from multiple options
4747-- [Checkbox](/components/checkbox) - For multiple-selection options
4444+- [ToggleButton](/docs/components/toggle-button) - Individual toggle buttons within the group
4545+- [ButtonGroup](/docs/components/button-group) - For grouping regular buttons together
4646+- [Radio](/docs/components/radio) - For single-selection from multiple options
4747+- [Checkbox](/docs/components/checkbox) - For multiple-selection options
+4-4
apps/docs/src/docs/components/toggle-button.mdx
···41414242## Related Components
43434444-- [Button](/components/button) - For regular clickable buttons
4545-- [IconButton](/components/icon-button) - For icon-only toggle buttons
4646-- [ToggleButtonGroup](/components/toggle-button-group) - For grouping toggle buttons together
4747-- [Switch](/components/switch) - For toggle switches with labels4444+- [Button](/docs/components/button) - For regular clickable buttons
4545+- [IconButton](/docs/components/icon-button) - For icon-only toggle buttons
4646+- [ToggleButtonGroup](/docs/components/toggle-button-group) - For grouping toggle buttons together
4747+- [Switch](/docs/components/switch) - For toggle switches with labels
+4-4
apps/docs/src/docs/components/tooltip.mdx
···54545555## Related Components
56565757-- [Popover](/components/popover) - For more complex overlay content
5858-- [IconButton](/components/icon-button) - Often used with tooltips for context
5959-- [Button](/components/button) - Can be enhanced with tooltips
6060-- [Badge](/components/badge) - Can be enhanced with tooltips for additional info
5757+- [Popover](/docs/components/popover) - For more complex overlay content
5858+- [IconButton](/docs/components/icon-button) - Often used with tooltips for context
5959+- [Button](/docs/components/button) - Can be enhanced with tooltips
6060+- [Badge](/docs/components/badge) - Can be enhanced with tooltips for additional info
+4-4
apps/docs/src/docs/components/tree.mdx
···25252626## Related Components
27272828-- [ListBox](/components/listbox) - For flat list data
2929-- [Table](/components/table) - For structured data display
3030-- [Card](/components/card) - For displaying tree data in cards
3131-- [Menu](/components/menu) - For hierarchical menu structures
2828+- [ListBox](/docs/components/listbox) - For flat list data
2929+- [Table](/docs/components/table) - For structured data display
3030+- [Card](/docs/components/card) - For displaying tree data in cards
3131+- [Menu](/docs/components/menu) - For hierarchical menu structures
+4-4
apps/docs/src/docs/components/typography.mdx
···48484949## Related Components
50505151-- [Link](/components/link) - For text links within typography
5252-- [Badge](/components/badge) - For status indicators in text
5353-- [Card](/components/card) - For containing typography content
5454-- [Label](/components/label) - For form labels and descriptions
5151+- [Link](/docs/components/link) - For text links within typography
5252+- [Badge](/docs/components/badge) - For status indicators in text
5353+- [Card](/docs/components/card) - For containing typography content
5454+- [Label](/docs/components/label) - For form labels and descriptions
+8
apps/docs/src/docs/showcase/ecommerce.mdx
···11+---
22+title: Ecommerce App
33+description: An example showing what building an ecommerce app looks like with Hip.
44+---
55+66+import { EcommerceApp } from "../../showcases/ecommerce";
77+88+<EcommerceApp />
+8
apps/docs/src/docs/showcase/invoice.mdx
···11+---
22+title: Invoice App
33+description: An example showing what building an invoice app looks like with Hip.
44+---
55+66+import { InvoiceApp } from "../../showcases/invoice";
77+88+<InvoiceApp />
+8
apps/docs/src/docs/showcase/music.mdx
···11+---
22+title: Music App
33+description: An example showing what building a music app looks like with Hip.
44+---
55+66+import { Music } from "../../showcases/music";
77+88+<Music />
+8-2
apps/docs/src/examples/alert-dialog/basic.tsx
···33 AlertDialogHeader,
44 AlertDialogFooter,
55 AlertDialogDescription,
66+ AlertDialogCancelButton,
77+ AlertDialogActionButton,
68} from "@/components/alert-dialog";
79import { Button } from "@/components/button";
810···1416 This action cannot be undone. This will permanently delete the item.
1517 </AlertDialogDescription>
1618 <AlertDialogFooter>
1717- <Button variant="secondary">Cancel</Button>
1818- <Button variant="critical">Delete</Button>
1919+ <AlertDialogCancelButton variant="secondary">
2020+ Cancel
2121+ </AlertDialogCancelButton>
2222+ <AlertDialogActionButton variant="critical">
2323+ Delete
2424+ </AlertDialogActionButton>
1925 </AlertDialogFooter>
2026 </AlertDialog>
2127 );
+12-5
apps/docs/src/examples/label/basic.tsx
···11+import { Flex } from "@/components/flex";
12import { Label, Description } from "@/components/label";
23import { TextField } from "@/components/text-field";
3445export function Basic() {
56 return (
66- <div>
77- <Label>Email Address</Label>
88- <TextField placeholder="Enter your email" />
99- <Description>We'll never share your email with anyone else.</Description>
1010- </div>
77+ <Flex direction="column" gap="2">
88+ <Label id="email-address">Email Address</Label>
99+ <TextField
1010+ aria-labelledby="email-address"
1111+ aria-describedby="email-address-description"
1212+ placeholder="Enter your email"
1313+ />
1414+ <Description id="email-address-description">
1515+ We'll never share your email with anyone else.
1616+ </Description>
1717+ </Flex>
1118 );
1219}