Documentation
¶
Overview ¶
Package card contains Material 3 Card components.
Reference: [Cards](https://m3.material.io/components/cards/overview) Specs: [Cards Specs](https://m3.material.io/components/cards/specs)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CardChild ¶
type CardChild struct {
// contains filtered or unexported fields
}
func Content ¶
func Content(composable Composable) *CardChild
func ContentCover ¶
func ContentCover(composable Composable) *CardChild
type CardContentContainer ¶
type CardContentContainer struct {
// contains filtered or unexported fields
}
func CardContents ¶
func CardContents(children ...*CardChild) CardContentContainer
type CardContentType ¶
type CardContentType int
const ( CardContent CardContentType = iota CardContentCover )
type CardOption ¶
type CardOption func(o *CardOptions)
func WithModifier ¶
func WithModifier(m ui.Modifier) CardOption
type CardOptions ¶
func DefaultCardOptions ¶
func DefaultCardOptions() CardOptions
type Composable ¶
type Composable = api.Composable
func Elevated ¶
func Elevated(contents CardContentContainer, options ...CardOption) Composable
func Filled ¶
func Filled(contents CardContentContainer, options ...CardOption) Composable
func Outlined ¶
func Outlined(contents CardContentContainer, options ...CardOption) Composable
type MutableValue ¶
type MutableValue = state.MutableValue
Click to show internal directories.
Click to hide internal directories.