interface Pseudos {
    _active: string;
    _activeLink: string;
    _activeStep: string;
    _after: string;
    _autofill: string;
    _before: string;
    _checked: string;
    _dark: string;
    _disabled: string;
    _empty: string;
    _even: string;
    _expanded: string;
    _first: string;
    _firstLetter: string;
    _focus: string;
    _focusVisible: string;
    _focusWithin: string;
    _fullScreen: string;
    _grabbed: string;
    _groupActive: string;
    _groupChecked: string;
    _groupDisabled: string;
    _groupFocus: string;
    _groupFocusVisible: string;
    _groupFocusWithin: string;
    _groupHover: string;
    _groupInvalid: string;
    _hidden: string;
    _highlighted: string;
    _horizontal: string;
    _hover: string;
    _indeterminate: string;
    _invalid: string;
    _last: string;
    _light: string;
    _loading: string;
    _ltr: string;
    _mediaDark: string;
    _mediaReduceMotion: string;
    _notFirst: string;
    _notLast: string;
    _odd: string;
    _peerActive: string;
    _peerChecked: string;
    _peerDisabled: string;
    _peerFocus: string;
    _peerFocusVisible: string;
    _peerFocusWithin: string;
    _peerHover: string;
    _peerInvalid: string;
    _peerPlaceholderShown: string;
    _placeholder: string;
    _placeholderShown: string;
    _pressed: string;
    _readOnly: string;
    _rtl: string;
    _selected: string;
    _selection: string;
    _valid: string;
    _vertical: string;
    _visited: string;
}

Properties

_active: string

Styles for CSS Selector &:active

_activeLink: string

Used to style the active link in a navigation Styles for CSS Selector &[aria-current=page]

_activeStep: string

Used to style the current step within a process Styles for CSS Selector &[aria-current=step]

_after: string

Styles for CSS selector &::after

NOTE:When using this, ensure the content is wrapped in a backtick.

Example

<Box _after={{content:`""` }}/>
_autofill: string

Styles for CSS Selector &:-webkit-autofill

_before: string

Styles for CSS selector &::before

NOTE:When using this, ensure the content is wrapped in a backtick.

Example

<Box _before={{content:`""` }}/>
_checked: string

Styles to apply when the ARIA attribute aria-checked is true

  • CSS selector &[aria-checked=true]
_dark: string

Styles for when data-theme is applied to any parent of this component or element.

_disabled: string

Styles to apply when this element is disabled. The passed styles are applied to these CSS selectors:

  • &[aria-disabled=true]
  • &:disabled
  • &[data-disabled]
  • &[disabled]
_empty: string

Styles for CSS selector &:empty

_even: string

Styles for CSS Selector &:nth-child(even)

_expanded: string

Styles to apply when the ARIA attribute aria-expanded is true

  • CSS selector &[aria-expanded=true]
_first: string

Styles for CSS Selector &:first-of-type

_firstLetter: string

Styles for CSS selector &::first-letter

NOTE: This selector is only applied for block-level elements and not preceded by an image or table.

Example

<Text _firstLetter={{ textDecoration: 'underline' }}>Once upon a time</Text>
_focus: string

Styles for CSS selector &:focus

_focusVisible: string

Styles to apply when this element has received focus via tabbing

  • CSS Selector &:focus-visible
_focusWithin: string

Styles to apply when a child of this element has received focus

  • CSS Selector &:focus-within
_fullScreen: string

Styles for CSS Selector &:fullscreen.

_grabbed: string

Styles to apply when the ARIA attribute aria-grabbed is true

  • CSS selector &[aria-grabbed=true]
_groupActive: string

Styles to apply when a parent element with .group, data-group or role=group is active

_groupChecked: string

Styles to apply when a parent element with .group, data-group or role=group is checked

_groupDisabled: string

Styles to apply when a parent element with .group, data-group or role=group is disabled

_groupFocus: string

Styles to apply when a parent element with .group, data-group or role=group is focused

_groupFocusVisible: string

Styles to apply when a parent element with .group, data-group or role=group has visible focus

_groupFocusWithin: string

Styles to apply when a parent element with .group, data-group or role=group has focus within

_groupHover: string

Styles to apply when a parent element with .group, data-group or role=group is hovered

_groupInvalid: string

Styles to apply when a parent element with .group, data-group or role=group is invalid

_hidden: string

Styles for CSS Selector [hidden=true]

_highlighted: string

Styles for the highlighted state.

_horizontal: string

Styles for the CSS Selector &[data-orientation=horizontal]

_hover: string

Styles for CSS selector &:hover

_indeterminate: string

Styles to apply when the ARIA attribute aria-checked is mixed

  • CSS selector &[aria-checked=mixed]
_invalid: string

Styles to apply when the ARIA attribute aria-invalid is true

  • CSS selector &[aria-invalid=true]
_last: string

Styles for CSS Selector &:last-of-type

_light: string

Styles for when data-theme is applied to any parent of this component or element.

_loading: string

Styles for CSS Selector &[aria-busy=true] or &[data-loading=true]. Useful for styling loading states

_ltr: string

Styles for CSS Selector [dir=ltr] & It is applied when a parent element or this element has dir="ltr"

_mediaDark: string

Styles for CSS Selector @media (prefers-color-scheme: dark) It is used when the user has requested the system use a light or dark color theme.

_mediaReduceMotion: string

Styles for CSS Selector @media (prefers-reduced-motion: reduce) It is used when the user has requested the system to reduce the amount of animations.

_notFirst: string

Styles for CSS Selector &:not(:first-of-type)

_notLast: string

Styles for CSS Selector &:not(:last-of-type)

_odd: string

Styles for CSS Selector &:nth-child(odd)

_peerActive: string

Styles to apply when a sibling element with .peer or data-peer is active

_peerChecked: string

Styles to apply when a sibling element with .peer or data-peer is checked

_peerDisabled: string

Styles to apply when a sibling element with .peer or data-peer is disabled

_peerFocus: string

Styles to apply when a sibling element with .peer or data-peer is focused

_peerFocusVisible: string

Styles to apply when a sibling element with .peeror data-peer has visible focus

_peerFocusWithin: string

Styles to apply when a sibling element with .peer or data-peer has focus within

_peerHover: string

Styles to apply when a sibling element with .peer or data-peer is hovered

_peerInvalid: string

Styles to apply when a sibling element with .peer or data-peer is invalid

_peerPlaceholderShown: string

Styles to apply when a sibling element with .peer or data-peer has placeholder shown

_placeholder: string

Styles for CSS Selector &::placeholder.

_placeholderShown: string

Styles for CSS Selector &:placeholder-shown.

_pressed: string

Styles for CSS Selector &[aria-pressed=true] Typically used to style the current "pressed" state of toggle buttons

_readOnly: string

Styles for CSS Selector &:readonly

_rtl: string

Styles for CSS Selector [dir=rtl] & It is applied when a parent element or this element has dir="rtl"

_selected: string

Styles to apply when the ARIA attribute aria-selected is true

  • CSS selector &[aria-selected=true]
_selection: string

Styles for CSS Selector &::selection

_valid: string

Styles for the valid state

  • CSS selector &[data-valid], &[data-state=valid]
_vertical: string

Styles for the CSS Selector &[data-orientation=vertical]

_visited: string

Styles for CSS Selector &:visited

Generated using TypeDoc