We use cookies to ensure you get the best experience on our website. Read our privacy policy

Skip to main content

Directory

Select Native Component

The Select Native component provides a styled native select element for forms, offering the perfect balance between customization and native functionality. Built with accessibility in mind, it includes support for labels, required fields, and various sizes.

  • Check Circle

    Native Functionality: Uses the browser’s native select behavior

  • Check Circle

    Custom Styling: Tailwind-based design system integration

  • Check Circle

    Accessibility: Built-in ARIA support and keyboard navigation

  • Check Circle

    Form Integration: Seamless form data handling

  • The Select Native component does not support multiple selection.
  • The Select Native component does not support custom icons.
  • The Select Native component does not support significant custom styling of the options.

If these are an issue, please consider using the Select component instead. It offers more flexibility and customization options.

Create a simple select dropdown:

<Select
options={[
{ value: "option1", title: "First Option" },
{ value: "option2", title: "Second Option" },
{ value: "option3", title: "Third Option" }
]}
/>
Small
Medium
Default
Large
Choose a Color*
Advanced Example
Select Native Component Props Extends <select> HTMLElement
Prop Type Default Description
label string Label text for the select
options Option[] [] Array of selectable options
selectSize sm | md | default | lg default Size variant
variant default default Visual style variant

Limited Time Launch Sale

Build better forms with our native Select component.

GET 60% OFF!
North Star Themes Logo

Subscribe to our newsletter

Get the latest AstroJS tips and tricks right to your inbox

Email: [email protected]

© 2025 North Star Themes

Web Kit Provided By North Star Themes