Happeo UIkit logo
Components
Home
Packages
AlertsAvatarBannersBreadcrumbsButtonsButtonsDS3CardColor PickerColorsContent RendererEmojisFile IconFile PickerForm ElementsIcons AppIcons FileIcons FlagIcons LegacyIcons SymbolImage CarouselImage CropperImage GridLayoutListLoadersMenusModalsNavigationThemeColorsBorder radius (rounded rectangles)LinesShadowsAnimationsToastTypography

Theme

Colors

(hardcoded styles)
(css variables)
(object chaining - light mode)
(object chaining - dark mode)
Old colors:
New colors (Design System 3):

Border radius (rounded rectangles)

radius-sharp

radius-sm

radius-md

radius-lg

Lines

Each line has its own component <Line300 />, <Line400 />, <Line600 />.

Line300

Line400

Line600

Shadows

shadow200 old

shadow300 old

shadow400 old

shadow500 old

shadow100 old

shadow100 new

shadow200 new

shadow300 new

shadow400 new

shadow300 new

shadow200 old

shadow300 old

shadow400 old

shadow500 old

shadow100 old

shadow100 new

shadow200 new

shadow300 new

shadow400 new

shadow300 new

Animations

Animations have three parameters: easing, duration, and keyframes.

Easing is linear by default (if unspecified), but usually we want it to be smoother and nicer, so we use e.g. --animatino-easing-ease-out. Duration is usually less than one second - you can use e.g. --animation-duration-fast-lg. Keyframes really depend on your animation goal, but we have several reusable ones, e.g. animationKeyframes.dropFade. Note that the keyframes can't be used as CSS variables, you'll need to import them.

Example:

export const ElementDropFade = styled.div`
margin: var(--space-md);
width: var(--space-xxl);
height: var(--space-xxl);
border-radius: var(--radius-md);
background-color: green;
animation: ${animationKeyframes.dropFade} var(--animation-duration-fast-lg) var(--animation-easing-ease-out) infinite;
`;

Examples of all animation constants:

(default props here: keyframes = dropFade, duration = slowMd, easing = easeIn)
Keyframes
dropFade
fadeInAndTranslateUp
fadeOutAndTranslateDown
fadeInOut
fadeIn
fadeOut
scaleAndFadeIn
scaleAndFadeOut
bounce
translateUp
translateDown
pulseHighlight
Duration
fastXs
fastSm
fastMd
fastLg
fastXl
normalXs
normalSm
normalMd
normalLg
normalXl
slowXxs
slowXs
slowSm
slowMd
slowLg
slowXl
slowXxl
Easing
easeInOut
easeOut
easeIn
sharp
linear