Styling
Easily customize Elemnts UI components using Panda CSS, recipes, or popular libraries like Tailwind CSS.
Elemnts UI leverages Panda CSS to provide a flexible and type-safe approach to styling components directly within your JSX.
Quick Styling with Style Props
Style props let you apply CSS properties directly to components. Elemnts UI includes a styled factory that enables these props on any HTML element.
Styled Factory
The styled function helps you create reusable components with built-in styles or complex recipes.
Adding Default Styles
Define base styles for any component, such as links or buttons.
Creating Component Variants
Recipes allow you to define multiple visual styles for a component, such as cards or buttons.
Styling Interactive States
Panda CSS makes it easy to style components based on their state (hover, active, dark mode, etc.) using condition-based props.
Removing Default Styles
All Elemnts UI components support the unstyled prop. Setting it to true removes all default styles, allowing you to apply your own CSS or use a utility framework like Tailwind.
Tailwind CSS Support
Elemnts UI components seamlessly integrate with Tailwind CSS when using the unstyled prop and className.
Slot Recipes
For complex components like Accordions or Tabs, Elemnts UI uses Slot Recipes to define styles for each internal part in a single configuration.

