1. Getting Started
To install Gemini UI run the following command
npm i @gemini-ui-astro/components
yarn add @gemini-ui-astro/components
Setup
Most Gemini UI components adhere to configuration values set by a global Styles
object. This should be included in each page where you are using Gemini UI components. One way to do this is to create a layout component that includes the Styles
object and wrap your pages with it.
For more information about the Styles
object, see the Styles API.
Basic Usage
After installation, you can import any Gemini UI component and start playing around. For example, try changing the dynamicGlow
on the Card to see how the style changes:
Dynamic Glow
The dynamicGlow
prop is available on many Gemini UI components and adds a dynamic glow effect to the component. This is a great way to make your site feel more interactive and engaging.
To enable usage of the dynamicGlow
prop, add the DynamicGlow
component to pages where you are using Gemini UI components. For example, this could be added to a layout component:
This prop can then be used as follows: