repo
stringlengths
7
90
file_url
stringlengths
81
315
file_path
stringlengths
4
228
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:38:15
2026-01-05 02:33:18
truncated
bool
2 classes
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/slider.py
reflex/components/radix/themes/components/slider.py
"""Interactive components provided by @radix-ui/themes.""" from __future__ import annotations from collections.abc import Sequence from typing import Literal from reflex.components.component import Component from reflex.components.core.breakpoints import Responsive from reflex.components.radix.themes.base import Lit...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/tooltip.py
reflex/components/radix/themes/components/tooltip.py
"""Interactive components provided by @radix-ui/themes.""" from typing import Literal from reflex.components.component import Component from reflex.components.radix.themes.base import RadixThemesComponent from reflex.constants.compiler import MemoizationMode from reflex.event import EventHandler, no_args_event_spec, ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/aspect_ratio.py
reflex/components/radix/themes/components/aspect_ratio.py
"""Interactive components provided by @radix-ui/themes.""" from reflex.components.radix.themes.base import RadixThemesComponent from reflex.vars.base import Var class AspectRatio(RadixThemesComponent): """Displays content with a desired ratio.""" tag = "AspectRatio" # The ratio of the width to the heig...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/hover_card.py
reflex/components/radix/themes/components/hover_card.py
"""Interactive components provided by @radix-ui/themes.""" from typing import Literal from reflex.components.component import ComponentNamespace from reflex.components.core.breakpoints import Responsive from reflex.components.el import elements from reflex.components.radix.themes.base import ( RadixThemesComponen...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/checkbox.py
reflex/components/radix/themes/components/checkbox.py
"""Interactive components provided by @radix-ui/themes.""" from typing import Literal from reflex.components.component import Component, ComponentNamespace from reflex.components.core.breakpoints import Responsive from reflex.components.radix.themes.base import ( LiteralAccentColor, LiteralSpacing, RadixT...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/card.py
reflex/components/radix/themes/components/card.py
"""Interactive components provided by @radix-ui/themes.""" from typing import Literal from reflex.components.core.breakpoints import Responsive from reflex.components.el import elements from reflex.components.radix.themes.base import RadixThemesComponent from reflex.vars.base import Var class Card(elements.Div, Rad...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/checkbox_cards.py
reflex/components/radix/themes/components/checkbox_cards.py
"""Components for the Radix CheckboxCards component.""" from types import SimpleNamespace from typing import Literal from reflex.components.core.breakpoints import Responsive from reflex.components.radix.themes.base import LiteralAccentColor, RadixThemesComponent from reflex.vars.base import Var class CheckboxCards...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/skeleton.py
reflex/components/radix/themes/components/skeleton.py
"""Skeleton theme from Radix components.""" from reflex.components.core.breakpoints import Responsive from reflex.components.radix.themes.base import RadixLoadingProp, RadixThemesComponent from reflex.constants.compiler import MemoizationMode from reflex.vars.base import Var class Skeleton(RadixLoadingProp, RadixThe...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/scroll_area.py
reflex/components/radix/themes/components/scroll_area.py
"""Interactive components provided by @radix-ui/themes.""" from typing import Literal from reflex.components.radix.themes.base import RadixThemesComponent from reflex.vars.base import Var class ScrollArea(RadixThemesComponent): """Custom styled, cross-browser scrollable area using native functionality.""" ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/progress.py
reflex/components/radix/themes/components/progress.py
"""Progress from Radix Themes.""" from typing import Literal from reflex.components.component import Component from reflex.components.core.breakpoints import Responsive from reflex.components.radix.themes.base import LiteralAccentColor, RadixThemesComponent from reflex.style import Style from reflex.vars.base import ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/__init__.py
reflex/components/radix/themes/components/__init__.py
"""Radix themes components.""" from __future__ import annotations from reflex import RADIX_THEMES_COMPONENTS_MAPPING from reflex.utils import lazy_loader _SUBMOD_ATTRS: dict[str, list[str]] = { "".join(k.split("components.radix.themes.components.")[-1]): v for k, v in RADIX_THEMES_COMPONENTS_MAPPING.items() ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/callout.py
reflex/components/radix/themes/components/callout.py
"""Interactive components provided by @radix-ui/themes.""" from typing import Literal import reflex as rx from reflex.components.component import Component, ComponentNamespace from reflex.components.core.breakpoints import Responsive from reflex.components.el import elements from reflex.components.lucide.icon import ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/button.py
reflex/components/radix/themes/components/button.py
"""Interactive components provided by @radix-ui/themes.""" from typing import Literal from reflex.components.core.breakpoints import Responsive from reflex.components.el import elements from reflex.components.radix.themes.base import ( LiteralAccentColor, LiteralRadius, LiteralVariant, RadixLoadingPro...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/radio_cards.py
reflex/components/radix/themes/components/radio_cards.py
"""Radio component from Radix Themes.""" from types import SimpleNamespace from typing import ClassVar, Literal from reflex.components.core.breakpoints import Responsive from reflex.components.radix.themes.base import LiteralAccentColor, RadixThemesComponent from reflex.event import EventHandler, passthrough_event_sp...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/data_list.py
reflex/components/radix/themes/components/data_list.py
"""Components for the DataList component of Radix Themes.""" from types import SimpleNamespace from typing import Literal from reflex.components.core.breakpoints import Responsive from reflex.components.radix.themes.base import LiteralAccentColor, RadixThemesComponent from reflex.vars.base import Var class DataList...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/inset.py
reflex/components/radix/themes/components/inset.py
"""Interactive components provided by @radix-ui/themes.""" from typing import Literal from reflex.components.core.breakpoints import Responsive from reflex.components.el import elements from reflex.components.radix.themes.base import RadixThemesComponent from reflex.vars.base import Var LiteralButtonSize = Literal["...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/select.py
reflex/components/radix/themes/components/select.py
"""Interactive components provided by @radix-ui/themes.""" from collections.abc import Sequence from typing import ClassVar, Literal import reflex as rx from reflex.components.component import Component, ComponentNamespace from reflex.components.core.breakpoints import Responsive from reflex.components.radix.themes.b...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/radio.py
reflex/components/radix/themes/components/radio.py
"""Radio component from Radix Themes.""" from typing import Literal from reflex.components.core.breakpoints import Responsive from reflex.components.radix.themes.base import LiteralAccentColor, RadixThemesComponent from reflex.vars.base import Var class Radio(RadixThemesComponent): """A radio component.""" ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/tabs.py
reflex/components/radix/themes/components/tabs.py
"""Interactive components provided by @radix-ui/themes.""" from __future__ import annotations from typing import Any, ClassVar, Literal from reflex.components.component import Component, ComponentNamespace from reflex.components.core.breakpoints import Responsive from reflex.components.core.colors import color from ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/components/avatar.py
reflex/components/radix/themes/components/avatar.py
"""Interactive components provided by @radix-ui/themes.""" from typing import Literal from reflex.components.core.breakpoints import Responsive from reflex.components.radix.themes.base import ( LiteralAccentColor, LiteralRadius, RadixThemesComponent, ) from reflex.vars.base import Var LiteralSize = Liter...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/layout/box.py
reflex/components/radix/themes/layout/box.py
"""Declarative layout and common spacing props.""" from __future__ import annotations from reflex.components.el import elements from reflex.components.radix.themes.base import RadixThemesComponent class Box(elements.Div, RadixThemesComponent): """A fundamental layout building block, based on `div` element.""" ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/layout/center.py
reflex/components/radix/themes/layout/center.py
"""A center component.""" from __future__ import annotations from typing import Any from .flex import Flex class Center(Flex): """A center component.""" def add_style(self) -> dict[str, Any] | None: """Add style that center the content. Returns: The style of the component. ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/layout/flex.py
reflex/components/radix/themes/layout/flex.py
"""Declarative layout and common spacing props.""" from __future__ import annotations from typing import ClassVar, Literal from reflex.components.core.breakpoints import Responsive from reflex.components.el import elements from reflex.components.radix.themes.base import ( LiteralAlign, LiteralJustify, Li...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/layout/stack.py
reflex/components/radix/themes/layout/stack.py
"""Stack components.""" from __future__ import annotations from reflex.components.component import Component from reflex.components.core.breakpoints import Responsive from reflex.components.radix.themes.base import LiteralAlign, LiteralSpacing from reflex.vars.base import Var from .flex import Flex, LiteralFlexDirec...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/layout/container.py
reflex/components/radix/themes/layout/container.py
"""Declarative layout and common spacing props.""" from __future__ import annotations from typing import Literal from reflex.components.core.breakpoints import Responsive from reflex.components.el import elements from reflex.components.radix.themes.base import RadixThemesComponent from reflex.style import STACK_CHIL...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/layout/list.py
reflex/components/radix/themes/layout/list.py
"""List components.""" from __future__ import annotations from collections.abc import Iterable from typing import Any, Literal from reflex.components.component import ComponentNamespace from reflex.components.core.foreach import Foreach from reflex.components.el.elements.base import BaseHTML from reflex.components.e...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/layout/__init__.py
reflex/components/radix/themes/layout/__init__.py
"""Layout components.""" from __future__ import annotations from reflex import RADIX_THEMES_LAYOUT_MAPPING from reflex.utils import lazy_loader _SUBMOD_ATTRS: dict[str, list[str]] = { "".join(k.split("components.radix.themes.layout.")[-1]): v for k, v in RADIX_THEMES_LAYOUT_MAPPING.items() } __getattr__, _...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/layout/section.py
reflex/components/radix/themes/layout/section.py
"""Declarative layout and common spacing props.""" from __future__ import annotations from typing import Literal from reflex.components.core.breakpoints import Responsive from reflex.components.el import elements from reflex.components.radix.themes.base import RadixThemesComponent from reflex.vars.base import Litera...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/layout/grid.py
reflex/components/radix/themes/layout/grid.py
"""Declarative layout and common spacing props.""" from __future__ import annotations from typing import ClassVar, Literal from reflex.components.core.breakpoints import Responsive from reflex.components.el import elements from reflex.components.radix.themes.base import ( LiteralAlign, LiteralJustify, Li...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/layout/base.py
reflex/components/radix/themes/layout/base.py
"""Declarative layout and common spacing props.""" from __future__ import annotations from typing import Literal from reflex.components.core.breakpoints import Responsive from reflex.components.radix.themes.base import ( CommonMarginProps, CommonPaddingProps, RadixThemesComponent, ) from reflex.vars.base...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/layout/spacer.py
reflex/components/radix/themes/layout/spacer.py
"""A spacer component.""" from __future__ import annotations from typing import Any from .flex import Flex class Spacer(Flex): """A spacer component.""" def add_style(self) -> dict[str, Any] | None: """Add style to the component. Returns: The style of the component. ""...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/typography/link.py
reflex/components/radix/themes/typography/link.py
"""Components for rendering heading. https://www.radix-ui.com/themes/docs/theme/typography """ from __future__ import annotations from typing import Literal from reflex.components.component import Component, MemoizationLeaf from reflex.components.core.breakpoints import Responsive from reflex.components.core.colors...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/typography/blockquote.py
reflex/components/radix/themes/typography/blockquote.py
"""Components for rendering heading. https://www.radix-ui.com/themes/docs/theme/typography """ from __future__ import annotations from reflex.components.core.breakpoints import Responsive from reflex.components.el import elements from reflex.components.radix.themes.base import LiteralAccentColor, RadixThemesComponen...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/typography/code.py
reflex/components/radix/themes/typography/code.py
"""Components for rendering heading. https://www.radix-ui.com/themes/docs/theme/typography """ from __future__ import annotations from reflex.components.core.breakpoints import Responsive from reflex.components.el import elements from reflex.components.markdown.markdown import MarkdownComponentMap from reflex.compon...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/typography/heading.py
reflex/components/radix/themes/typography/heading.py
"""Components for rendering heading. https://www.radix-ui.com/themes/docs/theme/typography """ from __future__ import annotations from reflex.components.core.breakpoints import Responsive from reflex.components.el import elements from reflex.components.markdown.markdown import MarkdownComponentMap from reflex.compon...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/typography/__init__.py
reflex/components/radix/themes/typography/__init__.py
"""Typographic components.""" from __future__ import annotations from reflex import RADIX_THEMES_TYPOGRAPHY_MAPPING from reflex.utils import lazy_loader _SUBMOD_ATTRS: dict[str, list[str]] = { "".join(k.split("components.radix.themes.typography.")[-1]): v for k, v in RADIX_THEMES_TYPOGRAPHY_MAPPING.items() }...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/typography/text.py
reflex/components/radix/themes/typography/text.py
"""Components for rendering text. https://www.radix-ui.com/themes/docs/theme/typography """ from __future__ import annotations from typing import Literal from reflex.components.component import ComponentNamespace from reflex.components.core.breakpoints import Responsive from reflex.components.el import elements fro...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/radix/themes/typography/base.py
reflex/components/radix/themes/typography/base.py
"""Components for rendering text. https://www.radix-ui.com/themes/docs/theme/typography """ from __future__ import annotations from typing import Literal LiteralTextWeight = Literal["light", "regular", "medium", "bold"] LiteralTextAlign = Literal["left", "center", "right"] LiteralTextSize = Literal["1", "2", "3", "...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/plotly/__init__.py
reflex/components/plotly/__init__.py
"""Plotly components.""" from reflex.components.component import ComponentNamespace from .plotly import ( Plotly, PlotlyBasic, PlotlyCartesian, PlotlyFinance, PlotlyGeo, PlotlyGl2d, PlotlyGl3d, PlotlyMapbox, PlotlyStrict, ) class PlotlyNamespace(ComponentNamespace): """Plotly...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/plotly/plotly.py
reflex/components/plotly/plotly.py
"""Component for displaying a plotly graph.""" from __future__ import annotations from typing import TYPE_CHECKING, Any, TypedDict, TypeVar from reflex.components.component import Component, NoSSRComponent from reflex.components.core.cond import color_mode_cond from reflex.event import EventHandler, no_args_event_sp...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/base/fragment.py
reflex/components/base/fragment.py
"""React fragments to enable bare returns of component trees from functions.""" from reflex.components.component import Component class Fragment(Component): """A React fragment to return multiple components from a function without wrapping it in a container.""" library = "react" tag = "Fragment" fragm...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/base/strict_mode.py
reflex/components/base/strict_mode.py
"""Module for the StrictMode component.""" from reflex.components.component import Component class StrictMode(Component): """A React strict mode component to enable strict mode for its children.""" library = "react" tag = "StrictMode"
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/base/meta.py
reflex/components/base/meta.py
"""Display the title of the current page.""" from __future__ import annotations from reflex.components.base.bare import Bare from reflex.components.el import elements from reflex.components.el.elements.metadata import Meta as Meta # for compatibility from reflex.vars.base import Var class Title(elements.Title): ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/base/link.py
reflex/components/base/link.py
"""Display the title of the current page.""" from reflex.components.el.elements.base import BaseHTML from reflex.vars.base import Var class RawLink(BaseHTML): """A component that displays the title of the current page.""" tag = "link" # The href. href: Var[str] # The type of link. rel: Var...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/base/app_wrap.py
reflex/components/base/app_wrap.py
"""Top-level component that wraps the entire app.""" from reflex.components.base.fragment import Fragment from reflex.components.component import Component from reflex.vars.base import Var class AppWrap(Fragment): """Top-level component that wraps the entire app.""" @classmethod def create(cls) -> Compo...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/base/document.py
reflex/components/base/document.py
"""Document components.""" from reflex.components.component import Component class ReactRouterLib(Component): """Root document components.""" library = "react-router" class Meta(ReactRouterLib): """The document meta tags.""" tag = "Meta" class Links(ReactRouterLib): """The document link tag...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/base/error_boundary.py
reflex/components/base/error_boundary.py
"""A React Error Boundary component that catches unhandled frontend exceptions.""" from __future__ import annotations from reflex.components.component import Component from reflex.components.datadisplay.logo import svg_logo from reflex.components.el import a, button, div, h2, hr, p, pre, svg from reflex.event import ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/base/__init__.py
reflex/components/base/__init__.py
"""Base components.""" from __future__ import annotations from reflex.utils import lazy_loader _SUBMODULES: set[str] = {"app_wrap", "bare"} _SUBMOD_ATTRS: dict[str, list[str]] = { "body": ["Body"], "document": ["Scripts", "Outlet", "ScrollRestoration", "Links", "Meta"], "fragment": [ "Fragment",...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/base/body.py
reflex/components/base/body.py
"""Display the page body.""" from reflex.components.el import elements class Body(elements.Body): """A body component."""
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/base/bare.py
reflex/components/base/bare.py
"""A bare component.""" from __future__ import annotations from collections.abc import Iterator, Sequence from typing import Any from reflex.components.component import BaseComponent, Component, ComponentStyle from reflex.components.tags import Tag from reflex.components.tags.tagless import Tagless from reflex.envir...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/base/script.py
reflex/components/base/script.py
"""Wrapper for the script element. Uses the Helmet component to manage the head.""" from __future__ import annotations from reflex.components import el as elements from reflex.components.core.helmet import helmet from reflex.utils import console class Script(elements.Script): """Wrapper for the script element."...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/lucide/icon.py
reflex/components/lucide/icon.py
"""Lucide Icon component.""" from reflex.components.component import Component from reflex.utils import console, format from reflex.utils.imports import ImportVar from reflex.vars.base import LiteralVar, Var from reflex.vars.sequence import LiteralStringVar, StringVar LUCIDE_LIBRARY = "lucide-react@0.562.0" class L...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
true
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/lucide/__init__.py
reflex/components/lucide/__init__.py
"""Lucide Icon Component.""" from .icon import Icon icon = Icon.create
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/moment/moment.py
reflex/components/moment/moment.py
"""Moment component for humanized date rendering.""" import dataclasses from datetime import date, datetime, time, timedelta from reflex.components.component import NoSSRComponent from reflex.event import EventHandler, passthrough_event_spec from reflex.utils.imports import ImportDict from reflex.vars.base import Lit...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/moment/__init__.py
reflex/components/moment/__init__.py
"""Moment.js component.""" from .moment import Moment, MomentDelta moment = Moment.create
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/tags/iter_tag.py
reflex/components/tags/iter_tag.py
"""Tag to loop through a list of components.""" from __future__ import annotations import dataclasses import inspect from collections.abc import Callable, Iterable from typing import TYPE_CHECKING from reflex.components.tags.tag import Tag from reflex.utils.types import GenericType from reflex.vars import LiteralArr...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/tags/cond_tag.py
reflex/components/tags/cond_tag.py
"""Tag to conditionally render components.""" import dataclasses from collections.abc import Iterator, Mapping from typing import Any from reflex.components.tags.tag import Tag @dataclasses.dataclass(frozen=True, kw_only=True) class CondTag(Tag): """A conditional tag.""" # The condition to determine which ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/tags/tagless.py
reflex/components/tags/tagless.py
"""A tag with no tag.""" import dataclasses from reflex.components.tags import Tag from reflex.utils import format @dataclasses.dataclass(frozen=True, kw_only=True) class Tagless(Tag): """A tag with no tag.""" # The inner contents of the tag. contents: str def __str__(self) -> str: """Retu...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/tags/tag.py
reflex/components/tags/tag.py
"""A React tag.""" from __future__ import annotations import dataclasses from collections.abc import Iterator, Mapping, Sequence from typing import Any from reflex.event import EventChain from reflex.utils import format from reflex.vars.base import LiteralVar, Var def render_prop(value: Any) -> Any: """Render ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/tags/match_tag.py
reflex/components/tags/match_tag.py
"""Tag to conditionally match cases.""" import dataclasses from collections.abc import Iterator, Mapping, Sequence from typing import Any from reflex.components.tags.tag import Tag @dataclasses.dataclass(frozen=True, kw_only=True) class MatchTag(Tag): """A match tag.""" # The condition to determine which c...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/tags/__init__.py
reflex/components/tags/__init__.py
"""Representations for React tags.""" from .cond_tag import CondTag from .iter_tag import IterTag from .match_tag import MatchTag from .tag import Tag
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/sonner/__init__.py
reflex/components/sonner/__init__.py
"""Init file for the sonner component.""" from .toast import toast
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/sonner/toast.py
reflex/components/sonner/toast.py
"""Sonner toast component.""" from __future__ import annotations import dataclasses from typing import Any, Literal from reflex.components.component import Component, ComponentNamespace from reflex.components.lucide.icon import Icon from reflex.components.props import NoExtrasAllowedProps from reflex.constants.base ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/el/element.py
reflex/components/el/element.py
"""Base class definition for raw HTML elements.""" from typing import ClassVar from reflex.components.component import Component class Element(Component): """The base class for all raw HTML elements.""" _is_tag_in_global_scope: ClassVar[bool] = True def __eq__(self, other: object): """Two elem...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/el/__init__.py
reflex/components/el/__init__.py
"""The el package exports raw HTML elements.""" from __future__ import annotations from reflex.utils import lazy_loader from . import elements _SUBMODULES: set[str] = {"elements"} _SUBMOD_ATTRS: dict[str, list[str]] = { # rx.el.a is replaced by React Router's Link. f"elements.{k}": [attr for attr in attrs i...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/el/elements/scripts.py
reflex/components/el/elements/scripts.py
"""Scripts classes.""" from reflex.components.el.elements.inline import ReferrerPolicy from reflex.components.el.elements.media import CrossOrigin from reflex.vars.base import Var from .base import BaseHTML class Canvas(BaseHTML): """Display the canvas element.""" tag = "canvas" class Noscript(BaseHTML):...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/el/elements/sectioning.py
reflex/components/el/elements/sectioning.py
"""Sectioning classes.""" from .base import BaseHTML class Body(BaseHTML): """Display the body element.""" tag = "body" class Address(BaseHTML): """Display the address element.""" tag = "address" class Article(BaseHTML): """Display the article element.""" tag = "article" class Aside(...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/el/elements/metadata.py
reflex/components/el/elements/metadata.py
"""Metadata classes.""" from reflex.components.el.element import Element from reflex.components.el.elements.inline import ReferrerPolicy from reflex.components.el.elements.media import CrossOrigin from reflex.vars.base import Var from .base import BaseHTML class Base(BaseHTML): """Display the base element.""" ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/el/elements/other.py
reflex/components/el/elements/other.py
"""Other classes.""" from reflex.vars.base import Var from .base import BaseHTML class Details(BaseHTML): """Display the details element.""" tag = "details" # Indicates whether the details will be visible (expanded) to the user open: Var[bool] class Dialog(BaseHTML): """Display the dialog el...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/el/elements/__init__.py
reflex/components/el/elements/__init__.py
"""Element classes.""" from __future__ import annotations from reflex.utils import lazy_loader _MAPPING = { "forms": [ "button", "datalist", "fieldset", "form", "input", "label", "legend", "meter", "optgroup", "option", "outp...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/el/elements/inline.py
reflex/components/el/elements/inline.py
"""Inline classes.""" from typing import ClassVar, Literal from reflex.vars.base import Var from .base import BaseHTML ReferrerPolicy = Literal[ "", "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/el/elements/tables.py
reflex/components/el/elements/tables.py
"""Tables classes.""" from typing import Literal from reflex.vars.base import Var from .base import BaseHTML class Caption(BaseHTML): """Display the caption element.""" tag = "caption" class Col(BaseHTML): """Display the col element.""" tag = "col" # Number of columns the col element spans...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/el/elements/base.py
reflex/components/el/elements/base.py
"""Base classes.""" from typing import Literal from reflex.components.el.element import Element from reflex.vars.base import Var AutoCapitalize = Literal["off", "none", "on", "sentences", "words", "characters"] ContentEditable = Literal["inherit", "plaintext-only"] | bool EnterKeyHint = Literal["enter", "done", "go"...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/el/elements/typography.py
reflex/components/el/elements/typography.py
"""Typography classes.""" from typing import ClassVar, Literal from reflex.vars.base import Var from .base import BaseHTML class Blockquote(BaseHTML): """Display the blockquote element.""" tag = "blockquote" # Define the title of a work. cite: Var[str] class Dd(BaseHTML): """Display the dd ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/el/elements/media.py
reflex/components/el/elements/media.py
"""Media classes.""" from typing import Any, Literal from reflex import Component, ComponentNamespace from reflex.components.el.elements.inline import ReferrerPolicy from reflex.constants.colors import Color from reflex.vars.base import Var from .base import BaseHTML class Area(BaseHTML): """Display the area e...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/el/elements/forms.py
reflex/components/el/elements/forms.py
"""Forms classes.""" from __future__ import annotations from collections.abc import Iterator from hashlib import md5 from typing import Any, ClassVar, Literal from reflex.components.el.element import Element from reflex.components.tags.tag import Tag from reflex.constants import Dirs, EventTriggers from reflex.event...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/gridjs/datatable.py
reflex/components/gridjs/datatable.py
"""Table components.""" from __future__ import annotations from collections.abc import Sequence from typing import Any from reflex.components.component import NoSSRComponent from reflex.components.tags import Tag from reflex.utils import types from reflex.utils.imports import ImportDict from reflex.utils.serializers...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/gridjs/__init__.py
reflex/components/gridjs/__init__.py
"""Grid components.""" from .datatable import DataTable data_table = DataTable.create
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/responsive.py
reflex/components/core/responsive.py
"""Responsive components.""" from reflex.components.radix.themes.layout.box import Box # Add responsive styles shortcuts. def mobile_only(*children, **props): """Create a component that is only visible on mobile. Args: *children: The children to pass to the component. **props: The props to p...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/clipboard.py
reflex/components/core/clipboard.py
"""Global on_paste handling for Reflex app.""" from __future__ import annotations from collections.abc import Sequence from reflex.components.base.fragment import Fragment from reflex.components.tags.tag import Tag from reflex.constants.compiler import Hooks from reflex.event import EventChain, EventHandler, passthr...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/auto_scroll.py
reflex/components/core/auto_scroll.py
"""A component that automatically scrolls to the bottom when new content is added.""" from __future__ import annotations import dataclasses from reflex.components.el.elements.typography import Div from reflex.constants.compiler import MemoizationDisposition, MemoizationMode from reflex.utils.imports import ImportDic...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/html.py
reflex/components/core/html.py
"""A html component.""" from reflex.components.el.elements.typography import Div from reflex.vars.base import Var class Html(Div): """Render the html. Returns: The code to render the html component. """ # The HTML to render. dangerouslySetInnerHTML: Var[dict[str, str]] # noqa: N815 ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/upload.py
reflex/components/core/upload.py
"""A file upload component.""" from __future__ import annotations from collections.abc import Callable, Sequence from pathlib import Path from typing import Any, ClassVar from reflex.app import UploadFile from reflex.components.base.fragment import Fragment from reflex.components.component import ( Component, ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/banner.py
reflex/components/core/banner.py
"""Banner components.""" from __future__ import annotations from reflex import constants from reflex.components.base.fragment import Fragment from reflex.components.component import Component from reflex.components.core.cond import cond from reflex.components.el.elements.typography import Div from reflex.components.l...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/window_events.py
reflex/components/core/window_events.py
"""Window event listener component for Reflex.""" from __future__ import annotations from typing import Any, cast import reflex as rx from reflex.components.base.fragment import Fragment from reflex.components.component import StatefulComponent, field from reflex.constants.compiler import Hooks from reflex.event imp...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/helmet.py
reflex/components/core/helmet.py
"""Helmet component module.""" from reflex.components.component import Component class Helmet(Component): """A helmet component.""" library = "react-helmet@6.1.0" tag = "Helmet" helmet = Helmet.create
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/debounce.py
reflex/components/core/debounce.py
"""Wrapper around react-debounce-input.""" from __future__ import annotations from typing import Any from reflex.components.component import Component from reflex.constants import EventTriggers from reflex.event import EventHandler, no_args_event_spec from reflex.vars import VarData from reflex.vars.base import Var ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/breakpoints.py
reflex/components/core/breakpoints.py
"""Breakpoints utility.""" from __future__ import annotations from typing import TypeVar breakpoints_values = ["30em", "48em", "62em", "80em", "96em"] breakpoint_names = ["xs", "sm", "md", "lg", "xl"] def set_breakpoints(values: tuple[str, str, str, str, str]): """Overwrite default breakpoint values. Args...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/__init__.py
reflex/components/core/__init__.py
"""Core Reflex components.""" from __future__ import annotations from reflex.utils import lazy_loader _SUBMODULES: set[str] = {"layout"} _SUBMOD_ATTRS: dict[str, list[str]] = { "banner": [ "ConnectionBanner", "ConnectionModal", "ConnectionPulser", "ConnectionToaster", "co...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/cond.py
reflex/components/core/cond.py
"""Create a list of components from an iterable.""" from __future__ import annotations from typing import Any, overload from reflex.components.base.fragment import Fragment from reflex.components.component import BaseComponent, Component from reflex.components.tags import CondTag, Tag from reflex.constants import Di...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/foreach.py
reflex/components/core/foreach.py
"""Create a list of components from an iterable.""" from __future__ import annotations import functools import inspect from collections.abc import Callable, Iterable from hashlib import md5 from typing import Any from reflex.components.base.fragment import Fragment from reflex.components.component import Component, ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/match.py
reflex/components/core/match.py
"""rx.match.""" import textwrap from typing import Any, cast from reflex.components.base import Fragment from reflex.components.component import BaseComponent, Component, MemoizationLeaf, field from reflex.components.tags import Tag from reflex.components.tags.match_tag import MatchTag from reflex.style import Style ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/sticky.py
reflex/components/core/sticky.py
"""Components for displaying the Reflex sticky logo.""" from reflex.components.component import ComponentNamespace from reflex.components.core.colors import color from reflex.components.core.cond import color_mode_cond from reflex.components.core.responsive import desktop_only from reflex.components.el.elements.inline...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/colors.py
reflex/components/core/colors.py
"""The colors used in Reflex are a wrapper around https://www.radix-ui.com/colors.""" from reflex.constants.base import REFLEX_VAR_OPENING_TAG from reflex.constants.colors import ( COLORS, MAX_SHADE_VALUE, MIN_SHADE_VALUE, Color, ColorType, ShadeType, ) from reflex.vars.base import Var def co...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/core/layout/__init__.py
reflex/components/core/layout/__init__.py
"""Core layout components."""
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/datadisplay/dataeditor.py
reflex/components/datadisplay/dataeditor.py
"""Data Editor component from glide-data-grid.""" from __future__ import annotations import dataclasses from collections.abc import Mapping, Sequence from enum import Enum from typing import Any, Literal, TypedDict from reflex.components.component import Component, NoSSRComponent from reflex.components.literals impo...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/datadisplay/logo.py
reflex/components/datadisplay/logo.py
"""A Reflex logo component.""" import reflex as rx SVG_COLOR = rx.color_mode_cond("#110F1F", "white") def svg_logo(color: str | rx.Var[str] = SVG_COLOR, **props): """A Reflex logo SVG. Args: color: The color of the logo. props: Extra props to pass to the svg component. Returns: ...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/datadisplay/shiki_code_block.py
reflex/components/datadisplay/shiki_code_block.py
"""Shiki syntax hghlighter component.""" from __future__ import annotations import dataclasses import re from collections import defaultdict from dataclasses import dataclass from typing import Any, Literal from reflex.components.component import Component, ComponentNamespace, field from reflex.components.core.color...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/datadisplay/code.py
reflex/components/datadisplay/code.py
"""A code component.""" from __future__ import annotations import dataclasses from typing import ClassVar, Literal from reflex.components.component import Component, ComponentNamespace, field from reflex.components.core.cond import color_mode_cond from reflex.components.lucide.icon import Icon from reflex.components...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false
reflex-dev/reflex
https://github.com/reflex-dev/reflex/blob/5b3aa272183504eae277ef61f72c162d72a290a5/reflex/components/datadisplay/__init__.py
reflex/components/datadisplay/__init__.py
"""Data grid components.""" from __future__ import annotations from reflex.utils import lazy_loader _SUBMOD_ATTRS: dict[str, list[str]] = { "code": [ "CodeBlock", "code_block", "LiteralCodeLanguage", ], "dataeditor": ["data_editor", "data_editor_theme", "DataEditorTheme"], "lo...
python
Apache-2.0
5b3aa272183504eae277ef61f72c162d72a290a5
2026-01-04T14:43:58.087685Z
false